* Creating documentation from source-files
@ 2011-02-17 16:56 Willi Egger
2011-02-17 17:20 ` Wolfgang Schuster
0 siblings, 1 reply; 2+ messages in thread
From: Willi Egger @ 2011-02-17 16:56 UTC (permalink / raw)
To: NTG-Context ConTeXt users
[-- Attachment #1: Type: text/plain, Size: 700 bytes --]
Hi,
I do still struggle with the creation of documentation derived from a source file.
I tis quite difficult to nail down the hicking point. When I run context --ctx=s-mod test.tex
I get the following error:
pages > flushing realpage 4, userpage 2
structure > sectioning > subject @ level 3 : 0.0.0 -> Introduction
.Error: PDF file is damaged - attempting to reconstruct xref table...
Error: Couldn't find trailer dictionary
Error: Couldn't read xref table
!LuaTeX error: xpdf: reading PDF image failed
I do not know where to look...
The file test.run looks normal
The file test.tex.prep looks normal
Please refer to the test.tex file for testing.
Willi
[-- Attachment #2: test.tex --]
[-- Type: application/octet-stream, Size: 1541 bytes --]
%D \module
%D [ file=t-pocketdiary,
%D version=2010.11.16,
%D title=\CONTEXT\ User Module,
%D subtitle=PocketDiary,
%D author=Willi Egger,
%D date=\currentdate,
%D copyright=Willi Egger,
%D email=w.egger@boede.nl,
%D license=Public Domain]
\startmodule[pocketdiary]
%D \subject{Introduction}
%D
%D It is already some time ago, that my brother Heinz asked me to prepare him a special page-arrangement scheme.
%D This scheme is suitable to form a section with a single-sided printed sheet of paper. He wanted to use it
%D for special kind of greeting-cards. By coincidence I detected an article by U. Ziegenhagen in de \TEX nische
%D Kommödie nr. 3/2010. This article deals with the preparation of a PocketMod, which is a personal organizer
%D based on the mentioned arranging scheme. In the article there is also a link mentioned to an online
%D version of the PocketMod.
%D -- After reading the article and visiting the web-site I got
%D intrigued by the fact, that \CONTEXT\ has built in arranging capabilities and due to the \LUATEX\ engine it
%D should be possible to build such a personal organizer in \CONTEXT.
%D
%D The result is contained in this module. I would like to thank Hans Hagen and Taco Hoekwater for the great
%D
\setvariables
[PocketDiaryColors]
[Separatorline=red,
Gridline={s=.75}]
%D \placefigure
%D [middle]
%D []
%D {Figure from Buffer}
%D {\externalfigure[Test][type=buffer,width=.5\textwidth]}
\stopmodule
[-- Attachment #3: Type: text/plain, Size: 486 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Creating documentation from source-files
2011-02-17 16:56 Creating documentation from source-files Willi Egger
@ 2011-02-17 17:20 ` Wolfgang Schuster
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2011-02-17 17:20 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 17.02.2011 um 17:56 schrieb Willi Egger:
> Hi,
>
> I do still struggle with the creation of documentation derived from a source file.
> I tis quite difficult to nail down the hicking point.
It’s very easy to produce a minimal example, this fails
\starttext
\externalfigure[Test]
\stoptext
while this works
\starttext
\externalfigure[test]
\stoptext
The name of my test document for both example is “test.tex”
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-17 17:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-17 16:56 Creating documentation from source-files Willi Egger
2011-02-17 17:20 ` Wolfgang Schuster
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).