Hi
From time to time there is a question on the mailing list about a
paper doc for latex.
As exercise to discover streams, I made a first attempt to write a
latex output for doc. It's a modified version of help.html vocab.
You can found it in the latex directory on
git://github.com/Bigot/work-bgt.git
Useful words are in latex.help :
- cookbook>latex ( -- ) to generate a cookbook tex file
- word-help>latex ( word -- )
- vocab>latex
I also tried a generate-latex-doc word but my factor gets very slow
after having generated 17500 files. My idea was to use \input
{subfile} in a main latex document to concat needed pages.
I still have several difficulties
- I don't know how to handle stream-nl in order to avoid unwanted
line break after commands
- in each help page there are two "title-style" elements, a block
included in a span. I have no nice solution to keep only one, I
decided to add a $tex-plain-span symbol in stylesheet.
- I don't know the best way to add color to factor code.
- Is it better to use LGRIND package ? is anyone already used it ?
- or is it better to write a factor word to parse code ?
For the next step I will add refs in order to build an index and
allow hypertext navigation in pdf file.
I rarely use latex so I'm interested by any feedback and advice.
I hope it will be useful.
Jeff
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk