Re: [NTG-context] new debian context 2006.12.21-0.1
On Friday 22 December 2006 02:29, Frank Küster wrote: And, in particular, something which explains in 5 lines why one would want to use ConTeXt instead of LaTeX. My 2 cents: Context has more coherent design, more control of page layout, more choice of font sizes, more direct control of pretty much everything. The automatic iterated construction of TOC, index, references, etc is nice too. The docs I build are subject to various formatting requirements laid down in law. They are feasible in both OpenOffice and Context but they are not feasible in Latex without a great deal of work. --Mike Bird ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] new debian context 2006.12.21-0.1
On Friday 22 December 2006 08:18, Norbert Preining wrote: The main difference between ConTeXt and LaTeX lies in the fact that LaTeX was created with the idea of separating content and presentation to such an extent that the typical author would write their content and then use a style file created by someone else to provide the visual presentation. . ConTeXt, on the other hand, retained the idea of separating content and presentation, but was created with the idea of being used for books, where each book tends to have a different layout, and so the expected end user is the person doing all the layout. Thus, it's designed to provide a vast amount of flexibility for layout in a way that can be fairly easily defined without needing to write a package Since one can move one's layout into a package in a few seconds and then include that package into a document, I think this somewhat misses the mark. Latexstualists may disagree but I think the essence is that Context gives more control and makes it easier to create new layouts. Whether or not those new layouts are in a document file or a separate package is not relevant. Nor is the original purpose for which Context was created relevant, as both Latex and Context are used for a lot more than math papers and books. --Mike Bird ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Where is ifforwardreference defined?
\somewhere sometimes prints the wrong text. To track down the problem I tried to find the definition for \ifforwardreference. I can see where \iffowardreference is declared to be a \newif but I can't find where the algorithm is defined: $ grep -r ifforwardreference . ./tex/context/base/core-ref.tex:\newif\ifforwardreference ./tex/context/base/core-ref.tex:\def\doifforwardreferenceelse#1#2% ./tex/context/base/core-ref.tex: {\ifforwardreference#1\else#2\fi} ./tex/context/base/core-ref.tex: {\ifforwardreference ./tex/context/base/core-ref.tex:\ifforwardreference Binary file ./web2c/pdfetex/cont-de.fmt matches Binary file ./web2c/pdfetex/cont-en.fmt matches Binary file ./web2c/pdfetex/cont-it.fmt matches $ Does anyone know where \ifforwardreference is defined? Thanks, --Mike Bird ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt 2007.01.02
On Tuesday 02 January 2007 06:19, Taco Hoekwater wrote: * footnote referencing fix Taco, The problem seems to have changed but it is still there. New test case: \starttext \chapter[A]{One} \footnote{foot} \chapter[B]{Two} \somewhere{before}{after}[B] \stoptext --Mike Bird ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt 2007.01.02
On Thursday 04 January 2007 00:31, Taco Hoekwater wrote: I do not have a solution, but a hint for Hans: could this be related to that bug where footnotes in vertical mode are distinct from footnotes in horizontal mode? Hi Taco, I don't think so. The \somewhere problem remains if we add a few characters to the test case to force horizontal mode: \starttext \chapter[A]{One} Text.\footnote{foot} \chapter[B]{Two} Text \somewhere{before}{after}[B]. \stoptext --Mike Bird ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] HZ with latest ConTeXt
On Friday 05 January 2007 12:04, Peter Münster wrote: I can get hanging but no hz (no difference between 2nd and 3rd page). What is needed to get hz? This answer is not definitive but based only on my own experiences. 1) I was unable to get hz in some fonts. If I haven't missed anything relevant in extracting this from a large document, the following fragment gives me hz (and hanging/handling) in NimbusRomNo9L: \usetypescript[serif,sans,mono][handling][normal] \usetypescript[serif,sans,mono][hz][highquality] \setupalign[hanging,hz] \usetypescript[adobekb][\defaultencoding] \usetypescript[serif][postscript,courier,helvetica,times] [\defaultencoding,name] \setupbodyfont[Serif,13pt] 2) As hz is sometimes not obvious when viewed, I check the fonts in the resulting PDF to see if any are extended. Most PDF viewers list the fonts under File/Properties or similar or you can pdffonts foo.pdf at the command line. --Mike Bird ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt 2007.01.02
On Thursday 04 January 2007 01:40, Taco Hoekwater wrote: I've created a bug item for this. The bug item mail gateway is broken so I'll send this clue to the list instead. The \somwhere problem seems to be related to pages now. Adding '\setuphead[chapter][page=no]' at the beginning of the bug #50 test case removes the problem. A similar correlation between pages and reference errors is also apparent in a larger test. --Mike Bird ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt 2007.01.02
On Sunday 07 January 2007 10:05, Hans Hagen wrote: can you prepare a set of (small test files)? How about a file of a small set of tests? \setuphead[chapter][page=no] \def\Test#1{% \DoTest#1\par% \backslash somewhere test case - pairs of +/- (expected/actual) should match.\footnote{\DoTest#1}\par% \DoTest#1\par% } \def\DoTest#1#2#3#4{% #1\somewhere{+}{-}[A]\hskip4em% #2\somewhere{+}{-}[B]\hskip4em% #3\somewhere{+}{-}[C]\hskip4em% #4\somewhere{+}{-}[D]% } \starttext \Test{} \chapter[A]{A} \Test{+---} \section[B]{B} \Test{++--} \page \chapter[C]{C} \Test{+++-} \section[D]{D} \Test{} \stoptext --Mike Bird ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Footnote lost
In this example, the first footnote number appears correctly in the body of the page but the first footnote is never placed in the footer. The second footnote is handled correctly. Therefore the first footnote is not merely deferred but lost. \starttext \setupquotation[right={''\footnote{First}}] \startquotation Loses footnote. \stopquotation \setupquotation[right={''}] \quotation{OK}\footnote{Second} \stoptext --Mike Bird ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Footnote lost
On Wednesday 10 January 2007 01:06, Taco Hoekwater wrote: Can you look through the list archive a bit? There was a thread begin december last year about the exact same topic. Hi Taco, I assume you're referring to this thread: http://archive.contextgarden.net/thread/20061206.202611.e8722446.en.html However that was a more complicated test case because it involved the bib module and cite. Also it referred to problems with footnotes in vertical mode whereas the new test case includes the footnote in setupdelimitedtext/right where it appears to be in horizontal mode. In fact the new test case is similar to the workaround actually suggested in: http://archive.contextgarden.net/message/20061203.141335.f50b33ff.en.html Changing just \MyMagic in the suggested workaround to avoid \cite gives: \definedelimitedtext [myquotation] [left={\symbol[leftquotation]}, right={\symbol[rightquotation]\MyMagic}, leftmargin=standard] \long\def\startcitedquotation[#1]#2\stopcitedquotation {\bgroup \def\MyMagic{~\footnote{#1}} \startmyquotation #2\stopmyquotation \egroup} \starttext \startcitedquotation[schmitz2006] overly beautiful pusillanimous sesquipedalian longwinded \stopcitedquotation \stoptext - which also loses the footnote. The thread included another possible workaround at: http://archive.contextgarden.net/message/20061204.095032.227c83ef.en.html - but that lost all the power of setupdelimitedtext. Therefore I suggest that my simple test case is still worthy of consideration: \starttext \setupquotation[right={''\footnote{First}}] \startquotation Loses footnote. \stopquotation \setupquotation[right={''}] \quotation{OK}\footnote{Second} \stoptext For those who need footnoted or cited quotations, another workaround is to \setupquotation[location=text]. This retains the power of \setupdelimitedtext without running into the bug which I suspect lies in or near \dostopdelimitedtexpar. You may have to fiddle with \par and/or \nospace to get the layout exactly as desired. --Mike Bird ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Footnote lost
Hi Taco, On Thursday 11 January 2007 01:51, Taco Hoekwater wrote: https://foundry.supelec.fr/tracker/index.php?func=detailaid=63group_id=21 atid=164 That page says: \setupquotation[right={''\footnote{First}}] is not usable because it gets fed into \symbol[] Material is passed through \symbol BEFORE assigning to right: \definedelimitedtext [\v!quotation] [\c!left={\symbol[\c!leftquotation]}, \c!right={\symbol[\c!rightquotation]}, \c!leftmargin=\v!standard] If right is subsequently passed through \symbol again, I haven't been able to find where it is done. --Mike Bird ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Footnote lost
On Thursday 11 January 2007 13:54, Aditya Mahajan wrote: How about? \unprotect \def\rightdelimitedtextmark {\delimitedtextparameter\c!right} \protect Hi Aditya, I've run with your patch for a while. It fixes the missing footnote problem and I haven't noticed it causing any new problems. While you're on a winning streak, perhaps you'd like to look at another problem in the same area? When \quotation is used instead of \startquotation a footnote number is skipped: \starttext \setupquotation[right={''\footnote{First}}] \quotation{Skips footnote number.} \stoptext This happens with or without your \rightdelimitedtextmark patch. Thanks, --Mike Bird ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt 2007.01.12 problem
On Friday 12 January 2007 06:43, Alan Bowen wrote: Processing a file that used to typeset successfully now gets the error message: ! Undefined control sequence. \initializenextposition ...dosetpositionpapersize {\printpaperwidth } {\print... \setposition ...ing \else \initializenextposition \def Hi Norbert, context_2007.01.12-1 has this problem. You might want to pull it until a new package is available as this problem is a bit of a showstopper. --Mike Bird ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt 2007.01.12 problem
On Friday 12 January 2007 11:54, Taco Hoekwater wrote: Mike Bird wrote: context_2007.01.12-1 has this problem. You might want to pull it until a new package is available as this problem is a bit of a showstopper. Is this a side-effect of context 2007.01.12 demanding pdftex 1.40? It's the problem Hans diagnosed as material missing from the end of spec-mis.tex . He said he would upload a new zip but I don't know if that has happened yet. --Mike Bird ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Can't create more than about 240 footnotes
I run out of space around the 240th footnote in a document. It appears that ConTeXt may be reloading or redefining a footnote font for each footnote or footnote number. Is this a known problem with a known solution? Thanks, --Mike Bird references : unknown reference [][fnt:t:240] references : unknown reference [][fnt:f:240] references : unknown reference [][fnt:t:241] references : unknown reference [][fnt:f:241] ! Font \*10.4ptrmtfrm*=ptmr8t at 10.4pt not loaded: Not enough room left. to be read again \relax \xxdododefinefont ...tspec {#4}\newfontidentifier \let \localrelativefontsiz... \fontstrategy ...ame #1\csname #2#3#4#5\endcsname \tryingfontfalse \fi inserted text ...yle \fontalternative \fontsize \fi \iftryingfont \fontstr... \synchronizefont ...strategy \the \fontstrategies \relax \fi ... ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Can't create more than about 240 footnotes
On Monday 22 January 2007 20:30, Aditya Mahajan wrote: On Mon, 22 Jan 2007, Mike Bird wrote: I run out of space around the 240th footnote in a document. It appears that ConTeXt may be reloading or redefining a footnote font for each footnote or footnote number. Is this a known problem with a known solution? No. This works fine here \starttext \dorecurse{500} {\input knuth\footnote[note:\recurselevel]{this is a footnote}\endgraf} \stoptext Hi Aditya, Thanks for checking. I've been unable as yet to create a simple test case. It must be a combination of things. I'll post a test case when I have one. Thanks, --Mike Bird ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Preventing page break
On Tuesday 23 January 2007 16:25, Elliot Clifton wrote: In my double sided layout how can I stop ConTeXt from adding an empty page when a section ends. Hi Elliot, Does \setuphead[chapter][before={\page[yes]}] do what you want? --Mike Bird ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Quotation nesting is broken
\starttext \quotation{This \quote{works} as expected.} \startquotation Closing double-quote is \quote{broken} here. \stopquotation \stoptext --Mike Bird ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Preventing page break
On Wednesday 24 January 2007 08:21, Elliot Clifton wrote: Mike wrote: Does \setuphead[chapter][before={\page[yes]}] do what you want? No. I want to remove empty pages that are being auto generated at the end of a section. Hi Elliot, I think you'll need to post the relevant part of your setup, as ConTeXt does not create empty pages after sections by default, even in double-sided documents: \starttext \setuppagenumbering[alternate=doublesided] \section{A} \section{B} \stoptext --Mike Bird ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Para and Section marks oversize in 2007-01-23
\starttext \P ~I Have to go back to version 2007-01-12 because\crlf \P ~these enormous paragraph and section marks make\crlf \S ~context 2007-01-23 useless for me. Where they\crlf \S ~occur together (e.g. TOC) they look like some\crlf \S ~kind of decoration and are unrecognisable. \stoptext context_2007.01.23-1_all.deb lmodern_1.00-3_all.deb --Mike Bird ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Problems with fonts
On Sunday 04 February 2007 06:34, Kumar Appaiah wrote: But now, whenever I do texexec filename, I get a PDF with many mathematical symbols missing. So, I do this: Hi Kumar, FWIW, I've had better luck with a slightly earlier version of context (before the big pdftex and lm changes): http://www.tug.org/texlive/Debian/context/context_2007.01.12.2-1_all.deb --Mike Bird ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Tip: PlaceRegisterInline
In Context one can use registers for powerful sorting with single or multiple keys. However, it's a little tricky if you want the result to appear other than one element per line. Here's a macro that does the job: \def\PlaceRegisterInline[#1,#2,#3]{% Register Before After \bgroup \let\par=\empty \let\endgraf=\empty \edef\goodbreak{#2}% \let\doregistercharactera=\doregistercharacterb \placeregister[#1][% after=,% before=,% distance={0em{#3}},% indicator=no,% n=1,% symbol=none]% \egroup} For example, to place elements of register R in brackets one can use \PlaceInlineRegister[R,{[},{]}] and achieve something like [A][B][C]. --Mike Bird ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] layout maximal width and height
On Sunday 22 April 2007 09:00, Hans Hagen wrote: Thomas A. Schmitz wrote: As an aside: Isn't this something we discussed in Epen? Adding a new footer to messages in the list that would refer people to the wiki and ask them to post the solutions there? as far as i can see, there is no option to add such a footer in the mail program Hans, There ought to be such an option on a page with an address something like this: http://www.ntg.nl/mailman/admin/ntg-context/nondigest If that doesn't work go to the mailing list's page, then to the admin link near the bottom, then to the non-digest options link near the top. If you send digests then there's a similar page where you can change the digest footer. --Mike Bird ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context