Re: [NTG-context] \defineprocessor and \at

2015-08-11 Thread Rik Kabel
On 2015-08-11 14:49, Wolfgang Schuster wrote: Rik Kabel mailto:cont...@rik.users.panix.com 4. August 2015 00:18 Should processors work with references? I would think that they should, but the following fails. (My backmatter page numbers need to be marked to distinguish them from bodymatter

Re: [NTG-context] Command that does not give the expected result (Metafun)

2015-08-11 Thread Fabrice Couvreur
Hi Wolfgang, I will follow your advice but I will try to understand, when I have the time , the difference between \unexpanded\def\ChapterCommand#1#2% et \def\ChapterCommand#1#2%. Fabrice 2015-08-10 22:38 GMT+02:00 Wolfgang Schuster schuster.wolfg...@gmail.com: Fabrice Couvreur

Re: [NTG-context] Selectively supressing ligatures

2015-08-11 Thread Jan U. Hasecke
Hi, I want to follow up on my own message below. I got the hint offlist that it should not be too difficult to convert a LaTeX package into a ConTeXt module. So I guess that there is no built-in functionality of semantical switching between ligatures and normal characters. I am not a

Re: [NTG-context] Selectively supressing ligatures

2015-08-11 Thread Hans Hagen
On 8/11/2015 8:25 AM, Jan U. Hasecke wrote: Hi, I want to follow up on my own message below. I got the hint offlist that it should not be too difficult to convert a LaTeX package into a ConTeXt module. I don't know but it would probably be a bit alien approach in the context code base So

Re: [NTG-context] Selectively supressing ligatures

2015-08-11 Thread Hans Hagen
On 8/11/2015 11:12 AM, Jan U. Hasecke wrote: As far as I understood selnoligs works with regular expressions (black magic!). It is very time consuming, but CPU time is cheap. ;-) sure but life is still short so i prefer less runtime over cheap runtime Hans

Re: [NTG-context] cross-references between documents in a project (using \useexternaldocument)

2015-08-11 Thread Hans Hagen
On 8/11/2015 11:00 AM, tala...@fastmail.fm wrote: Hans, it would be great to have the numbers appearing again sometime in the future (if it is a bug or a not-yet implemented feature indeed). I couldn’t find anything in the documentation suggesting not to structure things this way. i have no

Re: [NTG-context] cross-references between documents in a project (using \useexternaldocument)

2015-08-11 Thread tala...@fastmail.fm
Sorry for not being clear. The original question was whether cross-referencing in a project can only be done between components, or if they can also be done between products. I could never get the latter to work. Wolfgang confirmed that in MkII, intra-product cross-referencing works (even with

[NTG-context] Bibliographies in MkIV

2015-08-11 Thread Martin Moncrieffe
Hi all, I'm unable to get the andtext option to \setupsite working. According to the old bib module manual, it should control the separation between two authors. Thus the following: \setupbibtex[database=sample,sort=author] \setuppublications[alternative=num]

Re: [NTG-context] Selectively supressing ligatures

2015-08-11 Thread Jan U. Hasecke
Hello Hans, thank you very much for this quick fix. I'll have to switch to the beta branch to try it out. At least I can now suppress ligatures with a replacement list, which is enough for now. As far as I understood selnoligs works with regular expressions (black magic!). It is very time

Re: [NTG-context] cross-references between documents in a project (using \useexternaldocument)

2015-08-11 Thread tala...@fastmail.fm
Hans, it would be great to have the numbers appearing again sometime in the future (if it is a bug or a not-yet implemented feature indeed). I couldn’t find anything in the documentation suggesting not to structure things this way. Best wishes, Talal On 10 Aug 2015, at 21:33, Wolfgang

Re: [NTG-context] Selectively supressing ligatures

2015-08-11 Thread Jan U. Hasecke
Hans, it works for me, thank you! Am 11.08.2015 um 13:22 schrieb Hans Hagen: Btw, a 11 minutes baseline sounds like a lot to me. Yes indeed, xelatex and pdflatex from the same distribution are faster. I only use lualatex because it is needed for selnoligs. Generally I used pdflatex or xelatex.

Re: [NTG-context] Selectively supressing ligatures

2015-08-11 Thread Jan U. Hasecke
Am 11.08.2015 um 11:46 schrieb Hans Hagen: On 8/11/2015 11:12 AM, Jan U. Hasecke wrote: As far as I understood selnoligs works with regular expressions (black magic!). It is very time consuming, but CPU time is cheap. ;-) sure but life is still short so i prefer less runtime over cheap

Re: [NTG-context] margindata does not work in latest beta

2015-08-11 Thread Otared Kavian
Hi Thomas, I tested your example file and looked into my archive tests: it seems that a bug has appeared recently, maybe when Hans changed something in order to have linenumbering working in floats. Indeed now the linenumbering does not work in mkiv, neither when using \startsimplecolumns (it

Re: [NTG-context] Selectively supressing ligatures

2015-08-11 Thread Hans Hagen
On 8/11/2015 12:41 PM, Jan U. Hasecke wrote: Am 11.08.2015 um 11:46 schrieb Hans Hagen: On 8/11/2015 11:12 AM, Jan U. Hasecke wrote: As far as I understood selnoligs works with regular expressions (black magic!). It is very time consuming, but CPU time is cheap. ;-) sure but life is still

[NTG-context] Strange behavior (TikZ)

2015-08-11 Thread Fabrice Couvreur
Hi, Strange behavior: why is the colored text ? Thanks, Fabrice \usemodule[tikz] \startuniqueMPgraphic{titled} path p ; p := unitsquare xscaled OverlayWidth yscaled OverlayHeight ; pickup pencircle scaled 1mm ; drawoptions(withcolor .625yellow) ; draw llcorner p--lrcorner p ; setbounds

[NTG-context] Formatting of page number in table of contents

2015-08-11 Thread Aditya Mahajan
Hi, I am using a document structure part-section-subsection (i.e., no chapters). The page numbers have to be formatted as partnumber-pagenumber. So, I am using the following setup: \setupuserpagenumber[way=bypart, prefix=yes, prefixset=part] The page numbers are formatted correctly on each

Re: [NTG-context] margindata does not work in latest beta

2015-08-11 Thread Hans Hagen
On 8/11/2015 12:23 PM, Otared Kavian wrote: It is better to open a new thread on the subject in order for Hans to be informed of the issue. it's not recent, this issue, just some duplicate number application side effect already there for a while Hans

Re: [NTG-context] Formatting of page number in table of contents

2015-08-11 Thread Wolfgang Schuster
Aditya Mahajan mailto:adit...@umich.edu 11. August 2015 18:53 Hi, I am using a document structure part-section-subsection (i.e., no chapters). The page numbers have to be formatted as partnumber-pagenumber. So, I am using the following setup: \setupuserpagenumber[way=bypart, prefix=yes,

Re: [NTG-context] \defineprocessor and \at

2015-08-11 Thread Rik Kabel
On 2015-08-03 18:18, Rik Kabel wrote: Should processors work with references? I would think that they should, but the following fails. (My backmatter page numbers need to be marked to distinguish them from bodymatter pages. I can automate applying a processor based on the location for index

Re: [NTG-context] \defineprocessor and \at

2015-08-11 Thread Wolfgang Schuster
Rik Kabel mailto:cont...@rik.users.panix.com 4. August 2015 00:18 Should processors work with references? I would think that they should, but the following fails. (My backmatter page numbers need to be marked to distinguish them from bodymatter pages. I can automate applying a processor based

[NTG-context] Label problems with \definelabel and \defineenumeration, in and out of footnotes

2015-08-11 Thread Rik Kabel
The example below documents the problems. In short, \definelabel suppresses paragraph indent when the label is at the beginning of a paragraph and fails to print the label or generate references with alternative=inmargin (or inright, or inleft) when in a footnote. \defineenumeration fails to

Re: [NTG-context] \defineprocessor and \at

2015-08-11 Thread Rik Kabel
On 2015-08-11 14:49, Wolfgang Schuster wrote: Rik Kabel mailto:cont...@rik.users.panix.com 4. August 2015 00:18 Should processors work with references? I would think that they should, but the following fails. (My backmatter page numbers need to be marked to distinguish them from bodymatter

Re: [NTG-context] \defineprocessor and \at

2015-08-11 Thread Wolfgang Schuster
Rik Kabel mailto:cont...@rik.users.panix.com 11. August 2015 21:41 On 2015-08-11 14:49, Wolfgang Schuster wrote: Thank you, Wolfgang, for that. But it still does not handle the after key, as I had in my example, and which works in a processor for index entries. Is there no way to do this? The

Re: [NTG-context] \defineprocessor and \at

2015-08-11 Thread Rik Kabel
On 2015-08-11 15:48, Wolfgang Schuster wrote: Rik Kabel mailto:cont...@rik.users.panix.com 11. August 2015 21:41 On 2015-08-11 14:49, Wolfgang Schuster wrote: Thank you, Wolfgang, for that. But it still does not handle the after key, as I had in my example, and which works in a processor for