Update code syntax highlighting styles

This commit is contained in:
Oliver Davies 2021-02-06 18:55:53 +00:00
parent fdd5b3138f
commit a5bee4685a
6 changed files with 39 additions and 13 deletions

View file

@ -47,6 +47,11 @@ pageTemplates:
linkColor: #24608a
fontsAlias:
stdMono: Inconsolata-Regular
stdMonoBold: Inconsolata-Regular
stdMonoItalic: Inconsolata-Regular
styles:
normal:
fontSize: 24
@ -91,11 +96,11 @@ styles:
spaceBefore: 0
literal:
backColor: #eeeeee
backColor: white
fontName: stdMono
code:
backColor: #eeeeee
backColor: white
borderWidth: 0
fontSize: 20
leading: 24

View file

@ -47,6 +47,11 @@ pageTemplates:
linkColor: #24608a
fontsAlias:
stdMono: Inconsolata-Regular
stdMonoBold: Inconsolata-Regular
stdMonoItalic: Inconsolata-Regular
styles:
normal:
fontSize: 24
@ -91,11 +96,11 @@ styles:
spaceBefore: 0
literal:
backColor: #eeeeee
backColor: white
fontName: stdMono
code:
backColor: #eeeeee
backColor: white
borderWidth: 0
fontSize: 20
leading: 24

View file

@ -47,6 +47,11 @@ pageTemplates:
linkColor: #24608a
fontsAlias:
stdMono: Inconsolata-Regular
stdMonoBold: Inconsolata-Regular
stdMonoItalic: Inconsolata-Regular
styles:
normal:
fontSize: 24
@ -93,11 +98,11 @@ styles:
spaceBefore: 0
literal:
backColor: #eeeeee
backColor: white
fontName: stdMono
code:
backColor: #eeeeee
backColor: white
borderWidth: 0
fontSize: 20
leading: 24

View file

@ -40,6 +40,11 @@ pageTemplates:
linkColor: #24608a
fontsAlias:
stdMono: Inconsolata-Regular
stdMonoBold: Inconsolata-Regular
stdMonoItalic: Inconsolata-Regular
styles:
normal:
fontSize: 28
@ -88,11 +93,11 @@ styles:
spaceBefore: 0
literal:
backColor: #eeeeee
backColor: white
fontName: stdMono
code:
backColor: #eeeeee
backColor: white
borderWidth: 0
fontSize: 24
parent: literal

View file

@ -47,6 +47,11 @@ pageTemplates:
linkColor: #24608a
fontsAlias:
stdMono: Inconsolata-Regular
stdMonoBold: Inconsolata-Regular
stdMonoItalic: Inconsolata-Regular
styles:
normal:
fontSize: 24
@ -91,11 +96,11 @@ styles:
spaceBefore: 0
literal:
backColor: #eeeeee
backColor: white
fontName: stdMono
code:
backColor: #eeeeee
backColor: white
borderWidth: 0
fontSize: 20
leading: 24
@ -124,4 +129,4 @@ styles:
text-lg:
parent: bodytext
fontSize: 150%
fontSize: 150%

View file

@ -6,10 +6,11 @@ attributes:
command: |
= 'rst2pdf ' ~ @('rst2pdf.filename.rst') ~ '
--break-level 1
--stylesheets main
--stylesheets main,tango
--fit-background-mode scale
--extension-module preprocess
--output ' ~ @('rst2pdf.filename.pdf')
--output ' ~ @('rst2pdf.filename.pdf') ~ '
--font-path ~/.local/share/fonts'
filename:
pdf: slides.pdf
rst: slides.rst