I have figured out that there is a way to print out the
internal documentation of the various Context modules in a
manner that makes some sense. I first use grep to extract
all the %D lines of a module into a separate file e.g.,
foo.tex. Then I eliminate the %D tag from all lines using
Vim. I add \starttext and \stoptext statements. Then I run
texexec --pdf foo.tex.
The result is imperfect but more or less intelligible. It
seems to me that there might be a script buried somewhare
in …
[View More]the system that does this better. If so, what is it
called?
--
John Culleton
Able Typesetters and Indexers
http://wexfordpress.com
[View Less]
Hello all!
I have been using Context only recently. I need to import eps images into
the documents(a lot of them). Despite running texutil and setting the path
for Ghost Script, I am getting only blank eps images or gray boxes in the
pdf. Is there a driver that I need to do the conversion from eps to pdf ?
I am able to import jpg images. Do I have to convert the eps images to pdf
externally and then import them using context tags?
I have been stuck on this problem for amonth now.Help please!
…
[View More]Thanks and regards,
-priya.
[View Less]
Hello,
the following example does not work if the text in the
\FrameTitle{Blockflötenspielen} contains special characters like öäßé etc.
Has someone a solution for this problem?
Thanks a lot,
Helmut
***********************************************************
\mainlanguage[de]
\language[de]
\enableregime[windows]
\setuppapersize[a4][a4]
\setupoutput[pdftex]
\pdfcompresslevel=0
\runMPgraphicstrue
\setupcolors[state=start]
\startuseMPgraphic{FunnyFrame}
picture p; numeric w, h, o;
p:=…
[View More]textext.rt(\MPstring{FunnyFrame});
w:=OverlayWidth; h:=OverlayHeight; o:=BodyFontSize;
p:=p shifted (2o,h-ypart center p); draw p;
drawoptions (withpen pencircle scaled 1pt withcolor .625blue);
draw (2o,h)--(0,h)--(0,0)--(w,0)--(w,h)--(xpart urcorner p, h) ;
draw boundingbox p;
setbounds currentpicture to unitsquare xyscaled (w,h);
\stopuseMPgraphic
\defineoverlay[FunnyFrame][\useMPgraphic{FunnyFrame}]
\defineframedtext[FunnyText][frame=off,background=FunnyFrame]
\def\StartFrame{\startFunnyText}
\def\StopFrame{\stopFunnyText}
\def\FrameTitle#1%
{\setMPtext{FunnyFrame}{\hbox spread 2em {\hss\strut#1\hss}}}
\setMPtext{FunnyFrame}{}
\starttext
\FrameTitle{Blockflötenspielen}
\StartFrame
These: Blockflötenspielen macht Spaß!
\StopFrame
\stoptext
[View Less]
Taking the last question first, when I switched over to
eplain and makeindex the error of my ways became
apparent--- a spurious space in an \index statement which
in makeindex sorts that item ahead of the letter "A". The
Context reaction to the error was different. But it was
clearly user error.
Since I have a job to get out the door this week, and
tomorrow is Friday, I will continue with makeindex. I will
also use the eplain macro for the TOC. An answer to my
earlier question in …
[View More]re. spacing in the TOC would be
welcomed however for future reference.
I will try \filbreak and see if anything breaks.
To make the eplain macros coexist with Context requires
commenting out one line in eplain.tex:
%\def^^L{\par}%
What this line does I have no idea.
--
John Culleton
Able Typesetters and Indexers
http://wexfordpress.com
[View Less]