[dev-context] An Idea for the garden
Aditya Mahajan
adityam at umich.edu
Sat Oct 14 02:22:26 CEST 2006
On Fri, 13 Oct 2006, Patrick Gundlach wrote:
> Hi Aditya,
>
>> Occasionally, while browsing sources at source.contextgarden.net, I
>> feel the need of seeing the pdf copy of that file. I wonder how
>> difficult will it be to add a link, say "View pdf" with each file
>> listing, so that if I click that link, I see the output of
>>
>> texexec --module filename.tex
>
> Well, from what is available now, it is still a very big step. But
> I'll write this feature request down and when I've got too much
> time.... Until then, please generate those by yourself (but now I
> start thinking on it, I could generate the files with a script and
> just create this link ... just thinking aloud).
>
> OK, its a nice idea and it shouldn't be too hard.
I was playing around with a script, some observations. Some Context
files do not compile, I will make a list of them and see how they can
be corrected. The new mkii and mkiv means that the script needs to be
more intelligent than a simple
for FILE in *.*
do
texmfstart texexec --module $FILE ;
done;
If the file ends in mkii, you need to add --result $FILE-mkii.pdf (or
something like that)
Wasn't there a project somewhere with the compiled pdf of all sources?
Aditya
More information about the dev-context
mailing list