Commit c9267f8c authored by Dave Kliczbor's avatar Dave Kliczbor
Browse files

Small Bugfix in headline handling, new example signs

parent dfacc6cb
{"pdfname": "GenericEvent42-1331353749.schild.pdf", "img": "pictograms-nps-misc-camera.png", "headline": "Generic\r\nEvent42", "text": "Man kann Wiki-Syntax benutzen.\r\n\r\n* Zum Beispiel f\u00fcr\r\n\r\n* Bullet Lists", "markup": "latex", "reusefilename": "on", "textemplate": "image-left_bothtext-right.tex", "filename": "GenericEvent42-1331353749.schild"}
\ No newline at end of file
{"pdfname": "GenericEvent42-306092239.schild.pdf", "img": "pictograms-nps-misc-camera.png", "headline": "GenericEvent42", "text": "Willkommen zum GenericEvent42!", "markup": "latex", "reusefilename": "on", "textemplate": "headline-top_image-left_text-right.tex", "filename": "GenericEvent42-306092239.schild"}
\ No newline at end of file
{"pdfname": "Generic_Event_42897947894.schild.pdf", "img": "pictograms-nps-parking-2.png", "headline": "GenericEvent42", "text": "", "markup": "rst", "reusefilename": "on", "textemplate": "headline-top_arrowup_image-right.tex", "filename": "Generic_Event_42897947894.schild"}
\ No newline at end of file
{"headline": "Headline", "text": "Additional text.", "pdfname": "Headline-417648766.schild.pdf", "img": "pictograms-nps-showers.png", "textemplate": "headline-top_arrowup_image-right.tex"}
\ No newline at end of file
{"headline": "Headline", "text": "Additional text.", "pdfname": "Headline1053846357.schild.pdf", "img": "__none", "textemplate": "headline-top_arrowright_text-right.tex"}
\ No newline at end of file
{"headline": "Headline", "text": "Additional text.", "pdfname": "Headline2075177871.schild.pdf", "img": "pictograms-nps-showers.png", "textemplate": "headline-top_arrowup_text-right.tex"}
\ No newline at end of file
...@@ -88,7 +88,7 @@ def run_pdflatex(context, outputfilename, overwrite=True): ...@@ -88,7 +88,7 @@ def run_pdflatex(context, outputfilename, overwrite=True):
return return
if context['markup'] == 'rst': if context['markup'] == 'rst':
context['text'] = publish_parts(context['text'], writer_name='latex')['body'] context['text'] = publish_parts(context['text'], writer_name='latex')['body']
context['headline'] = publish_parts(context['headline'], writer_name='latex')['body'] #context['headline'] = publish_parts(context['headline'], writer_name='latex')['body']
tmpdir = tempfile.mkdtemp(dir=config.tmpdir) tmpdir = tempfile.mkdtemp(dir=config.tmpdir)
if context.has_key('img') and context['img'] and context['img'] != '__none': if context.has_key('img') and context['img'] and context['img'] != '__none':
try: try:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment