[NTG-context] \placelist does not work
In the current beta/nightly, \placelist has stopped working. Other parameters don't matter--the command just doesn't work, period. ___ 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] Table of contents
John Devereux j...@devereux.me.uk writes: Hi all, Feeling stupid... I updated my context MKIV to the latest version, was working with one ~1y old. I can't get a table of contents to work at all for some strange reason, am I misunderstanding something basic? I have tried all sorts of variants, but a test case and log follows. [...] OK, this is happening on two separate (linux) systems now. One of them never had context on it before. \starttext \completecontent \section{One} some text \stoptext -- John Devereux ___ 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] I want cited bib items only in my bibliography
Dear list, What is the right way today to get only the cited items in the bibliography? I have some problems doing this. With the test file % Start mps.tex \usemodule[bib] \setupbibtex[database=referenser] \starttext Foo~\cite[anno]. \subject{References} \placepublications[] % I've read somewhere that this should work %\placepublications[criterium=all] \stoptext % Stop mps.tex I get an [[error 2]] in the pdf file where the citation is supposed to be. Also, the References list is empty. If I change \placepublications[] to \placepublications[criterium=all] I get all entries in my bib file, even the ones that are not cited. My referenser.bib is given below: % Start referenser.bib @book {anno, AUTHOR = {Anno}, TITLE = {No}, SERIES = {National Bureau of International Bureau's}, VOLUME = {1}, YEAR = {2012}, PAGES = {10}, } @article {bent, AUTHOR = {Bent}, TITLE = {Yes}, JOURNAL = {Letters of Letters}, VOLUME = {369}, YEAR = {2013}, NUMBER = {1}, PAGES = {39--69}, } % Stop referenser.bib Best regards, Mikael ___ 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] Table of contents
Hi, I was unsuccessful using \completecontent to my wishes in the recent past. The correct result I achieved with \placelist[section]. But now indeed even this fails with your example. Willi On 5 Apr 2012, at 09:14, John Devereux wrote: \starttext \completecontent \section{One} some text \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] I want cited bib items only in my bibliography
On Thu 05 Apr 2012, Mikael P. Sundqvist wrote: Dear list, What is the right way today to get only the cited items in the bibliography? I think that what you want is \placepublications[criterium=text] . (Some recent messages suggest that citations are broken in the latest beta, so also make sure you're using a slightly earlier version.) Pont ___ 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] I want cited bib items only in my bibliography
On Thu, Apr 5, 2012 at 12:27 PM, Pontus Lurcock p...@talvi.net wrote: On Thu 05 Apr 2012, Mikael P. Sundqvist wrote: Dear list, What is the right way today to get only the cited items in the bibliography? I think that what you want is \placepublications[criterium=text] . (Some recent messages suggest that citations are broken in the latest beta, so also make sure you're using a slightly earlier version.) Pont ___ 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 ___ Thank you Pontus, that seems to work on my one or two week old ConTeXt. I'll be sure not to update before submitting this application. Best regards, Mikael ___ 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] [***SPAM***] placefigure adds break
Hi, please have a look at thee example below: I have a long paragraph (more than 3 pages), and I want to set a float/figure at top of page 2. Thus, I need to write \placefigure *in* my paragraph, between two words. How can I do that without adding a paragraph break after the respective word (marked HERE)? Steffen --- \starttext \switchtobodyfont[rm,10pt] \input tufte \input ward \input zapf \input tufte \input ward \input zapf \input tufte \input ward \input zapf \input tufte \input ward \input zapf HERE \placefigure[top]{}{\vskip3pt{\externalfigure[foo][frame=off,width=\dimexpr(\textwidth-10mm)]}}\input tufte \input ward \input zapf \input tufte \input ward \input zapf \input tufte \input ward \input zapf \input tufte \input ward \input zapf \input tufte \input ward \input zapf \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] Table of contents
Willi Egger cont...@boede.nl writes: Hi, I was unsuccessful using \completecontent to my wishes in the recent past. The correct result I achieved with \placelist[section]. But now indeed even this fails with your example. Willi On 5 Apr 2012, at 09:14, John Devereux wrote: \starttext \completecontent \section{One} some text \stoptext Hi Willi, Thank you very much for trying it. Can anyone post even a trivial example that does work? Is the latest beta really broken? Thanks, John -- John Devereux ___ 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] [***SPAM***] placefigure adds break
On Thu, 5 Apr 2012, Steffen Wolfrum wrote: Hi, please have a look at thee example below: I have a long paragraph (more than 3 pages), and I want to set a float/figure at top of page 2. Thus, I need to write \placefigure *in* my paragraph, between two words. How can I do that without adding a paragraph break after the respective word (marked HERE)? Steffen --- \starttext \switchtobodyfont[rm,10pt] \input tufte \input ward \input zapf \input tufte \input ward \input zapf \input tufte \input ward \input zapf \input tufte \input ward \input zapf HERE \placefigure[top]{}{\vskip3pt{\externalfigure[foo][frame=off,width=\dimexpr(\textwidth-10mm)]}}\input tufte \input ward \input zapf \input tufte \input ward \input zapf \input tufte \input ward \input zapf \input tufte \input ward \input zapf \input tufte \input ward \input zapf \stoptext (Untested) \startpostponing[+1] \placefigure[top]{}{...} \stoppostponing Rest of the text 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] [***SPAM***] placefigure adds break
On Thu, Apr 5, 2012 at 1:10 PM, Aditya Mahajan adit...@umich.edu wrote: (Untested) \startpostponing[+1] \placefigure[top]{}{...} \stoppostponing Rest of the text Aditya \starttext \switchtobodyfont[rm,10pt] \input tufte \input ward \input zapf \input tufte \input ward \input zapf \input tufte \input ward % \input zapf \input tufte \input ward % \input zapf HERE% \startpostponing[+1] \placefigure[top]{}{\vskip3pt\externalfigure[foo][frame=off,width=\dimexpr(\textwidth-10mm)]} \stoppostponing% AND HERE \input tufte \input ward % \input zapf \input tufte \input ward \input zapf \input tufte \input ward \input zapf \input tufte % \input ward \input zapf \input tufte \input ward \input zapf \stoptext seems ok -- 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] [***NOSPAM***] placefigure adds break
Am 05.04.2012 um 13:25 schrieb luigi scarso: On Thu, Apr 5, 2012 at 1:10 PM, Aditya Mahajan adit...@umich.edu wrote: (Untested) \startpostponing[+1] \placefigure[top]{}{...} \stoppostponing Rest of the text Aditya \starttext \switchtobodyfont[rm,10pt] \input tufte \input ward \input zapf \input tufte \input ward \input zapf \input tufte \input ward % \input zapf \input tufte \input ward % \input zapf HERE% \startpostponing[+1] \placefigure[top]{}{\vskip3pt\externalfigure[foo][frame=off,width=\dimexpr(\textwidth-10mm)]} \stoppostponing% AND HERE \input tufte \input ward % \input zapf \input tufte \input ward \input zapf \input tufte \input ward \input zapf \input tufte % \input ward \input zapf \input tufte \input ward \input zapf \stoptext seems ok indeed, a great result. (searching for this command now, I saw that it's a quite old command ... only I never knew it) thanks a lot Aditya and Luigi! 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] [***NOSPAM***] placefigure adds break
On Thu, 5 Apr 2012 13:39:42 +0200 Steffen Wolfrum cont...@st.estfiles.de wrote: Am 05.04.2012 um 13:25 schrieb luigi scarso: On Thu, Apr 5, 2012 at 1:10 PM, Aditya Mahajan adit...@umich.edu wrote: (Untested) \startpostponing[+1] \placefigure[top]{}{...} \stoppostponing Rest of the text Aditya \starttext \switchtobodyfont[rm,10pt] \input tufte \input ward \input zapf \input tufte \input ward \input zapf \input tufte \input ward % \input zapf \input tufte \input ward % \input zapf HERE% \startpostponing[+1] \placefigure[top]{}{\vskip3pt\externalfigure[foo][frame=off,width=\dimexpr(\textwidth-10mm)]} \stoppostponing% AND HERE \input tufte \input ward % \input zapf \input tufte \input ward \input zapf \input tufte \input ward \input zapf \input tufte % \input ward \input zapf \input tufte \input ward \input zapf \stoptext seems ok indeed, a great result. (searching for this command now, I saw that it's a quite old command ... only I never knew it) thanks a lot Aditya and Luigi! I have been looking for a trick to place figures near their reference in the text, without imposing a paragraph break. This trick works (so thanks again to Aditya and Luigi): \starttext Some text is described \in{figure}[fig:reference]. \startpostponing[+0] \startplacefigure[location=here,reference=fig:reference, title={This figure gets placed somewhere near its reference.}] \externalfigure[cow][width=\textwidth] \stopplacefigure \stoppostponing The text continues here without a paragraph break. \stoptext A few comments: 1. The \startpostponing...\stoppostponing is necessary, although some other wrapper around the placefigure might also work. 2. The % at the end of the lines in the above examples is not necessary unless one seeks to kill the spacing between {HERE}{AND HERE}. 3. One should preferably be using \startplacefigure\stopplacefigure (rather than \placefigure). Besides being cleaner, as a bonus one gets to use title={},list={} for the figure caption and list of figure entry. Should placefigure be fixed somehow so as to hide its paragraph break itself? Alan ___ 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] Cross-document referencing problem!
Hi ConTeXt User's, Again I'm struggling with cross-document referencing! The page of the \pagereference[def] command is shown correctly in the pdf result of the attached test.tex file using \at{page}[def]! However when I refer to this reference using \at{page}[tst::def] from the external document crossref.pdf only the 'page' string is displayed in it, but no sign of the page number. Clicking the page string brings me to the correct location, but I'm missing the pagenumber itself? Both tex-files (minimal example!) files are attached! Regards, Gerard Verhaag P.S. Currently I use ConTeXt ver: 2012.02.18 10:50 MKIV fmt: 2012.2.18 int: english/english together with Acrobat Reader 9.4.2 on Linux box. % Crossref file \setupinteraction [state=start, style=, color=blue, contrastcolor=, menu=on, title=Cross referencing Test File, author=Gerard Verhaag] \starttext \useexternaldocument[tst][test][Een test external] % External file called: test.tex Most \from[tst] from \in{section}[tst::crosssection]. At \at{\it p. }[tst::crosssection] At \at{page}[tst::def] \stoptext % Test file \setupinteraction [state=start, style=, color=blue, contrastcolor=, menu=on, title=Cross referencing Test External File, author=Gerard Verhaag] \starttext \chapter[cross]{Cross referencing} \section[abc]{Abc} \dorecurse{170} {A test of cross referencing to exernal document!} \section[crosssection]{Def} Another section starts right here! \page[yes] \pagereference[def] At \at{page}[def]! \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 ___