Re: [NTG-context] new units
If you are going to introduce new units, you should at least include the Potrzebie, invented by teenager Donald Knuth and published in the humor magazine Mad Magazine #33. The system is based on the thickness of Mad Magazine #26, equal to 2.2633484517438173216473 mm. See the Wikipedia entry for 'potrzebie' for more information, or search for suitable images. Honestly, I don't know how Knuth resisted putting this in plain TeX. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] Numbered Itemlist With Interruption
> On Apr 25, 2023, at 8:30 PM, jbf via ntg-context wrote: > > > \startitemize[continue]% THIS SHOULD DO WHAT YOU WANT Wow, thanks. I must have read that 'Enumerations' contextgarden wiki page a half dozen times and missed it anyway. Mike ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] Numbered Itemlist With Interruption
I am trying to have two numbered itemizations, with a paragraph in between, such that the second list starts where the first left off, without having to manually calculate the new start point. The following does not work, and I do not understand why. Mike \starttext \definecounter[mynumber][] \startitemize[n] \item The first item. \item The second item \item Item number \currentitemnumber{}, the last one. \setcounter[mynumber][\currentitemnumber] \stopitemize The \type{\getnumber[mynumber]} value is \getnumber[mynumber]. \incrementcounter[mynumber] And now the big finish, start at \getnumber[mynumber]: \startitemize[n][start=\getnumber[mynumber]] % WHY DOES THIS FAIL? \item Picking up where we left off. \item And all is well. \stopitemize Done! \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] Definestartstop, Narrower, and Blockquotej
I get a decidedly odd (or, at least, unexpected by me) result from this, based on the example on the contextgarden page for definestartstop: \starttext \defineblank[ExtractDistance][3pt] \definestartstop[Extract][ style=slanted, before={\blank[ExtractDistance] \setupnarrower[left=2in,right=1in] \startnarrower[left,right] \noindent}, after={\stopnarrower \blank[ExtractDistance] \indenting[next]}] %Now the following commands are available: \startExtract and \stopExtract \starttext The extract from Knuth \startExtract \input knuth \stopExtract \stoptext But now, blockquote is altered: \startblockquote \input lorem \stopblockquote But not narrower itself: \startnarrower \input lorem \stopnarrower \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] lmtx and \prime ?
I get a different result for mkiv and lmtx for the following input: \starttext Even now, a six footer is two standard deviations from the mean. Remember, 5\prime{}7\prime\prime{} is 50th percentile today for a 15 year old. \stoptext With mkiv, the prime marks for inches and feet are where I expect them; in lmtx, they are placed almost to the baseline. Wrong lmtx, or user error? Mike ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] If a Font Has Ligature Glyphs But No Feature?
I downloaded something that purports to be Century Expanded from fontsgeek.com. Although the font has fi and fl ligature glyphs, it does not have a ligature font feature and ConTeXt does not use those glyphs. Aside from purchasing a real font product from Linotype at enormous expense and hoping it is better equipped, is there a way to coerce ConTeXt into using the ligature glyphs for fi and fl? ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] lmtx \placeinitial with nonzero par indent?
Never mind. Apparently lmtx changed the default for \setupindenting from 'next' to 'first'? ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] lmtx \placeinitial with nonzero par indent?
The following produces different results in mkiv and lmtx (to which I am brand new): \setupinitial[distance=1pt,font=Serif at 36pt,n=2] \setupindenting[medium,yes] \starttext \placeinitial \input knuth \stoptext The mkiv output is the desired effect. It works fine in lmtx if I do not change to medium indentation. Is this a bug or a feature (i.e., should I change something to work properly in both environments)? ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] Full-page Figure?
> On Mar 30, 2022, at 11:38 PM, Hans Hagen wrote: > > does adding page=no help? > Yes. Once again, everyone’s help has been spot on. ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Full-page Figure?
Almost there. But if I add \setuppagenumbering [alternative=doublesided] to the example, there is a blank page before the makeup page, and an unnumbered blank page after. If I add doublesided=no to the \setupmakeup options, the unnumbered blank page is not there, but there is still a blank page before. It is seemingly forcing a right-hand page for some reason I do not understand. Mike > On Mar 28, 2022, at 6:37 PM, śrīrāma via ntg-context > wrote: > > On Tuesday, March 29, 2022 4:18 AM Michael Urban via ntg-context wrote: >> Is there a simple way to accomplish this? > > I suppose you need 'postponing'. See > https://wiki.contextgarden.net/Command/startpostponing > [One can specify a page explicitly, or, more conveniently, an offset] > > First, we define a makeup and enable header, footer and page for it. Then we > can put the float inside the makeup and wrap it with > \start...\stoppostponing. Here is a MWE: > > %%% start example > \setupexternalfigures[location=default] > \definemakeup >[FloatPage] > \setupmakeup >[FloatPage] >[headerstate=normal, > pagestate=start, > align=middle, > footerstate=normal] > > \setupheadertexts[] > \setupheadertexts[chapter][\date] > \setupfootertexts[pagenumber] > > \starttext > \startchapter [title={Chapter title}] >\startpostponing[+1] > \startFloatPagemakeup > \placefigure{a floating cow}{\externalfigure[cow]} > \stopFloatPagemakeup >\stoppostponing > \dorecurse{6}{\samplefile{knuth}} > \blank > > \dorecurse{2}{\samplefile{tufte}} > \stopchapter > \stoptext > %%% stop example > > Of course, I think some manual hand-tuning is required (in the final stages > of the document) in deciding the right place to put the postponing block and > in deciding what offset is best. > > Sreeram > > > ___ > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Full-page Figure?
I want to have a float (illustration for fiction, with caption) that takes up just one page, irrespective of the size of the image in the figure. This can be done with a \startmakeup, but makeup pages do not float, as near as I can tell; they interrupt the text (leaving a partly blank page); and of course they will not include headers and footers. And a float with [page] will start the figure on a new page as desired, but if the image is too small, other text will end up on the page, which is not the desired result. I want to vertically (and horizontally) center the figure on the page, with no other content but glue, in the main text block. Headers and footers should appear as normal. Is there a simple way to accomplish this? Mike ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Indented Paragraph After Float?
On Feb 7, 2022, at 6:10 PM, śrīrāma via ntg-context wrote: > > On Tuesday, February 8, 2022 7:12 AM Michael Urban via ntg-context wrote: >> produces output (for me) with the next paragraph after the figure placement >> unindented. I cannot think of a workaround hack in this case. > > Some location values seem to affect the indentation in the next paragraph. A > fix > is to use \indentation after \stopplacefigure. > Wow, that was fast. At least I know it wasn‘t a misunderstanding on my part this time! Thanks. Mike ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Indented Paragraph After Float?
As always, it is hard to tell whether this is my stupidity, the wrong version of ConText, or a bug. \setupfloat[figure][indentnext=yes] \starttext %\setupbodyfont[11pt] \setupindenting[yes, medium] \input ward \startplacefigure[title=A Figure,location=page] \startframedtext \input ward.tex \stopframedtext \stopplacefigure Why am I not indented? \input ward \stoptext produces output (for me) with the next paragraph after the figure placement unindented. I cannot think of a workaround hack in this case. mtx-context | ConTeXt Process Management 1.03 mtx-context | mtx-context | main context file: /usr/local/texlive/texmf-local/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2020.03.10 14:44 mtx-context | main context file: /usr/local/texlive/texmf-local/tex/context/base/mkiv/context.mkxl mtx-context | current version: 2020.03.10 14:44 ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Odd Font Behavior in startstop Group
I am experiencing an odd behavior switching text styles in a defined startstop group ("blockquote"). I get different behavior depending on whether the switchtobodyfont in the startstop definition includes the dummy {\it } and {\bf } text. If they are not there, the italic and boldface switches in the second blockquote revert to the gyreschola body font of the main text; but this only happens if there is an earlier blockquote with no style changes. This is with: $ context --version mtx-context | ConTeXt Process Management 1.03 mtx-context | mtx-context | main context file: /usr/local/texlive/texmf-local/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2020.03.10 14:44 mtx-context | main context file: /usr/local/texlive/texmf-local/tex/context/base/mkiv/context.mkxl mtx-context | current version: 2020.03.10 14:44 Do I need a newer version of ConTeXt, or am I doing something wrong? Fonts in ConTeXt are always perilous, alas. For me, anyway. \definefallbackfamily[story][serif][notoserif][range={greekandcoptic,greekextended},force=yes] \definefontfamily[story][serif][TeX Gyre Schola] \definefontfamily[story][sans][modern] \definefontfamily[story][mono][modern] \definefontfamily[story][mm][TeX Gyre Pagella Math] \setupbodyfont[story,11pt] \definestartstop[blockquote] [ before={ \blank \startnarrower \setupwhitespace[2pt] \setupindenting[none] \switchtobodyfont[termes]{\it }{\bf }% This is so weird. Put a comment marker after [termes] for a different result }, after={ \stopnarrower \blank \indenting[next]}, ]% \starttext \chapter{Testing} \input ward \startblockquote \input knuth \stopblockquote \input zapf {\it This is what Italic letters look like.} {\bf And these are bold.} \startblockquote This is what it said, in {\it Italic} and {\bf bold} letters: \bgroup \it\noindent This is what Italic letters look like here. \egroup \bgroup \bf\noindent This is what Bold letters look like here. \egroup \stopblockquote \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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Get Current Section Number
I want to put a book title above the Chapter title for the first chapter of a book. I suppose that this can be accomplished with a 'before=' clause that checks to see if it is the first chapter... but how do I look at the chapter number in order to set up the conditional? Mike ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Table of Contents Header?
I am playing around with imitating the design of fiction books from the early 20th century. The table of contents for these books often has small headings, 'CHAPTER' (or 'CHAP.') and 'PAGE' over the respective columns. How might this best be accomplished in ConTeXt? Just add a carefully formatted line before the \placecontent ? Or is there some more foolproof way of getting those headers into the right place? ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Problem with Google Font 'Vollkorn'
I downloaded the Google free font ‘Vollkorn’ (https://fonts.google.com/specimen/Vollkorn) into an appropriate directory and ran mtxrun --script font --reload all went well, and the Vollkorn truetype fonts show up in the output of mtxrun --script font --list --all . However, the following input: \starttext \definedfont[name:vollkornregular*default at 14pt] \input tufte \stoptext fails, with the following output: system > ConTeXt ver: 2020.03.10 14:44 MKIV beta fmt: 2020.6.8 int: english/english fonts > otf loading > loading 'MYPATH/texmf/fonts/truetype/google/Vollkorn-Regular.ttf', hash 'vollkorn-regular' fonts > otf loading > loading failed due to read error fonts > defining > forced type 'ttf' of 'Vollkorn-Regular' not found fonts > defining > font with asked name 'Vollkorn-Regular' is not found using lookup 'name' fonts > defining > unknown font 'Vollkorn-Regular', loading aborted This is on Mac OSX. I don't recall this problem coming up before. Evidently the difficulty is that it is expecting an otf font and is confounded by the truetype file. The ConTeXt font system always bewilders me, but this time it's pretty specific. Help? ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Calculating Best Box Width?
I am not especially facile with ConTeXt, and it has been years since I did anything complex with TeX, so I am hoping someone could help me with this. The following is probably not great code, but it shows what I am trying to do. The problems are twofold: a benign problem is that I get underfull hbox errors (\dontcomplain notwithstanding). But the other problem is that with text of a certain size, the final line is much shorter than the others. Is there some clever way to repeatedly typeset the text (e.g., put it in an hbox, measure the width, and repeatedly try .5, .333, .25 of the hbox width until it fits in the allocated space)? How to go about this? \defineblank[EpigraphDistance][3pt] \definestartstop[EpigraphText][ style=\ssa, before={\blank[EpigraphDistance] \setupnarrower[left=.25\textwidth,right=0pt] \startnarrower[left,right] \setupalign[flushright,nothyphenated,broad] \dontcomplain \noindent}, after={\stopalignment\stopnarrower \blank[EpigraphDistance] \indenting[next]}] \long\def\epigraph#1#2#3{% \startEpigraphText #1 \par \stopEpigraphText \ifx\hfuzz#3\hfuzz \rightaligned{\ssa\sl --- #2} \else \rightaligned{\ssa\sl --- #2, \tf\ssa\symbol[leftquote]#3\symbol[rightquote]} \fi } \starttext Testing epigraph \epigraph{% para \quotation{My birthday-present!} he whispered to himself, as he had often done in the endless dark days. \quotation{That's what we\unknown} }{J.R.R. Tolkien}{The Hobbit} That was an epigraph. \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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] OK, I Don't Quite Understand \definefontfamily
OK, that worked. Thank you for your help. ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] OK, I Don't Quite Understand \definefontfamily
> On Sep 28, 2020, at 12:39 PM, Wolfgang Schuster > wrote: > > Michael Urban schrieb am 25.09.2020 um 21:12: >> I don't seem quite able to put it all together, forgive the question. >> I have a 'Bookman' font setup, pretty vanilla: >> \definetypeface [Bookman] [rm] [serif] [bonum] [sl=name:unituscndboldoblique] >> \definetypeface [Bookman] [tt] [mono] [modern] [default] >> \definetypeface [Bookman] [ss] [sans] [unitus] [default] >> \definetypeface [Bookman] [mm] [math] [modern] [default] >> (Unitus is the fontsite 500 'Univers' substitute, works fine) >> Now, the built-in gyre bonum font doesn't have a slanted/oblique variant, so >> if I have Bookman as my main body >> font, \sl produces (unsurprisingly) the same result as \it, >> TexGyreBonum-Italic. If I want \sl to summon >> Latin Modern for the variant, I have tried variations on >> \definetypeface [Bookman] [rm] [serif] [bonum] [sl=file:Latin Modern Roman >> Slanted] >> but to no avail — not helped by the fact that the \definetypeface >> contextgarden page doesn't have any pointer to just what that fifth >> argument can contain. > > https://wiki.contextgarden.net/Command/definetypeface > >> How do I accomplish this? > > Use \definefontfamily which is missing in your example. > > \definefontfamily [Bookman] [rm] [TeX Gyre Bonum] > [sl=features:{*,slanted}, > bs=features:{*,slanted}] > > \definetypeface [Bookman] [mm] [math] [modern] [default] > > \setupbodyfont [Bookman] > > \starttext > \tf upright \it italic \sl slanted \bf bold \bi bolditalic \bs boldslanted > \stoptext > > Wolfgang Except that this does not work, because, as I said, the Gyre Bonum font has no builtin slanted version. So, I want to use some other font (like Latin Modern) for a substitute for \sl . ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] OK, I Don't Quite Understand \definefontfamily
> On Sep 25, 2020, at 12:12 PM, Michael Urban wrote: > > \definetypeface [Bookman] [rm] [serif] [bonum] [sl=name:unituscndboldoblique] Oops, this was one of my bad attempts. the fifth argument is actually omitted in the normally working version. ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] OK, I Don't Quite Understand \definefontfamily
I don't seem quite able to put it all together, forgive the question. I have a 'Bookman' font setup, pretty vanilla: \definetypeface [Bookman] [rm] [serif] [bonum] [sl=name:unituscndboldoblique] \definetypeface [Bookman] [tt] [mono] [modern] [default] \definetypeface [Bookman] [ss] [sans] [unitus] [default] \definetypeface [Bookman] [mm] [math] [modern] [default] (Unitus is the fontsite 500 'Univers' substitute, works fine) Now, the built-in gyre bonum font doesn't have a slanted/oblique variant, so if I have Bookman as my main body font, \sl produces (unsurprisingly) the same result as \it, TexGyreBonum-Italic. If I want \sl to summon Latin Modern for the variant, I have tried variations on \definetypeface [Bookman] [rm] [serif] [bonum] [sl=file:Latin Modern Roman Slanted] but to no avail — not helped by the fact that the \definetypeface contextgarden page doesn't have any pointer to just what that fifth argument can contain. How do I accomplish this? ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Odd Behavior in pdftex/xetex
text and non text and such If he use \retype the table works. Thanks; and so does \asciistr I cannot find documentation on \retype, \asciistr, nor \simplifytype ; in which situations should these be used? ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Odd Behavior in pdftex/xetex
The following specimen was run on live.contextgarden.net with each of the three typesetters: \setupcolors[state=start] \starttext \input knuth \bTABLE \bTR [align=middle]\bTH Range\eTH{}\bTH Value\eTH{}\eTR \bTR \bTD \type{} 12\eTD{}\bTD 3\eTD{}\eTR \bTR \bTD 12--16\eTD{}\bTD 2\eTD{}\eTR \bTR \bTD \type{}16\eTD{}\bTD 1\eTD{}\eTR \eTABLE \input knuth \stoptext In the case of pdfTeX and XeTeX, the table is given a width equal to the textwidth; in the caes of LuaTeX, it is typeset correctly with natural widths. When \setupcolors is removed, both pdfTeX and XeTeX also produce the correct result. This sounds like a bug to me (and took me forever to isolate \setupcolors - of all things! - as the culprit). ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Arranging into Signatures?
(I am still using mkii, which I suspect may matter in this case) I am able to produce rather nice booklets on US Letter paper, printing double-sided two-up pages that fold into a booklet and using texexec --arrange to make it work properly. For documents longer than about 32 pages, it isn't really practical to fold in half. What would y'all recommend if I want to arrange the pages into signatures, each containing about 32 pages, that can then be somehow bound together? An external PDF rearranger might be an option, I suppose. ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Referencing Itemized Items?
Is there some way to set up a reference tag so that I can refer to a particular item in a list, e.g., something vaguely like: You must do the following steps: \startitemize[n] \item Buy the ingredients \item Cook the food \item [??] Put out the fire \stopitemize Note that Step \in[?] is optional for experienced chefs. It looks like there are mechanisms to support this in the tex code, but I don't know how to use them. ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___