[scribus] designing instructional posters on code/programming -- lots of syntax highlighting

Gregory Pittman gpittman at iglou.com
Sat Jan 7 17:20:05 UTC 2017


On 01/06/2017 02:51 PM, Lars Behrens wrote:
> Am 06.01.2017 um 15:56 schrieb Gregory Pittman:
> 
>> Maybe you might explain the process so that we might have something on
>> the wiki about this. Having done a few things with Render frames, I know
> 
> Yes, sure.  Glad if I can help.
> 
> Short instruction:
> 
> As I am no LaTeX hero myself, I just did an internet search "latex
> syntax highlighting" which made me find this page:
> 
> https://www.overleaf.com/latex/examples/syntax-highlighting-in-latex-with-the-listings-package/jxnppmxxvsvk
> 

Thanks to Lars, I was able to slave my way through this last night (and
slaving it was!), and today made a wiki page outlining the process using
a Python script as an example:

https://wiki.scribus.net/canvas/Render_frames_and_the_LaTeX_listings_package

Using LaTeX and render frames for this is a LOT of work unless you have
an excellent understanding of LaTeX to begin with. Even so, as the
screenshots show, it's not clear to me that the render frame method is
worthwhile. One might even question how much we need render frames given
the ability to import PDFs as vectors in 1.5.x versions.

Greg



More information about the scribus mailing list