Re: [NTG-context] Broken Rotation in Nightly
On Fri, 13 Jan 2012, Kip Warner wrote: Hey folks, I've noticed the latest nightly I ran (2012.01.12) chokes on \rotate in the following context: \midaligned{\rotate[rotation=42]{\color[red] \bft Some text!}} \color is no longer a switch; it must be used as \color[red]{...}. Aditya ___ 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 ___
[NTG-context] Broken Rotation in Nightly
Hey folks, I've noticed the latest nightly I ran (2012.01.12) chokes on \rotate in the following context: \midaligned{\rotate[rotation=42]{\color[red] \bft Some text!}} I get the following error if I don't comment out that line. resolvers > modules > loaded: 'simplefonts' (/usr/share/texmf/tex/context/third/simplefonts/t-simplefonts.tex loading > ConTeXt User Module / Simplefonts <+ /usr/share/texmf/tex/context/third/simplefonts/t-simplefonts.lua>)) ! Missing } inserted. } \vfill l.23 \vfill -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ 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 ___
Re: [NTG-context] Error Line Number
On Fri, 2012-01-13 at 10:08 +0100, luigi scarso wrote: > Usually the strategy is to isolate the culprit by including progressively > lengthy chunks of tex > from the begin to end > and then narrowing the selection until you find a macro or paragraph. > Then surround it with > \tracingall > ... > \trancingnone > and you have a *huge* amount of informations. > > (btw, discover where an error happens it's known to be problematic due > the inherently asynchronous nature of TeX > and the macro programming language, where expansion can be very hard to > understand) That sounds very tedious and is definitely a major problem with ConTeXt. But like you said, it's difficult to alleviate based on how all of its components were designed. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ 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 ___
Re: [NTG-context] Page with minimum margins, maximum text width/textheight
Thanks. My external figures are PDFs with all weird sizes, the smaller ones, I want to print on portrait A4 (if they are more landscape than portrait, they will be rotated) and the larger ones on landscape A3 (again, rotated when they are more portrait than landscape). Distorting is not allowed. So far I am doing stuff like \externalfigure[foo.pdf][factor=max] \page\setuppapersize[A4,portrait][A4,portrait] \setuplayout[backspace=10mm,topspace=10mm,width=277mm,height=190mm,header=5mm,footer=1mm] \externalfigure[bar.pdf][orientation=90] \page\setuppapersize[A3,landscape][A3,landscape] \setuplayout[backspace=10mm,topspace=10mm,width=400mm,height=277mm,header=5mm,footer=1mm] \externalfigure[foobar.pdf][factor=max] \externalfigure[foo2.pdf][orientation=90] \externalfigure[foo3.pdf][orientation=90] But thanks to your suggestion, I am now doing \rotate[rotation=90]{\externalfigure[foo.pdf][width=\vsize]} The 'orientation' stuff of external figure doesn't work at all. It messes up size to fit and it rotates around points such that images are rotated partly out of the page. Your method works. G On 14 Jan 2012, at 01:20, Philipp Gesang wrote: > Hi Gerben! > > On 2012-01-14 00:43, Gerben Wierda wrote: >> but I forgot how to do something like width=\paperwidth-2cm (not >> like that obviously, but I have forgotten how to do simple >> addition and subtraction with dimensions in TeX) > > See TeXbook p. 118f. > >> So, how do I set a margin of 1cm all around the makeup area? > > Does the following fit your needs? > > · > > \newdimen\myborderoffset \myborderoffset=1cm > > \definelayout[mypage][page] > \setuplayout [mypage][ > backspace=\myborderoffset, > topspace=\myborderoffset, > ] > > \setuplayout[mypage] > > \showframe > > \def\docowpage{% > \rotate[rotation=90]{\externalfigure[cow][width=\vsize,height=\hsize]}\page% > } > > \starttext > > \dorecurse{5}{\docowpage} > \stoptext > > · > > Regards, Philipp > >> >> G >> >> On 14 Jan 2012, at 00:06, Aditya Mahajan wrote: >> >>> On Fri, 13 Jan 2012, Gerben Wierda wrote: >>> How do I create a page with maximum text width, text height? I tried using \setuplayout with stuff like [textwidth=\pagewidth-1cm], but nothing happens. I need empty pages with minimum margins, just to be able to put other PDF's in that space. >>> >>> \setuplayout[page], or if you want to do this for only one page, >>> \adaptlayout[page] >>> >>> Aditya >>> ___ >>> 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 >>> ___ >> >> ___ >> 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 >> ___ > > -- > () ascii ribbon campaign - against html e-mail > /\ www.asciiribbon.org - against proprietary attachments > ___ > 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 > ___ ___ 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 ___
Re: [NTG-context] Page with minimum margins, maximum text width/textheight
Hi Gerben! On 2012-01-14 00:43, Gerben Wierda wrote: > but I forgot how to do something like width=\paperwidth-2cm (not > like that obviously, but I have forgotten how to do simple > addition and subtraction with dimensions in TeX) See TeXbook p. 118f. > So, how do I set a margin of 1cm all around the makeup area? Does the following fit your needs? · \newdimen\myborderoffset \myborderoffset=1cm \definelayout[mypage][page] \setuplayout [mypage][ backspace=\myborderoffset, topspace=\myborderoffset, ] \setuplayout[mypage] \showframe \def\docowpage{% \rotate[rotation=90]{\externalfigure[cow][width=\vsize,height=\hsize]}\page% } \starttext \dorecurse{5}{\docowpage} \stoptext · Regards, Philipp > > G > > On 14 Jan 2012, at 00:06, Aditya Mahajan wrote: > > > On Fri, 13 Jan 2012, Gerben Wierda wrote: > > > >> How do I create a page with maximum text width, text height? I tried using > >> \setuplayout with stuff like [textwidth=\pagewidth-1cm], but nothing > >> happens. I need empty pages with minimum margins, just to be able to put > >> other PDF's in that space. > > > > \setuplayout[page], or if you want to do this for only one page, > > \adaptlayout[page] > > > > Aditya > > ___ > > 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 > > ___ > > ___ > 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 > ___ -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgpphrLHCGO81.pgp Description: PGP signature ___ 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 ___
Re: [NTG-context] Page with minimum margins, maximum text width/textheight
I was already trying a lot of stuff with \setuplayout. I've found mentioning somewhere that you can adapt the backspace, topspace, height and width.So it must be something like \setuplayout[backspace=1cm,topspace=1cm,height=\paperheight,width=\paperwidth] but I forgot how to do something like width=\paperwidth-2cm (not like that obviously, but I have forgotten how to do simple addition and subtraction with dimensions in TeX) So, how do I set a margin of 1cm all around the makeup area? G On 14 Jan 2012, at 00:06, Aditya Mahajan wrote: > On Fri, 13 Jan 2012, Gerben Wierda wrote: > >> How do I create a page with maximum text width, text height? I tried using >> \setuplayout with stuff like [textwidth=\pagewidth-1cm], but nothing >> happens. I need empty pages with minimum margins, just to be able to put >> other PDF's in that space. > > \setuplayout[page], or if you want to do this for only one page, > \adaptlayout[page] > > Aditya > ___ > 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 > ___ ___ 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 ___
[NTG-context] starttyping/stoptyping broken?
Just this minute updated via wget http://minimals.contextgarden.net/setup/first-setup.sh and running first-setup.sh, getting errors trying to use \starttyping/\stoptyping. --- example file --- \starttext \startframedtext[width=5.5cm] \starttyping Line 1 Line 2 Line 3 \stoptyping \stopframedtext \stoptext --- output --- This is LuaTeX, Version beta-0.70.1-2011051923 (rev 4277) \write18 enabled. (test2.tex ConTeXt ver: 2012.01.12 11:03 MKIV fmt: 2012.1.13 int: english/english (/usr/local/context/tex/texmf-context/tex/context/base/cont-new.mkiv) (test2.top){/usr/local/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} (/usr/local/context/tex/texmf-context/tex/context/base/type-otf.mkiv){/usr/local/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/usr/local/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map} ! Missing } inserted. 1 2 \starttext 3 \startframedtext[width=5.5cm] 4 \starttyping 5 Line 1 6 Line 2 7 Line 3 8 >> \stoptyping 9 \stopframedtext 10 \stoptext 11 } \endgroup \stoppacked ...level =\plusone \ifvmode \endgroup \fi \fi \global \advance \... \dostoptyping #1->\stoppacked \typingparameter \c!after \useindentnextparame... l.8 \stoptyping --- end output --- mathew -- http://www.pobox.com/~meta/> ___ 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 ___
Re: [NTG-context] Merging PDF document of various page sizes. Can ConTeXt help?
I wrote: - One PDF as result - Each page has a different size and orientation - Each page contains a PDF vector image that is not to be converted to pixels I have looked at many tools: All so far do not leave vector images vector images, they convert to pixels and at a pretty low resolution at that. All so far looked at do not ignore page sizes, they set a page size for the entire document. Anyway, ConTeXt is capable, though it is difficult to get it working properly because its arguments cannot stand combinations of fit-to-size and rotation in combination. But with a lot of specific hand work and nudging, I can get there eventually. G On 14 Jan 2012, at 00:03, Aditya Mahajan wrote: > On Fri, 13 Jan 2012, Gerben Wierda wrote: > >> I did not see the possibility to influence page sizes of the PDF's you merge >> in the man page. > > I thought that you did not want to influence the page size. From what I > remember, pdftk does not change page sizes, it simply merges the pdfs. > > Aditya > ___ > 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 > ___ ___ 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 ___
Re: [NTG-context] Page with minimum margins, maximum text width/textheight
On Fri, 13 Jan 2012, Gerben Wierda wrote: How do I create a page with maximum text width, text height? I tried using \setuplayout with stuff like [textwidth=\pagewidth-1cm], but nothing happens. I need empty pages with minimum margins, just to be able to put other PDF's in that space. \setuplayout[page], or if you want to do this for only one page, \adaptlayout[page] Aditya ___ 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 ___
Re: [NTG-context] Merging PDF document of various page sizes. Can ConTeXt help?
On Fri, 13 Jan 2012, Gerben Wierda wrote: I did not see the possibility to influence page sizes of the PDF's you merge in the man page. I thought that you did not want to influence the page size. From what I remember, pdftk does not change page sizes, it simply merges the pdfs. Aditya ___ 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 ___
[NTG-context] Page with minimum margins, maximum text width/textheight
How do I create a page with maximum text width, text height? I tried using \setuplayout with stuff like [textwidth=\pagewidth-1cm], but nothing happens. I need empty pages with minimum margins, just to be able to put other PDF's in that space. G ___ 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 ___
Re: [NTG-context] Merging PDF document of various page sizes. Can ConTeXt help?
I did not see the possibility to influence page sizes of the PDF's you merge in the man page. G On 13 Jan 2012, at 23:43, Aditya Mahajan wrote: > On Fri, 13 Jan 2012, Gerben Wierda wrote: > >> Hello community, >> >> I have the following problem. I need to create a single PDF file where each >> page may have a different size and orientation. Say the first page is A4 >> portrait, the second is A3 landscape and so on. Can ConTeXr help? Each page >> contains a PDF image of some random size that is inserted. >> >> I have been looking around for a solution but haven't found one. I also >> tried Create.app, the drawing program. And I tried a program call PDF Merge >> and some others. Neither of these work, and most of the merge programs out >> there maybe merged, but changed the nice vector images into pixel images, >> completely destroying print quality. >> >> So, I am back where I started. Is there some fancy ConTeXt trickery I could >> use to do this? >> >> Summary: >> - One PDF as result >> - Each page has a different size and orientation >> - Each page contains a PDF vector image that is not to be converted to pixels > > In the past I have used pdftk to merge pdfs and found it to be pretty > reliable. > > Aditya > ___ > 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 > ___ ___ 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 ___
Re: [NTG-context] Merging PDF document of various page sizes. Can ConTeXt help?
On Fri, 13 Jan 2012, Gerben Wierda wrote: Hello community, I have the following problem. I need to create a single PDF file where each page may have a different size and orientation. Say the first page is A4 portrait, the second is A3 landscape and so on. Can ConTeXr help? Each page contains a PDF image of some random size that is inserted. I have been looking around for a solution but haven't found one. I also tried Create.app, the drawing program. And I tried a program call PDF Merge and some others. Neither of these work, and most of the merge programs out there maybe merged, but changed the nice vector images into pixel images, completely destroying print quality. So, I am back where I started. Is there some fancy ConTeXt trickery I could use to do this? Summary: - One PDF as result - Each page has a different size and orientation - Each page contains a PDF vector image that is not to be converted to pixels In the past I have used pdftk to merge pdfs and found it to be pretty reliable. Aditya ___ 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 ___
[NTG-context] \setuppapersize & \externalfigure
\externalfigure[foo.pdf][factor=fit] nicely fits the mage on the page. The following snippet: \page\setuppapersize[A4,portrait][A4,portrait] \externalfigure[foo.pdf][factor=fit,orientation=90] behaves like this: the size is set to what fits *before* rotation. The order of orientation and factor does not matter. Is there anything I can do about that? Thanks, G ___ 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 ___
Re: [NTG-context] Merging PDF document of various page sizes. Can ConTeXt help?
Weirder still. \definepapersize[large][a3,landscape] \definepapersize[small][a4,portrait] \setuppapersize[large] \starttext \externalfigure[foo.pdf] \page\setuppapersize[small] \externalfigure[bar.pdf] \stoptext The first page is now 11.69x11.69 inch and the second page is a4, but landscape So, let's make sure I use both layout size and print size in my definitions \definepapersize[large][a3,landscape][a3,landscape] \definepapersize[small][a4,portrait][a4,portrait] \setuppapersize[large] \starttext \externalfigure[foo.pdf][factor=fit] \page\setuppapersize[small] \externalfigure[bar.pdf][factor=fit] \stoptext Now both pages are a4 landscape. Another go: \setuppapersize[a3,landscape][a3,landscape] \starttext \externalfigure[BoudewijndeHaasOpgave2Totaalview.pdf][factor=fit] \page\setuppapersize[a4,portrait][a4,portrait] \externalfigure[FredRademakerOpgave2Totaalview.pdf][factor=fit] \stoptext Both a4 landscape again. Does this stuff work at all? Another go \setuppapersize[A3,landscape][A3,landscape] \starttext \externalfigure[foo.pdf][factor=fit] \page\setuppapersize[A4,portrait][A4,portrait] \externalfigure[bar.pdf][factor=fit] \stoptext Hmm, this works. I originally used lower case a4 and a3, as I saw that in an example somewhere. But somewhere else I saw A3, A4 etc. G On 13 Jan 2012, at 18:15, Gerben Wierda wrote: > It still is weird. It sometimes work (but not completely) and sometimes not. > For instance > > \definepapersize[a3landscape][A3,landscape] > \definepapersize[a4portrait][A4,portrait] > \setuppapersize[a3landscape] > \starttext > \externalfigure[foo.pdf] > \stoptext > > foo.pdf is a 18.43x13.88 inch PDF image > The end result is a 16.54x16.54 inch PDF image with the embedded image > cropped. > > ?? > > G > > On 13 Jan 2012, at 16:47, luigi scarso wrote: > >> >> >> On Fri, Jan 13, 2012 at 4:44 PM, Gerben Wierda wrote: >> Answering my own question, quite simple with ConTeXt: >> >> \definepapersize[a3landscape][A3,landscape] >> \definepapersize[a4portrait][A4,portrait] >> \setuppapersize[a4portrait] >> \starttext >> \externalfigure[foo.pdf] >> \page\setuppapersize[a3landscape] >> \externalfigure[bar.pdf] >> \stoptext >> >> G >> >> PS. The solution below does not work because it keeps the sizes of the >> images and does not set page sizes for the pages where the images are >> embedded. >> >> Ah ok, you don't want to inherit the pagesize from the external pdf. >> >> -- >> luigi >> >> ___ >> 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 >> ___ > > ___ > 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 > ___ ___ 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 ___
Re: [NTG-context] Merging PDF document of various page sizes. Can ConTeXt help?
It still is weird. It sometimes work (but not completely) and sometimes not. For instance \definepapersize[a3landscape][A3,landscape] \definepapersize[a4portrait][A4,portrait] \setuppapersize[a3landscape] \starttext \externalfigure[foo.pdf] \stoptext foo.pdf is a 18.43x13.88 inch PDF image The end result is a 16.54x16.54 inch PDF image with the embedded image cropped. ?? G On 13 Jan 2012, at 16:47, luigi scarso wrote: > > > On Fri, Jan 13, 2012 at 4:44 PM, Gerben Wierda wrote: > Answering my own question, quite simple with ConTeXt: > > \definepapersize[a3landscape][A3,landscape] > \definepapersize[a4portrait][A4,portrait] > \setuppapersize[a4portrait] > \starttext > \externalfigure[foo.pdf] > \page\setuppapersize[a3landscape] > \externalfigure[bar.pdf] > \stoptext > > G > > PS. The solution below does not work because it keeps the sizes of the images > and does not set page sizes for the pages where the images are embedded. > > Ah ok, you don't want to inherit the pagesize from the external pdf. > > -- > luigi > > ___ > 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 > ___ ___ 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 ___
Re: [NTG-context] gnuplot module does not work
On 13-1-2012 17:10, Mojca Miklavec wrote: This one seems easy to fix - just comment out \runMPgraphicstrue in t-gnuplot.tex. But I have other problems with buffers after trying that. (See the topic "buffer broken?" from two days ago.) I'm using 2012.01.12 15:48 and it bails out in the same way: ! Extra }, or forgotten \endgroup. buffers are fixed in the next beta (not yet uploaded) - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 ___
Re: [NTG-context] gnuplot module does not work
On Fri, Jan 13, 2012 at 14:35, zs wrote: > Hello, > > it seem like gnuplot module does not work with recent ConTeXt Standalone. Thank you very much for the report. > --- error message > > ! Undefined control sequence. > > system > tex > error on line 110 in file pokus_min.tex: Undefined > control sequence ... > > > l.110 \runMPgraphicstrue This one seems easy to fix - just comment out \runMPgraphicstrue in t-gnuplot.tex. But I have other problems with buffers after trying that. (See the topic "buffer broken?" from two days ago.) I'm using 2012.01.12 15:48 and it bails out in the same way: ! Extra }, or forgotten \endgroup. system > tex > error on line 14 in file gptest.tex: Extra }, or forgotten ... 4 5 \startGNUPLOTscript[aaa] 6 plot [0:5] "-" 7 0 1 8 1 2 9 2 5 10 3 10 11 4 17 12 5 26 13 e 14 >> \stopGNUPLOTscript 15 16 \useGNUPLOTgraphic[aaa] 17 18 \stoptext 19 \stopGNUPLOTscript ->\egroup \ifx \savebuffer \undefined \else \savebuffer [... \buff_finish ...oup \buff_stop {stopGNUPLOTscript} \endgroup l.14 \stopGNUPLOTscript ? Mojca > --- example - > > \usemodule[gnuplot] > > \starttext > > \startGNUPLOTscript[aaa] > plot [0:5] "-" > 0 1 > 1 2 > 2 5 > 3 10 > 4 17 > 5 26 > e > \stopGNUPLOTscript > > \useGNUPLOTgraphic[aaa] > > \stoptext ___ 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 ___
Re: [NTG-context] Merging PDF document of various page sizes. Can ConTeXt help?
On Fri, Jan 13, 2012 at 4:44 PM, Gerben Wierda wrote: > Answering my own question, quite simple with ConTeXt: > > \definepapersize[a3landscape][A3,landscape] > \definepapersize[a4portrait][A4,portrait] > \setuppapersize[a4portrait] > \starttext > \externalfigure[foo.pdf] > \page\setuppapersize[a3landscape] > \externalfigure[bar.pdf] > \stoptext > > G > > PS. The solution below does not work because it keeps the sizes of the > images and does not set page sizes for the pages where the images are > embedded. > Ah ok, you don't want to inherit the pagesize from the external pdf. -- luigi ___ 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 ___
Re: [NTG-context] Merging PDF document of various page sizes. Can ConTeXt help?
Answering my own question, quite simple with ConTeXt: \definepapersize[a3landscape][A3,landscape] \definepapersize[a4portrait][A4,portrait] \setuppapersize[a4portrait] \starttext \externalfigure[foo.pdf] \page\setuppapersize[a3landscape] \externalfigure[bar.pdf] \stoptext G PS. The solution below does not work because it keeps the sizes of the images and does not set page sizes for the pages where the images are embedded. On 13 Jan 2012, at 16:33, Victor Ivrii wrote: > NO, AR cannot do this. > > gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=merged.pdf > source1.pdf source2.pdf source3.pdf > > works > > with TeX one can use attachfile2 package (may be attachfile also > works) to create pdf bundle (aka portfolio). > == > > > However this is a question of combining. I remember that there is a > LaTeX package - cannot recall its name - which changes the size on the > fly (inside of document) > > Victor > --- Please Consult the Following Before Posting --- > TeX FAQ: http://www.tex.ac.uk/faq > List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/ > List Archive: http://tug.org/pipermail/macostex-archives/ > TeX on Mac OS X Website: http://mactex-wiki.tug.org/ > List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex On 13 Jan 2012, at 16:27, Mojca Miklavec wrote: > On Fri, Jan 13, 2012 at 16:20, Gerben Wierda wrote: >> Hello community, >> >> I have the following problem. I need to create a single PDF file where each >> page may have a different size and orientation. Say the first page is A4 >> portrait, the second is A3 landscape and so on. Can ConTeXr help? Each page >> contains a PDF image of some random size that is inserted. >> >> I have been looking around for a solution but haven't found one. I also >> tried Create.app, the drawing program. And I tried a program call PDF Merge >> and some others. Neither of these work, and most of the merge programs out >> there maybe merged, but changed the nice vector images into pixel images, >> completely destroying print quality. >> >> So, I am back where I started. Is there some fancy ConTeXt trickery I could >> use to do this? >> >> Summary: >> - One PDF as result >> - Each page has a different size and orientation >> - Each page contains a PDF vector image that is not to be converted to pixels > > Yes, this is easy. There are three options: > > 1.) \startTEXpage\externalfigure[...]\stopTEXpage > 2.) same, but with TEXstream > 3.) a shortcut for the above, \startpagefigure. See > http://wiki.contextgarden.net/Including_pages_from_PDF_document > > Mojca > ___ > 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 > ___ ___ 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 ___
Re: [NTG-context] footnote mechanism broken (3)
Am 13.01.2012 um 11:01 schrieb Steffen Wolfrum: > > This one is even more disturbing: > > Just by setting the note's color to green, each footnote is set on a single > page!!! It doesn't what value you change, the problem is the \setupnote call. > \setupnote[footnote][textcolor=green]% <- without this line the notes are set > right > > \starttext > \dorecurse{10}{\input ward\footnote{just one line. a test footnote. just one > line. a test footnote.}} > \stoptext You can get a correct output by adding \setuppapersize or \setuplayout before \setupnote or you move the \setupnote below \starttext. 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 ___
Re: [NTG-context] Merging PDF document of various page sizes. Can ConTeXt help?
On Fri, Jan 13, 2012 at 16:20, Gerben Wierda wrote: > Hello community, > > I have the following problem. I need to create a single PDF file where each > page may have a different size and orientation. Say the first page is A4 > portrait, the second is A3 landscape and so on. Can ConTeXr help? Each page > contains a PDF image of some random size that is inserted. > > I have been looking around for a solution but haven't found one. I also tried > Create.app, the drawing program. And I tried a program call PDF Merge and > some others. Neither of these work, and most of the merge programs out there > maybe merged, but changed the nice vector images into pixel images, > completely destroying print quality. > > So, I am back where I started. Is there some fancy ConTeXt trickery I could > use to do this? > > Summary: > - One PDF as result > - Each page has a different size and orientation > - Each page contains a PDF vector image that is not to be converted to pixels Yes, this is easy. There are three options: 1.) \startTEXpage\externalfigure[...]\stopTEXpage 2.) same, but with TEXstream 3.) a shortcut for the above, \startpagefigure. See http://wiki.contextgarden.net/Including_pages_from_PDF_document Mojca ___ 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 ___
Re: [NTG-context] Merging PDF document of various page sizes. Can ConTeXt help?
On Fri, Jan 13, 2012 at 4:20 PM, Gerben Wierda wrote: > Hello community, > > I have the following problem. I need to create a single PDF file where > each page may have a different size and orientation. Say the first page is > A4 portrait, the second is A3 landscape and so on. Can ConTeXr help? Each > page contains a PDF image of some random size that is inserted. > > I have been looking around for a solution but haven't found one. I also > tried Create.app, the drawing program. And I tried a program call PDF Merge > and some others. Neither of these work, and most of the merge programs out > there maybe merged, but changed the nice vector images into pixel images, > completely destroying print quality. > > So, I am back where I started. Is there some fancy ConTeXt trickery I > could use to do this? > > Summary: > - One PDF as result > - Each page has a different size and orientation > - Each page contains a PDF vector image that is not to be converted to > pixels > So , if you have file-001.pdf, file-002.pdf, file-003.pdf maybe \starttext \startTEXpage\externalfigure[file-001]\stopTEXpage \startTEXpage\externalfigure[file-002]\stopTEXpage \startTEXpage\externalfigure[file-003]\stopTEXpage \stoptext is what you need. -- luigi ___ 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 ___
[NTG-context] Merging PDF document of various page sizes. Can ConTeXt help?
Hello community, I have the following problem. I need to create a single PDF file where each page may have a different size and orientation. Say the first page is A4 portrait, the second is A3 landscape and so on. Can ConTeXr help? Each page contains a PDF image of some random size that is inserted. I have been looking around for a solution but haven't found one. I also tried Create.app, the drawing program. And I tried a program call PDF Merge and some others. Neither of these work, and most of the merge programs out there maybe merged, but changed the nice vector images into pixel images, completely destroying print quality. So, I am back where I started. Is there some fancy ConTeXt trickery I could use to do this? Summary: - One PDF as result - Each page has a different size and orientation - Each page contains a PDF vector image that is not to be converted to pixels Yours, G ___ 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 ___
[NTG-context] gnuplot module does not work
Hello, it seem like gnuplot module does not work with recent ConTeXt Standalone. Zdenek --- example - \usemodule[gnuplot] \starttext \startGNUPLOTscript[aaa] plot [0:5] "-" 0 1 1 2 2 5 3 10 4 17 5 26 e \stopGNUPLOTscript \useGNUPLOTgraphic[aaa] \stoptext --- error message ConTeXt ver: 2012.01.12 11:03 MKIV fmt: 2012.1.13 int: english/english system > cont-new.mkiv loaded (/opt/context2/tex/texmf-context/tex/context/base/cont-new.mkiv system > beware: some patches loaded from cont-new.mkiv ) system > pokus_min.top loaded (pokus_min.top) fonts > latin modern fonts are not preloaded languages > language en is active resolvers > modules > loaded: 'gnuplot' (/opt/context2/tex/texmf-modules/tex/context/third/gnuplot/t-gnuplot.tex loading > Gnuplot module ! Undefined control sequence. system > tex > error on line 110 in file pokus_min.tex: Undefined control sequence ... l.110 \runMPgraphicstrue ___ 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 ___
Re: [NTG-context] Error Line Number
On 13-1-2012 10:08, luigi scarso wrote:> \tracingall \loggingall is faster (only log) \trancingnone and you have a *huge* amount of informations. - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 ___
Re: [NTG-context] footnote mechanism broken (3)
On Fri, Jan 13, 2012 at 12:17 PM, Steffen Wolfrum wrote: > > Am 13.01.2012 um 11:38 schrieb luigi scarso: > > > > > > > On Fri, Jan 13, 2012 at 11:01 AM, Steffen Wolfrum < > cont...@st.estfiles.de> wrote: > > > > This one is even more disturbing: > > > > Just by setting the note's color to green, each footnote is set on a > single page!!! > > > > > > \setupnote[footnote][textcolor=green]% <- without this line the notes > are set right > > > > \starttext > > \dorecurse{10}{\input ward\footnote{just one line. a test footnote. just > one line. a test footnote.}} > > \stoptext > > > > > > > > I don't use footnotes at all, so I can say if it's a bug or not, but > this is ok > > \setupnotes[textcolor=green] > > > > \starttext > > \dorecurse{10}{\input ward\footnote{just one line. a test footnote. just > one line. a test footnote.}} > > \stoptext > > > > > > I assumed "\setupnote[footnote][textcolor=green]" is the recommended and > correct way to do, > as I found it in an example from Wolfgang (December 2011): > > Am 01.12.2011 um 22:40 schrieb Wolfgang Schuster: > > > ... > > \setupnote > > [footnote] > > [textstyle=italic, > > textcolor=green, > > textcommand=\inframed] % default: \high > > > > \starttext > > Hi there!\footnote{I’m a footnote.} > > \stoptext > > Yes, but at least \setupnotes works as temporary solution --- taht to say , can be a bug. It doesn't seem that \setupnotes is deprecated, btw. -- luigi ___ 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 ___
Re: [NTG-context] footnote mechanism broken (3)
Am 13.01.2012 um 11:38 schrieb luigi scarso: > > > On Fri, Jan 13, 2012 at 11:01 AM, Steffen Wolfrum > wrote: > > This one is even more disturbing: > > Just by setting the note's color to green, each footnote is set on a single > page!!! > > > \setupnote[footnote][textcolor=green]% <- without this line the notes are set > right > > \starttext > \dorecurse{10}{\input ward\footnote{just one line. a test footnote. just one > line. a test footnote.}} > \stoptext > > > > I don't use footnotes at all, so I can say if it's a bug or not, but this is > ok > \setupnotes[textcolor=green] > > \starttext > \dorecurse{10}{\input ward\footnote{just one line. a test footnote. just one > line. a test footnote.}} > \stoptext I assumed "\setupnote[footnote][textcolor=green]" is the recommended and correct way to do, as I found it in an example from Wolfgang (December 2011): Am 01.12.2011 um 22:40 schrieb Wolfgang Schuster: > ... > \setupnote > [footnote] > [textstyle=italic, > textcolor=green, > textcommand=\inframed] % default: \high > > \starttext > Hi there!\footnote{I’m a footnote.} > \stoptext Steffen ___ 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 ___
Re: [NTG-context] footnote mechanism broken (3)
On Fri, Jan 13, 2012 at 11:01 AM, Steffen Wolfrum wrote: > > This one is even more disturbing: > > Just by setting the note's color to green, each footnote is set on a > single page!!! > > > \setupnote[footnote][textcolor=green]% <- without this line the notes are > set right > > \starttext > \dorecurse{10}{\input ward\footnote{just one line. a test footnote. just > one line. a test footnote.}} > \stoptext > > > I don't use footnotes at all, so I can say if it's a bug or not, but this is ok \setupnotes[textcolor=green] \starttext \dorecurse{10}{\input ward\footnote{just one line. a test footnote. just one line. a test footnote.}} \stoptext -- luigi ___ 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 ___
Re: [NTG-context] footnote mechanism broken (2)
On Fri, Jan 13, 2012 at 10:55 AM, Steffen Wolfrum wrote: > Hi, > > an other strange thing related to footnotes can be seen here: > > > > \def\MyNote#1{\switchtobodyfont[12pt]\high{#1}} % <- gives small number > %\def\MyNote#1{\switchtobodyfont[13pt]\high{#1}} % <- gives big number > > > \setupnote > [footnote] > [textcommand=\MyNote] > > \starttext > Hi there!\footnote{I’m a footnote.} > \stoptext > > > > Please run it with 12pt and also with 13pt: > The difference in the number's size is huge, not only 1pt!! > > for latin modern default set of points are 4pt,5pt,6pt,7pt,8pt,9pt,10pt,11pt,12pt,14.4pt,17.3pt (just grep the sources to see them); try one of these and see what happen. If you use something different (13pt) than the setupnote just uses the point you have chosen (I suppose). -- luigi ___ 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 ___
[NTG-context] buffer mechanism changed
Hi, isn't it possible to use the short way? \definebuffer[MottoSieben] \startbuffer[MottoSieben] \stopbuffer[MottoSieben] % but shouldn't it also work like this: %\startMottoSieben %\stopMottoSieben % ??? \starttext test\footnote{note} text \stoptext Steffen ___ 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 ___
[NTG-context] footnote mechanism broken (3)
This one is even more disturbing: Just by setting the note's color to green, each footnote is set on a single page!!! \setupnote[footnote][textcolor=green]% <- without this line the notes are set right \starttext \dorecurse{10}{\input ward\footnote{just one line. a test footnote. just one line. a test footnote.}} \stoptext Steffen ___ 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 ___
[NTG-context] footnote mechanism broken (2)
Hi, an other strange thing related to footnotes can be seen here: \def\MyNote#1{\switchtobodyfont[12pt]\high{#1}} % <- gives small number %\def\MyNote#1{\switchtobodyfont[13pt]\high{#1}} % <- gives big number \setupnote [footnote] [textcommand=\MyNote] \starttext Hi there!\footnote{I’m a footnote.} \stoptext Please run it with 12pt and also with 13pt: The difference in the number's size is huge, not only 1pt!! Steffen ___ 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 ___
[NTG-context] footnote mechanism broken
Hi, in vers. 20120112 this example give "Undefined control sequence": \setupnote[footnote][way=bypage] \starttext \input{tufte}\footnote{Note} \stoptext What's wrong? Steffen ___ 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 ___
Re: [NTG-context] Error Line Number
On Thu, Jan 12, 2012 at 8:11 PM, Kip Warner wrote: > On Thu, 2012-01-12 at 11:13 +0100, Hans Hagen wrote: > > such a message comes from stored macros so there is no such > > information > > So when you have a book of hundreds of pages in length split up over > dozens of tex files and ConTeXt emits an error, how do you know what > file / line number to examine? > Usually the strategy is to isolate the culprit by including progressively lengthy chunks of tex from the begin to end and then narrowing the selection until you find a macro or paragraph. Then surround it with \tracingall ... \trancingnone and you have a *huge* amount of informations. (btw, discover where an error happens it's known to be problematic due the inherently asynchronous nature of TeX and the macro programming language, where expansion can be very hard to understand) -- luigi ___ 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 ___