Re: [NTG-context] Configure \setuppublicationlayout[article] to not insert a '.' after a title ending with a '?'
On Mon 07 Nov 2011, Renald Buter wrote: Possibly people can give me a pointer into the proper direction? What I am after is probably something like: \setuppublicationlayout[article]{% ... \insertarttitle{\bgroup }{\egroup\optionallyinsertdot }{}% ... } I am not very knowledgeable about TeX, but would this be possible? I am far from being an expert, but here are a couple of ideas: 1. The useful document ‘Tame the BeaST’ mentions that BST-language has the function add.period$ , which seems to do what you want (see ftp://ftp.dante.de/tex-archive/info/bibtex/tamethebeast/ttb_en.pdf , p. 33). So you could rewrite cont-au.bst (or whichever BST file you are using) to optionally add the full stop while formatting it for ConTeXt, and then never add punctuation after \insertarttitle . 2. A quick google turned up a similar question and answer at http://www.tug.org/pipermail/texhax/2009-November/013714.html . That message presents two magical pieces of hackery which are claimed to do the job, but I haven't tried them and don't understand them. My own solution in your situation was to ignore it and hope that my thesis examiners don't notice, or at least don't mind :-(. This problem is becoming more common: see http://www.springerlink.com/content/uh466q5p3722n37l/ -- good luck finding a better solution than mine. Hope this helps, 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 ___
[NTG-context] beta
Hi, I uploaded a new beta, mostly for testing the xml export and Alan's figure list issue. I cleaned up some of the float code (removing some related mkii code in the process) but more will follow. I might have introduced some issues there. 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 ___
Re: [NTG-context] empty footnote marker needed
Hi Hans, as there was no answer at all on the list, does that mean that the idea of \footnote[-] was deleted without replacement? Steffen Am 03.11.2011 um 10:42 schrieb Steffen Wolfrum: Sure, one can use a construct like this ... \starttext \chapter{a} \section{b} \start \definestructureconversionset[footnote][empty] \setupenumerations[footnote][numberconversionset=footnote,numberseparatorset=footnote] test\footnote{only this} text \stop \stoptext ... but a short command like \footnote[-]{...} would be more handy in practice. Is there no successor for \footnote[-]{...} in MkIV? Steffen Am 02.11.2011 um 11:37 schrieb Steffen Wolfrum: Hi, does anyone know how to get an empty footnote marker (see example below), as it was achieved in MkII with [-]? Steffen --- \starttext \chapter{a} \section{b} test\footnote[-]{only this} text \stoptext emptyness_II.pdf ___ 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 ___ ___ 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] beta
On 08.11.2011, at 15:28, Hans Hagen wrote: […] I might have introduced some issues there. Hi Hans! \setupbackend[export=yes] \setupcaptions[number=no] \starttext \startplacefigure[title={Some Caption},location=right] % OK with here \externalfigure[dummy] \stopplacefigure \stoptext exports to: float detail=figure location='aut:1' floatcontent image name=dummy id='image-1' width='4.072cm' height='3.054cm' /image /floatcontent Some Caption /float The floatcaption- and floattext-tags are missing. Regards Andreas___ 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] highlight problems on xml export
Hans Hagen pra...@wxs.nl writes: On 7-11-2011 17:48, Marco Pessotto wrote: Well, after some trial and errors, I think I get what is going on with the highlight. When on the generated pdf the/highlight is at the edge of the paper, the space is eaten. Hacky workaround follows: i rewrote some of the 'heuristics' so best test the next beta In my testing the latest beta (2011.11.08 15:20) works well, and it fixes some other problems (random break/, space eaten before highlight which I noticed only now diff'ing the output and which my infamous hacky workaround didn't fix). Thanks a lot! Best wishes -- Marco ___ 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] righttoleft pars lost
Dear gang, Somewhere in the last few updates righttoleft pars have either changed or are broken: \starttext \startTEXpage[align=r2l] \righttoleft % pardir Here is some text And some more More \stopTEXpage \stoptext r2l textdir is correct but r2l pardir is lost. This worked normally a few weeks ago, Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shīʿī Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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] Figure Help
Hi, May be I missed one or the other mail on this topic. There is indeed support for svg-inclusion in MKIV. In order to be possibly of help I would like you to send a minimal example. Willi On 8 Nov 2011, at 04:26, Kip Warner wrote: On Fri, 2011-11-04 at 10:32 +0100, Hans Hagen wrote: \externalfigure[Images/Figure.svg][width=2.5cm] Thanks Hans, but all I see is a grey box with the following in it where I expected to see the image: name: dummy file: figure:Figure state: unknown I've checked the path and it looks correct. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com ___ 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] beta
On 8-11-2011 16:58, Andreas Harder wrote: The floatcaption- and floattext-tags are missing. added in next beta (same for empty floats) - 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 ___
Re: [NTG-context] righttoleft pars lost
On 8-11-2011 17:49, Idris Samawi Hamid ادريس سماوي حامد wrote: Dear gang, Somewhere in the last few updates righttoleft pars have either changed or are broken: \starttext \startTEXpage[align=r2l] \righttoleft % pardir Here is some text And some more More \stopTEXpage \stoptext r2l textdir is correct but r2l pardir is lost. This worked normally a few weeks ago, works in current beta - 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 ___
Re: [NTG-context] righttoleft pars lost
Am 08.11.2011 um 17:49 schrieb Idris Samawi Hamid ادريس سماوي حامد: Dear gang, Somewhere in the last few updates righttoleft pars have either changed or are broken: \starttext \startTEXpage[align=r2l] \righttoleft % pardir You don’t need \righttoleft because “‘align=right’ == \righttoleft”. 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] righttoleft pars lost
On Tue, 08 Nov 2011 10:32:02 -0700, Hans Hagen pra...@wxs.nl wrote: r2l textdir is correct but r2l pardir is lost. This worked normally a few weeks ago, works in current beta You're right, thnx. I was working with a dinosaur beta from a couple of days ago :D On Tue, 08 Nov 2011 10:54:17 -0700, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: You don’t need \righttoleft because“‘align=right’ == \righttoleft”. right = r2l you meant, right? :-) Thanks for pointing that out. I don't remember why I had the redundancy in that test file but things do change,,, THNX both of you and Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shīʿī Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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] beta
On 08.11.2011, at 18:31, Hans Hagen wrote: On 8-11-2011 16:58, Andreas Harder wrote: The floatcaption- and floattext-tags are missing. added in next beta (same for empty floats) Thanks, it works! Andreas ___ 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] new version of t-french.mkiv
Hello, Finally, after a development period of more than three years[1], I'm pleased to announce the long-awaited[2] update of the t-french ConTeXt module, which is greatly enhanced compared to the previous version[3]. In spite of the high complexity[4] of the code, I consider the module stable[5] enough for daily usage. This is indicated, just as in other major software projects, by an even version number[6]. You can download the new version from [7]. With a modern and fast Internet connection, the download time should hopefully not exceed about 5 minutes. Enjoy, Peter Footnotes: [1] During some parts of this evening, development was exceptionally active. [2] A user requested an update. [3] The previous version did not work at all. [4] There are parts, that I haven't understood yet. [5] A simple test file compiles without errors. [6] Another interpretation of the version 2011.11.08 is also possible. [7] http://modules.contextgarden.net/t-french ___ 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] chapter please ignore part
Dear Knights, I seem to remember there was a way to do this, but I can't find it. This is what i want: Part Foo 1 Chapter One 2 Chapter Two Part Foo Moo 3 Chapter Three 4 Chapter Four But what I always get is, obviously Part Foo 1 Chapter One 2 Chapter Two Part Foo Moo 1 Chapter Three 2 Chapter Four What is the correct setting for part and chapter to get the chapter no. to ignore the part no.? The relevant parameters seem to be \setuphead[part][placehead=yes, incrementnumber=no, number=no, continue=no, ownnumber=no] \setuphead[chapter][continue=yes, header=empty, %ownnumber=yes] Of course there is the workaround: \setupheadnumber[chapter][2] But I'd like to know if there is an automated way. Any advice appreciated, and Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shīʿī Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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] new version of t-french.mkiv
On 8-11-2011 22:32, Peter Münster wrote: Hello, Finally, after a development period of more than three years[1], I'm pleased to announce the long-awaited[2] update of the t-french ConTeXt module, which is greatly enhanced compared to the previous version[3]. In spite of the high complexity[4] of the code, I consider the module stable[5] enough for daily usage. This is indicated, just as in other major software projects, by an even version number[6]. You can download the new version from [7]. With a modern and fast Internet connection, the download time should hopefully not exceed about 5 minutes. Enjoy, Peter Footnotes: [1] During some parts of this evening, development was exceptionally active. [2] A user requested an update. [3] The previous version did not work at all. [4] There are parts, that I haven't understood yet. [5] A simple test file compiles without errors. [6] Another interpretation of the version 2011.11.08 is also possible. [7] http://modules.contextgarden.net/t-french The \' is probably not needed (in mkiv) which saves you some upload time. Are \iemes etc used in some conversion? instead of the demo mode you can do: \continueifinputfile{t-french.tex} in which case running the file will produce the test section. Interesting that you put myItems in a macro instead of a buffer. 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 ___
Re: [NTG-context] chapter please ignore part
Am 08.11.2011 um 22:45 schrieb Idris Samawi Hamid ادريس سماوي حامد: Dear Knights, I seem to remember there was a way to do this, but I can't find it. This is what i want: Part Foo 1 Chapter One 2 Chapter Two Part Foo Moo 3 Chapter Three 4 Chapter Four But what I always get is, obviously Part Foo 1 Chapter One 2 Chapter Two Part Foo Moo 1 Chapter Three 2 Chapter Four What is the correct setting for part and chapter to get the chapter no. to ignore the part no.? The relevant parameters seem to be \setuphead[part][placehead=yes, incrementnumber=no, number=no, continue=no, ownnumber=no] \setuphead[chapter][continue=yes, header=empty, %ownnumber=yes] Of course there is the workaround: \setupheadnumber[chapter][2] But I'd like to know if there is an automated way. \definestructureresetset[continue][0,0][1] \setuphead[sectionresetset=continue] %\setuphead[sectionresetset=continue,sectionsegments=chapter:*] \starttext \part{Foo} \chapter{One} \chapter{Two} \par{Moo} \chapter{Three} \chapter{Four} \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 ___