Re: [NTG-context] Integration of the ConTeXt-Wiki and the ConTeXt-Mailinglist
On Wed, Mar 28, 2012 at 15:33, Jan Heinen jahei...@gmx.de wrote: It's not perfekt jet - but it helps to get more information to each command and to integrate the wiki and the mailinglist. What do you think about this and could it be improved? I really like it! However, having just used it to trawl through everything looking for a solution (...didn't find it yet...), I do have a little wish concerning the mailing list part - could it be possible to easily sort the results by date or even filter them? Because of the fast pace ConTeXt develops in and because the mailing list existed when MkIV wasn't there yet, I've learned to skim through the newest messages first and then going backwards if it seems needful. Being able to sort the search results newest first or show only the last three years would make my life easier. But in general this is already a great improvement, thank you! Mari ___ 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] \description - indenting lines from the 2nd
Hello, what option(s) to use with \definedescription if I'd like to get the following shape (attempt to ACSII art): XX blablabla blablabla bla blabla. | | |-| A constant of indenting - to be specified by the user. | | || Text width. I inspired by wiki (the code bellow) but shapes I got could be illustrated: \A: XX blablabla blablabla bla blab- la. | | |---| Indenting given by the width of the head - unwanted. \B=\C: XX blablabla blablabla bla blab- la. | | |---| Indenting given by the width of the head - unwanted. | | |-] The margin option affects indenting of the whole description - unwanted, I want to indent only lines from the 2nd. I tried some combinations of options - location, width, margin - nothing leads to the desired form. My trials e.g.: \definedescription[A][headstyle=bold,location=hanging,width=fit,] \definedescription[B][headstyle=bold,location=hanging,width=fit,margin=1cm,] \definedescription[C][headstyle=bold,location=hanging,width=fit,margin=1cm,command=\hskip-1cm] \starttext \input tufte \A{Short} This is a shorter item label, and some text that talks about it. The text is wrapped into a paragraph, with successive lines indented. \A{Rather longer label} This is a longer item label. As you can see, the text is not started a specified distance in -- unlike with other lists -- but is spaced a fixed distance from the end of the label. \input tufte \B{Short} This is a shorter item label, and some text that talks about it. The text is wrapped into a paragraph, with successive lines indented. \B{Rather longer label} This is a longer item label. As you can see, the text is not started a specified distance in -- unlike with other lists -- but is spaced a fixed distance from the end of the label. \input tufte \C{Short} This is a shorter item label, and some text that talks about it. The text is wrapped into a paragraph, with successive lines indented. \C{Rather longer label} This is a longer item label. As you can see, the text is not started a specified distance in -- unlike with other lists -- but is spaced a fixed distance from the end of the label. \stoptext Any idea how to obtain the form described above? TIA. Best regards, Lukas -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 t3.mkiv Description: Binary data t3.pdf Description: Adobe PDF document ___ 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] Integration of the ConTeXt-Wiki and the ConTeXt-Mailinglist
Hello Mari, On Wed, Mar 28, 2012 at 15:33, Jan Heinen jahei...@gmx.de wrote: It's not perfekt jet - but it helps to get more information to each command and to integrate the wiki and the mailinglist. What do you think about this and could it be improved? I really like it! concerning the mailing list part - could it be possible to easily sort the results by date or even filter them? But in general this is already a great improvement, thank you! Mari Thank you very much for your nice feedback! And you are right - sorting the results from newest to oldest would be an improvement. And I just changed the code a littlebit - and now you will find everything in the mailinglist starting at the ConTeXt-commands in the Wiki. Try it: http://wiki.contextgarden.net/Category:Commands With a little help of some ConTeXters more ... we can improve the ConTeXt-documentation much more. At this point you can help to categorize some commands: http://wiki.contextgarden.net/Category:Commands Regards Jannis -- Better organization and integration of all ConTeXT-information: http://wiki.contextgarden.net/Category:ConTeXt All information arround ConTeXt http://wiki.contextgarden.net/Category:Commands Commands !!! new: One-Click from every command in the wiki to the rich resources of the ConTeXt-mailinglist ___ 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] Integration of the ConTeXt-Wiki and the ConTeXt-Mailinglist
On 4-4-2012 12:36, Jan Heinen wrote: Better organization and integration of all ConTeXT-information: http://wiki.contextgarden.net/Category:ConTeXt All information arround ConTeXt http://wiki.contextgarden.net/Category:Commands Commands !!! new: One-Click from every command in the wiki to the rich resources of the ConTeXt-mailinglist nice indeed, Hans - 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 ___
[NTG-context] Table of contents
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. Thanks, John == %-*-context-*- \starttext \completecontent \section{One} some text \stoptext == mtx-context | run 1: luatex --fmt=/home/jd/context/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en --lua=/home/jd/context/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en.lui --backend=pdf ./test.mkiv \stoptext This is LuaTeX, Version beta-0.70.1-2011051918 (rev 4277) \write18 enabled. (test.mkiv ConTeXt ver: 2012.04.02 22:23 MKIV fmt: 2012.4.4 int: english/english system cont-new.mkiv loaded (/home/jd/context/tex/texmf-context/tex/context/base/cont-new.mkiv system beware: some patches loaded from cont-new.mkiv ) system test.top loaded (test.top) fontslatin modern fonts are not preloaded languageslanguage en is active {/home/jd/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} fontspreloading latin modern fonts (second stage) fontstypescripts unknown: library 'loc' {/home/jd/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/jd/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map} fontsvirtual math unable to resolve name mapsfromchar fontsfallback modern rm 12pt is loaded structuresectioning title @ level 2 : 0.0 - \headtext {content} ! Undefined control sequence. system tex error on line 11 in file test.mkiv: Undefined control sequence ... 1 %-*-context-*- 2 \starttext 3 \completecontent 4 \section{One} 5 some text 6 \stoptext 7 \12:77:abc ...trc_lists_get_reference_attribute \v!all \strc_lists_get_des... \strc_lists_apply_renderingsetup ...nderingsetup } \relax \the \t_lists_every... \strclistsentryprocess ... \fi \fi \fi \endcsname \dostoptagged \listextrapa... l.11 {} \ctxcommand ...\directlua \zerocount {commands.#1} \doplacestructurelist ...s = #4, order = #5 }} \dostoptagged ... l.4 \section {One} ? ! Interruption. system tex error on line 11 in file test.mkiv: Interruption ... 1 %-*-context-*- 2 \starttext 3 \completecontent 4 \section{One} 5 some text 6 \stoptext 7 to be read again a l \v!all -al l \12:77:abc ...ts_get_reference_attribute \v!all \strc_lists_get_destinatio... \strc_lists_apply_renderingsetup ...nderingsetup } \relax \the \t_lists_every... \strclistsentryprocess ... \fi \fi \fi \endcsname \dostoptagged \listextrapa... l.11 {} ... l.4 \section {One} ? ! Emergency stop. system tex error on line 11 in file test.mkiv: Emergency stop ... 1 %-*-context-*- 2 \starttext 3 \completecontent 4 \section{One} 5 some text 6 \stoptext 7 to be read again a l \v!all -al l \12:77:abc ...ts_get_reference_attribute \v!all \strc_lists_get_destinatio... \strc_lists_apply_renderingsetup ...nderingsetup } \relax \the \t_lists_every... \strclistsentryprocess ... \fi \fi \fi \endcsname \dostoptagged \listextrapa... l.11 {} ... l.4 \section {One} ! == Fatal error occurred, no output PDF file produced! -- 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] \description - indenting lines from the 2nd
Am 04.04.2012 um 10:14 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, what option(s) to use with \definedescription if I'd like to get the following shape (attempt to ACSII art): XX blablabla blablabla bla blabla. | | |-| A constant of indenting - to be specified by the user. | | || Text width. I inspired by wiki (the code bellow) but shapes I got could be illustrated: \A: XX blablabla blablabla bla blab- la. | | |---| Indenting given by the width of the head - unwanted. \B=\C: XX blablabla blablabla bla blab- la. | | |---| Indenting given by the width of the head - unwanted. | | |-] The margin option affects indenting of the whole description - unwanted, I want to indent only lines from the 2nd. I tried some combinations of options - location, width, margin - nothing leads to the desired form. My trials e.g.: \definedescription[A][headstyle=bold,location=hanging,width=fit,] \definedescription[B][headstyle=bold,location=hanging,width=fit,margin=1cm,] \definedescription[C][headstyle=bold,location=hanging,width=fit,margin=1cm,command=\hskip-1cm] \definedescription[A][headstyle=bold,alternative=hanging,width=fit,margin=1cm] \definedescription[B][headstyle=bold,alternative=hanging,width=fit,margin=2cm] \definedescription[C][headstyle=bold,alternative=hanging,width=fit,margin=3cm] When you don’t want any indentation you need “alternative=serried” because when you set “margin=0pt” (for hanging) context don’t use this value but 1.5em instead. 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] \description - indenting lines from the 2nd
... Thank you, now it's perfect. So option alternative= is to be used instead of location=. Does location still have any meaning or is it deprecated and replaced by alternative? - On wiki, location is still frequently noticed... Best regards, Lukas On Wed, 04 Apr 2012 14:28:31 +0200, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 04.04.2012 um 10:14 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, what option(s) to use with \definedescription if I'd like to get the following shape (attempt to ACSII art): XX blablabla blablabla bla blabla. | | |-| A constant of indenting - to be specified by the user. | | || Text width. I inspired by wiki (the code bellow) but shapes I got could be illustrated: \A: XX blablabla blablabla bla blab- la. | | |---| Indenting given by the width of the head - unwanted. \B=\C: XX blablabla blablabla bla blab- la. | | |---| Indenting given by the width of the head - unwanted. | | |-] The margin option affects indenting of the whole description - unwanted, I want to indent only lines from the 2nd. I tried some combinations of options - location, width, margin - nothing leads to the desired form. My trials e.g.: \definedescription[A][headstyle=bold,location=hanging,width=fit,] \definedescription[B][headstyle=bold,location=hanging,width=fit,margin=1cm,] \definedescription[C][headstyle=bold,location=hanging,width=fit,margin=1cm,command=\hskip-1cm] \definedescription[A][headstyle=bold,alternative=hanging,width=fit,margin=1cm] \definedescription[B][headstyle=bold,alternative=hanging,width=fit,margin=2cm] \definedescription[C][headstyle=bold,alternative=hanging,width=fit,margin=3cm] When you don’t want any indentation you need “alternative=serried” because when you set “margin=0pt” (for hanging) context don’t use this value but 1.5em instead. 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 ___ -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 ___ 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] \description - indenting lines from the 2nd
Am 04.04.2012 um 16:03 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: ... Thank you, now it's perfect. So option alternative= is to be used instead of location=. Does location still have any meaning or is it deprecated and replaced by alternative? For MkIV not because the alternative key has replaced the location key. 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] citations are broken
in the current beta. Minimal example: \setuppublications[criterium=all,numbering=no] \setupbibtex[database=sample,sort=author] \starttext \startsection[title=Whatever] \cite[hh2010a] \placepublications[criterium=text] \stopsection \stoptext ends with \12:77:abc ...trc_lists_get_reference_attribute \v!all \strc_lists_get_des... \strc_lists_apply_renderingsetup ...nderingsetup } \relax \the \t_lists_every... l.4 } \typesetpubslist ...hacks.flush(\@@pbsorttype )} \stoppacked \endgroup \dodoplacepublications ...sttrue \typesetpubslist \inpublistfalse \global \a... \doplacepublications ...#1]\dodoplacepublications \endgroup All best Thomas ___ 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 background image
Hey list, I have an image that I would like to use as the page background on every page of a document. The image matches the dimensions of the full page already. I know how to insert it as a floating figure or as a logo in the margin, but not as the entire page itself. -- 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 background image
On Wed, 4 Apr 2012, Kip Warner wrote: Hey list, I have an image that I would like to use as the page background on every page of a document. The image matches the dimensions of the full page already. I know how to insert it as a floating figure or as a logo in the margin, but not as the entire page itself. Use layers to set the image as a background image. http://wiki.contextgarden.net/Draft_Watermark 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] Page background image
Am 04.04.2012 um 23:03 schrieb Kip Warner: Hey list, I have an image that I would like to use as the page background on every page of a document. The image matches the dimensions of the full page already. I know how to insert it as a floating figure or as a logo in the margin, but not as the entire page itself. \defineoverlay[backgroundfigure][\overlayfigure{mill}] \setupbackgrounds[page][background=backgroundfigure] \starttext \dorecurse{12}{\page[empty]} \stoptext 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 ___