> Could you consider putting this in the Wiki? Of course!
Christian, since you seem to be the wiki-wizard, where (and how, what format) should I put it? I will most likely add more stuff to my document in the future. Gunnar. On Thursday 29 March 2007 10:39, Abdelrazak Younes wrote: > Gunnar Lindholm wrote: > >> I know that this has 'been done' but I'm not sure how to go about it > >> myself. I would like to link to an external source code file and 'pull > >> it in' to my compiled document when I use pdflatex. I would like to > >> apply source code highlighting, although that's not essential (the > >> language I'm using is not one that is supported by any of the tools). > > > > What language? Highlight manages over 120 of them. > > > >> I worked out how to import external code, but not how to maintain a > >> link. Do I need to use ERT? Can LyX be set to use 'highlight' on-the-fly > >> as for graphics formats, or must I prepare the latex by hand? > > > > Here are how I do it. When setup, it works automatically. > > > > http://www.taljaren.se/MinLyXTutorial.html > > (same as pdf) http://www.taljaren.se/MinLyXTutorial.pdf
