[NTG-context] \loadfontfileoncetrue?
Hmmm,... I haven't tried included graphics for a while, so I downloaded the new beta into my Miktex system, regenerated formats, and attempted to compile the code below. I got the following error: ! Undefined control sequence. l.1 \global \loadfontfileoncetrue % ! You can't use a prefix with `\shipout'. \shipout l.2 \shipout \hbox{\smash{\hbox{\hbox{% line 226 C:\temp\junk-mpgraph.mp [1] ) (see the transcript file for additional information) I have write18 enabled in miktex.ini, and adjusted cont-sys.tex: % Enabling run time \METAPOST\ (also enable \write18 in % texmf.cnf): \runMPgraphicstrue \runMPTEXgraphicstrue % This saves some runtime, but needs a format, which you can % make with 'texexec --make --alone metafun'. Make sure that % the mem files are moved to the used web2c path (locate with % 'kpsewhich plain.mem'). \useMETAFUNformattrue % Enabling nested pretty printing: \newprettytrue % This can be a way to get things working on system with % name clashes. (Some \TeX's tend do search system wide.) \protectbufferstrue Anyone have an idea what I am doing wrong? \setupoutput[pdftex] \starttext \section{Including the MPcode in the placefigure mechanism} \placefigure [here] [] {the label} {\startMPcode label.top(btex Some label 1 etex, (1cm,1cm)) ; \stopMPcode} \section{startMPgraphic -- placeMPgraphic} \startMPgraphic label.top(btex Some label 2 etex, (1cm,1cm)) ; \stopMPgraphic \loadcurrentMPgraphic{width=15cm} \placeMPgraphic \section{startuseMPgraphic -- useMPgraphic} \startuseMPgraphic{Label2} label.top(btex Some label 3 etex, (1cm,1cm)) ; \stopuseMPgraphic \useMPgraphic{Label2} \section{startreusableMPgrpahic -- reuseMPgraphic} \startreusableMPgraphic{Label3} label.top(btex Some label 4 etex, (1cm,1cm)) ; \stopreusableMPgraphic \reuseMPgraphic{Label3} \stoptext ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: cont-doc module
On woensdag, okt 9, 2002, at 16:30 Europe/Amsterdam, Hans Hagen wrote: At 03:54 PM 10/9/2002 +0200, Hans van der Meer wrote: Waar vind ik het bestand cont-doc.zip? Volgens MAPS 24 p.88 heb ik dat nodig om met texexec --module de documentatie te kunnen zitten. Ik kan deze module niet vinden in de context download en ook niet op de pragma site. these files are now in theregular distribution, so texexec --modu --pdf somedoc.tex should work Well, I now type "texexec --modu --pdf font-ini.tex" (one of the files in the ConTeXt distribution) and this results in an execution that has to be finished with Control-D, the pdf produced puts Adobe Acrobate into an infinite loop. How can I produce the documentation if the recipe given does not seem to work (anymore). The above call gives the following output (the last series of lines only): kleur : kleur wordt vertaald in grijs interactie : actief ) systems: begin file texexec at line 4 (./font-ini.ted systems: randomizer starts with 1268411200 This is MetaPost, Version 0.641 (Web2C 7.4.5) (texexec-mpgraph.mp [1] metafun 2003-12-13 21:38 ) 1 output file written: texexec-mpgraph.1 Transcript written on texexec-mpgraph.log. [MP to PDF] (./texexec-mpgraph.1) interactie : pdftex code tussengevoegd [1.1{/usr/local/teTeX/share/texmf.local/dvips/config/pdftex.map}{/ Users/hans/Li brary/texmf/pdftex/config/texnansi-yandy-lucida.map}{/Users/hans/ Library/texmf/ pdftex/config/texnansi-yandy-mathtime.map}{/Users/hans/Library/texmf/ pdftex/con fig/texnansi-adobe-courier.map}{/Users/hans/Library/texmf/pdftex/ config/texnans i-adobe-helvetic.map}{/Users/hans/Library/texmf/pdftex/config/ texnansi-adobe-pa latino.map}{/Users/hans/Library/texmf/pdftex/config/texnansi-adobe- times.map}{/ Users/hans/Library/texmf/pdftex/config/texnansi-adobe-utopia.map}{/ Users/hans/L ibrary/texmf/pdftex/config/texnansi-urw-courier.map}{/Users/hans/ Library/texmf/ pdftex/config/texnansi-urw-helvetic.map}{/Users/hans/Library/texmf/ pdftex/confi g/texnansi-urw-palatino.map}{/Users/hans/Library/texmf/pdftex/config/ texnansi-u rw-times.map}] ! Argument of \next1 has an extra }. \par } \expanded ...long \xdef \@@expanded {\noexpand #1} \@@expanded \executepagebreakhandlers ...cesscommacommand [#1] \executepagebreakhandler \dopagebreak ...tes \executepagebreakhandlers {#1} \else \flushnotes \execute... \processnextcommalist ...doprocesscommaitem #4#5,] \relax \global \advance \c... ... l.12 ...yright={PRAGMA / Hans Hagen \& Ton Otten}] Someone knows what is the problem here? Thanks in advance. Hans van der Meer ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: page setup
Hans van der Meer <[EMAIL PROTECTED]> writes: > I am trying to typeset 2 A5 pages onto 1 A4 page in landscape format, Try this: -- \setuppapersize[A5][A4,landscape] \setuparranging[2SIDE] \starttext \showframe \dorecurse{7}{\input tufte \par} \stoptext \endinput -- Patrick -- mon trainsistor j'adore ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] page setup
I am trying to typeset 2 A5 pages onto 1 A4 page in landscape format, side by side. Thus typesetting the pages two at a time on one piece of paper, in their natural order, seeing them as a spread. Something like xxx xx x x 1 x 2x going on for 3, 4, etc. xx x xxx I do not seem to get that job done. The context code I tried: \setuppapersize[A5][A4,landscape] \setuplayout[location=doublesided,marking=on,grid=yes,header=0mm,margin= 12mm] \setuppagenumbering[location=footer,location=margin,alternative=doublesi ded] \setuparranging[2*1] % or [doublesided] or [mirrored] The \setuparranging (in the above variations) sends TeX into an infinite loop. Of course [2*2] will not work, it gives booklets of 4 pages instead of 2. Maybe it can be done without the \setuparranging, but I could not find out how. The context version I use is: ConTeXt ver: 2003.12.12 fmt: 2003.12.13 int: english mes: english I would appreciate some help very much. Hans van der Meer ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] problem with nested tables
Hi Hans, Sorry for the stupid question, but where can the mentioned line best be included? Can it be in the core-ntb at a specific place or should it be placed in cont-new? Kind regards Willi Hans Hagen wrote: Hi Willi, \unprotected \def\@@tblprefix{\@@tbl:\ifnum\TBLlevel>1 :\TBLlevel:\fi} is the magic line; some time ago i added yet another auto span detection trick and one of the internal variables clashes when a nested table is used; so the solution is in a more discriminating nested prefix Hans ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] MP figures in the background
On Mon, 15 Dec 2003, Hans Hagen wrote: > At 09:24 15/12/2003, you wrote: > > >Hi, > > > >I'm doing a christmars card in ConTeXt!. I've the following setup > > > >\setuppapersize[CD][A4] > >\setuplayout[marking=on,location=middle] > > > >\starttext > >\startuseMPgraphic{dummy} > >... > >... > >\stopuseMPgraphic > > > >\defineoverlay[backfigure][\useMPgraphic{dummy}] > >\setupbackground[paper][background=backfigure] > >\hbox{} > >\stoptext > > >\starttext > >\startuseMPgraphic{dummy} > >... > >... > >\stopuseMPgraphic > > > >\defineoverlay[backfigure][\useMPgraphic{dummy}] > >\setupbackground[paper][background=backfigure] > >\hbox{} > >\stoptext > >\defineoverlay[page][\useMPgraphic{dummy}] > >\setupbackground[page][background=page] > >\startstandardmakeup >some text >\stopstandardmakeup > >\setupbackground[page][background=] > >rest of text on next page > > or: > >\definelayer[page] \setlayer[page]{\useMPgraphic{dummy}] > >\startstandardmakeup >some text >\stopstandardmakeup > >rest of text on next page > Thanks for the replay. I can't test it know, by i'm sure it will work :-) > Hans (who right now is going to print this years christmas card -) > I think the copyright for my christmas card should be your. I have stold the idea of using one image and ramdoly distribuite and change colors for your wonderfull PRAGMA christmas cards! Zunbeltz > ___ > ntg-context mailing list > [EMAIL PROTECTED] > http://www.ntg.nl/mailman/listinfo/ntg-context > ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Selecting a page as a figure from a pdf
At 01:40 15/12/2003, you wrote: All, I am aware of \filterpages but I would like to be able to insert part of a single page from a multi page pdf and I have not been able to find anything on the list of manuals. (\clip does not seem to work with \filterpages). Does anybody have any ideas? \clip[...]{\externalfigure[whatever.pdf][page=3]} Hans ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] MP figures in the background
At 09:24 15/12/2003, you wrote: Hi, I'm doing a christmars card in ConTeXt!. I've the following setup \setuppapersize[CD][A4] \setuplayout[marking=on,location=middle] \starttext \startuseMPgraphic{dummy} ... ... \stopuseMPgraphic \defineoverlay[backfigure][\useMPgraphic{dummy}] \setupbackground[paper][background=backfigure] \hbox{} \stoptext \starttext \startuseMPgraphic{dummy} ... ... \stopuseMPgraphic \defineoverlay[backfigure][\useMPgraphic{dummy}] \setupbackground[paper][background=backfigure] \hbox{} \stoptext \defineoverlay[page][\useMPgraphic{dummy}] \setupbackground[page][background=page] \startstandardmakeup some text \stopstandardmakeup \setupbackground[page][background=] rest of text on next page or: \definelayer[page] \setlayer[page]{\useMPgraphic{dummy}] \startstandardmakeup some text \stopstandardmakeup rest of text on next page Hans (who right now is going to print this years christmas card -) ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: texexec page selection changes output?
At 15:43 14/12/2003, Patrick Gundlach wrote: Hello out there > I recently used texexec to select a given page from a file (attached) of > three pages: > texexec --pdfselect --selection=2 --result=cover2-tx.pdf covers.pdf When I try to do the above, ConTeXt looks for a font "aicmti10". What is going on here? Something misconfigured? This is pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2C 7.5.2) \write18 enabled. %&-line parsing enabled. (/opt/texlive/8/texmf/web2c/cp8bit.tcx) entering extended mode (./texexec.tex{/opt/local/texmf/pdftex/config/pdftex.cfg} this is a side effect of the big map file approach: if pdftex locates a file in that map file then it also assumes that it is present (based on the "Name"); (recent versions of texexec have --nomap as a way out); it's also one of the reasons for me loading map files on demand and omit "Names" in those files; next versions of pdftex will have more map manipulating features built in Hans ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] problem with nested tables
Hi Willi, \unprotected \def\@@tblprefix{\@@tbl:\ifnum\TBLlevel>1 :\TBLlevel:\fi} is the magic line; some time ago i added yet another auto span detection trick and one of the internal variables clashes when a nested table is used; so the solution is in a more discriminating nested prefix Hans - Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED] Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com - information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] MP figures in the background
Hi, I'm doing a christmars card in ConTeXt!. I've the following setup \setuppapersize[CD][A4] \setuplayout[marking=on,location=middle] \starttext \startuseMPgraphic{dummy} ... ... \stopuseMPgraphic \defineoverlay[backfigure][\useMPgraphic{dummy}] \setupbackground[paper][background=backfigure] \hbox{} \stoptext I need the \hbox{} because there has to be something to typeset. The next thing i want to do is to have a second page. I use the \page[yes] command. The problem is that with this the background apears to in the second page, and i don't want that. How can i define a background figure only for certain page? Thanks in advance, Zunbeltz ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: Converting Latex style files for use in Context
On Fri, 12 Dec 2003, Patrick Gundlach wrote: > Hi, > > > Like all TeX related things you can find it in CTAN, exactly in > > well, not *all* TeX relatet stuff is on CTAN... > > All right, you will agree that you can find *all*most all TeX relatet stuff :-) Zunbeltz ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Selecting a page as a figure from a pdf
All, I am aware of \filterpages but I would like to be able to insert part of a single page from a multi page pdf and I have not been able to find anything on the list of manuals. (\clip does not seem to work with \filterpages). Does anybody have any ideas? TIA -- Nigel ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context