[NTG-context] Broken Nightly 2012.03.02
Hey list, While attempting to compile my book, I get the following error: $ context Source/Handbook.tex --purgeresult ... graphics> invalid region for 'tbg:1' ! TeX capacity exceeded, sorry [input stack size=1]. \next \doifmeaningelse ...>\edef \!!stringa {\meaning #1 }\def \!!stringb {#2}\edef... \spac_lines_between ...ningelse \next \obeyedline {\linesparameter \c! inbetw... \doifmeaningelse ...meaning #1}\def \!!stringb {#2 }\edef \!!stringb {\meanin... \spac_lines_between ...ningelse \next \obeyedline {\linesparameter \c! inbetw... \doifmeaningelse ...meaning #1}\def \!!stringb {#2 }\edef \!!stringb {\meanin... ... l.34 ... and the methane/oxygen return propellant. ! ==> Fatal error occurred, no output PDF file produced! mtx-context | fatal error: return code: 1 This happened with nightly 2012.03.02. -- 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 ___
[NTG-context] Paragraph beginning with { doesn't flow around a float
Hello everybody, I found a problem with text flowing around a float. As far as I understand the problem, if a paragraph begins with a {, it doesn't flow around a float. Here is a minimal example : \starttext \placefigure[left]{}{\framed[width=50mm,height=20mm]{}} {\bf Lorem} ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor. Cras elementum ultrices diam. Maecenas ligula massa, varius a, semper congue, euismod non, mi. Proin porttitor, orci nec nonummy molestie, enim est eleifend mi, non fermentum diam nisl sit amet erat. Duis semper. Duis arcu massa, scelerisque vitae, consequat in, pretium a, enim. Pellentesque congue. Ut in risus volutpat libero pharetra tempor. Cras vestibulum bibendum augue. Praesent egestas leo in pede. Praesent blandit odio eu enim. \stoptext Everything works fine with paragraphs that don't start with a {. I found the following workaround: \hskip0mm{\bf Lorem} ipsum dolor ... (\relax doesn't work) I am using ConTeXt ver: 2011.05.18 18:04 MKIV fmt: 2011.7.31 int: english/english It is the same with ConTeXt ver: 2011.05.18 18:04 MKII fmt: 2011.7.31 int: english/english I didn't see any relevant message in the log file. It is not really a problem for me as I have found a simple workaround. I thought however that it might be useful to the community to report the problem. -- Jean-Philippe Rey Professeur - École Centrale Paris jean-philippe@ecp.fr 92295 Châtenay-Malabry Cedex - France ___ 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] Problem with external cross-references
Hello Hans, Le 2 mars 2012 à 20:59, Hans Hagen a écrit : > On 25-2-2012 17:47, Jean-Philippe Rey wrote: >> Hello everybody, >> >> I'm trying to use external cross-references between two files but I can't >> make it work with MkIV. I am using ConTeXt current >> >> ConTeXt ver: 2011.05.18 18:04 MKIV fmt: 2011.7.31 int: english/english >> >> >> With MkII, the following minimal example works perfectly well : >> >> % file test_crossref1 >> \starttext >> \chapter[lorem]{Lorem} >> Lorem ipsum dolor sit amet, consectetur adipiscing elit \in{Chapter}[lorem]. >> \stoptext >> >> % file test_crossref2 >> \usereferences[test_crossref1] >> \starttext >> Lorem ipsum dolor sit amet, consectetur adipiscing elit \in{Chapter}[lorem]. >> \stoptext > > \useexternaldocument[xref][test_crossref1] > > \starttext >Lorem ipsum dolor sit amet, consectetur adipiscing elit > \in{Chapter}[xref::lorem]. > \stoptext Thank you for your answer, but it doesn't work. I still get an undefined reference and the following lines in the log file references > references from document 'test_crossref1' are not exported references > unknown reference [][xref::lorem] -- Jean-Philippe Rey Professeur - École Centrale Paris jean-philippe@ecp.fr 92295 Châtenay-Malabry Cedex - France ___ 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] \setuphead problem
Many thanks, Wolfgang, I will send you the files off list. Alan On Sat, Mar 3, 2012 at 9:58 AM, Wolfgang Schuster < schuster.wolfg...@googlemail.com> wrote: > > Am 03.03.2012 um 14:43 schrieb Alan Bowen: > > Excellent, Wolfgang. You are right. Many thanks. But if I may impose just > a little longer on your patience, let me explain my problem further. > > In my example, that \page[makeup] to be removed stood for a key element in > the sequence > \page[makeup] > \stoptext > \stopcomponent > that typically closes a component in the prd file that I use to produce > volumes of a journal. > > > Why do you use \stoptext before \stopcomponent? > > Without \page[makeup], when I run my prd file, the page number of a > component is appears on the last page of the preceding component. If I keep > the \page[makeup], each component is followed by a blank page (with header) > that precedes the title page of the new component. > > In short my example replicated what I was seeing but fixing the example > does not fix the original problem. Is there a canonical way to close > components in MKIV that I have missed? (This env/prd setup *does* work in > MKII—I have 8 volumes to show for it.) > > > Can you make a example or send me the files offlist. > > 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 > > ___ > ___ 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] \inmargin
Great, thank you. Just in case I missed it on the mailing list... Is there a way of floating a margin text to the top/bottom of the page (aligning with the top/bottom of the text area)? >> Could someone savant provide me with a rough overview of how to place >> text in a margin these days, or else point me to a reference. (I >> searched the garden without success.) > > > You place them in the same way as you did it in the past: > > \starttext > > \input ward > > \inmargin{INMARGIN} > > \input ward > > \inleft {INLEFT} > \inright{INRIGHT} > > \input ward > > \ininner{INNER} > \inouter{OUTER} > > \input ward > > \stoptext > > What has changed is how to defined a new command (\defineinmargin vs. > \definemargindata) > and how to customize these commands (\setupinmargin vs. \setupmargindata + > \setupmarginframed). > > 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] \inmargin
Am 03.03.2012 um 16:59 schrieb S Barmeier: > Could someone savant provide me with a rough overview of how to place > text in a margin these days, or else point me to a reference. (I > searched the garden without success.) You place them in the same way as you did it in the past: \starttext \input ward \inmargin{INMARGIN} \input ward \inleft {INLEFT} \inright{INRIGHT} \input ward \ininner{INNER} \inouter{OUTER} \input ward \stoptext What has changed is how to defined a new command (\defineinmargin vs. \definemargindata) and how to customize these commands (\setupinmargin vs. \setupmargindata + \setupmarginframed). 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 ___
[NTG-context] \inmargin
Could someone savant provide me with a rough overview of how to place text in a margin these days, or else point me to a reference. (I searched the garden without success.) Many thanks, Severin ___ 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] \setuphead problem
Am 03.03.2012 um 14:43 schrieb Alan Bowen: > Excellent, Wolfgang. You are right. Many thanks. But if I may impose just a > little longer on your patience, let me explain my problem further. > > In my example, that \page[makeup] to be removed stood for a key element in > the sequence > \page[makeup] > \stoptext > \stopcomponent > that typically closes a component in the prd file that I use to produce > volumes of a journal. Why do you use \stoptext before \stopcomponent? > Without \page[makeup], when I run my prd file, the page number of a component > is appears on the last page of the preceding component. If I keep the > \page[makeup], each component is followed by a blank page (with header) that > precedes the title page of the new component. > > In short my example replicated what I was seeing but fixing the example does > not fix the original problem. Is there a canonical way to close components in > MKIV that I have missed? (This env/prd setup does work in MKII—I have 8 > volumes to show for it.) Can you make a example or send me the files offlist. 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] \setuphead problem
Excellent, Wolfgang. You are right. Many thanks. But if I may impose just a little longer on your patience, let me explain my problem further. In my example, that \page[makeup] to be removed stood for a key element in the sequence \page[makeup] \stoptext \stopcomponent that typically closes a component in the prd file that I use to produce volumes of a journal. Without \page[makeup], when I run my prd file, the page number of a component is appears on the last page of the preceding component. If I keep the \page[makeup], each component is followed by a blank page (with header) that precedes the title page of the new component. In short my example replicated what I was seeing but fixing the example does not fix the original problem. Is there a canonical way to close components in MKIV that I have missed? (This env/prd setup *does* work in MKII—I have 8 volumes to show for it.) All best, Alan On Sat, Mar 3, 2012 at 3:37 AM, Wolfgang Schuster < schuster.wolfg...@googlemail.com> wrote: > > Am 02.03.2012 um 17:35 schrieb Alan Bowen: > > Wolfgang— > > In both MKII and MKIV (using the latest standalone which I installed this > morning), with > > > \setupheader[state=high] > \setuppagenumbering[alternative=doublesided] > \setuppagenumbering[location=,] > \setuphead[title][page={header,yes}] > \definehead[BookTitle][title] > \setuphead[BookTitle][before={\noindent\textrule},style=rm] > \setuphead[BookTitle][header=high] > \setupheadertexts[text] > [\cap{A.\ U.\ Thor}] > [\pagenumber] > [\pagenumber] > [\it{The Journal}] > > \starttext > \dorecurse{6}{\input knuth} > \page[makeup] > \BookTitle{{\em An Indubitably Important Book} by A.\ U.\ Thor} > \dorecurse{10}{\input knuth} > \page[makeup] > \stoptext > > the problem remains, that is, the header on the page preceding the page > with the title is not suppressed. The same is true when I have > \setuphead[title][page={blank,yes}], > except then there are no headers at all after the page with the title on > it. Does it work for you? > > > Remove \page[makeup] before \BookTitle and the header disappears. > > 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 > > ___ > ___ 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] first and last line number on page
Hi there, with the following sample: \starttext \startlinenumbering \dorecurse{10}{\input zapf\par\input knuth} \stoplinenumbering \stoptext I would like to have a header that contains the first and last line number on the page. Is there any way to do that? (The ConTeXt reference manual and the wiki seem not to have an answer to this question.) Many thanks for your help, Pablo -- http://www.ousia.tk ___ 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] Bug in ConTeXt? Conflict in titles, sections and bibliography (was bibliography problems)
Hello ConTeXist. I present an bug with which I have been seeing over the last few versions of Context. In collaboration with Thomas, who helped me find the perfect minimal example, I managed to finally find out what is the core of my problem. But it is perhaps deeper than at first glance. Bibliographic system is today (last version of standalone) in conflict with results of \title and \section commands. I show in the example below, how strange it works ConTeXt, while using inserting of the bibliography together with title and section commands. I want show three cases of behavior of ConTeXt: As you see below then: 1. When document is both without Title and without Section (both commands are commented) then you see a problem with list of bibliography - list of figures and list of bibliography are mixed. 2. When document is with Title (uncomment \title command) then you see that bibliography is not working. You get errors in bibliography links and ConTeXt do not include list of bibliography. 3. When document is with Section (uncomment \section command) then you see that all is working now without any problems - links are right and list of bibliography is correct too. Additionally, you can track down and how it behaves ConTeXt when inserting figure with or without captions (in case 1). It really is a bug somewhere or doing something wrong? Thanx Jaroslav Here is minimal example: \setupbibtex[database=sample] \setuppublications[alternative=ams, sorttype=cite] \starttext %\section{Section} % When you uncomment this line you see, that everything is OK, both bibliography links and list of bibliography works fine \title{Title} % When you uncomment this line you see, that bibliobraphy links are broken and ConTeXt do not include list of bibliography Citations are \cite[hh2010b] and \cite[hh2010a]. \placefigure[force][fig1]{Caption of figure \cite[Eijkhout1991] with citation} % get "mixing" problem {\externalfigure[fig1]} % \placefigure[force, none][fig1]{} % Figure without caption - no problem with bibliography (both links and "mixing") %{\externalfigure[fig1]} %\placefigure[force][fig1]{Caption of figure without citation} % you see, that problem does not depend on whether the citation is inserted or not % {\externalfigure[fig1]} \placepublications[criterium=cite] \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] \setuphead problem
Am 02.03.2012 um 17:35 schrieb Alan Bowen: > Wolfgang— > > In both MKII and MKIV (using the latest standalone which I installed this > morning), with > > > \setupheader[state=high] > \setuppagenumbering[alternative=doublesided] > \setuppagenumbering[location=,] > \setuphead[title][page={header,yes}] > \definehead[BookTitle][title] > \setuphead[BookTitle][before={\noindent\textrule},style=rm] > \setuphead[BookTitle][header=high] > \setupheadertexts[text] > [\cap{A.\ U.\ Thor}] > [\pagenumber] > [\pagenumber] > [\it{The Journal}] > > \starttext > \dorecurse{6}{\input knuth} > \page[makeup] > \BookTitle{{\em An Indubitably Important Book} by A.\ U.\ Thor} > \dorecurse{10}{\input knuth} > \page[makeup] > \stoptext > > the problem remains, that is, the header on the page preceding the page with > the title is not suppressed. The same is true when I have > \setuphead[title][page={blank,yes}], except then there are no headers at all > after the page with the title on it. Does it work for you? Remove \page[makeup] before \BookTitle and the header disappears. 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 ___