Re: [NTG-context] issue with \sethyphenatedafter

2016-02-24 Thread Pablo Rodriguez
On 02/24/2016 09:54 AM, Hans Hagen wrote: > On 2/24/2016 8:44 AM, Pablo Rodriguez wrote: >> On 02/22/2016 10:30 PM, Hans Hagen wrote: >>> [...] >>> i'll add >>> >>> \enabledirectives[hyphenators.urls.packslashes] >> [...] >> Am I doing somehting wrong? Or do I require LuaTeX-0.89.2 (Linux 32bit

Re: [NTG-context] two issues with interactive hyperlinks (please comment)

2016-02-24 Thread Pablo Rodriguez
On 02/24/2016 10:50 AM, Wolfgang Schuster wrote: >> Pablo Rodriguez 24. Februar 2016 um 10:01 >> [...] >> These options are totally new (and previously unknown to me). I’m afraid >> I wasn’t able to find them in the ConTeXt command list >> (http://www.pragma-ade.com/general/qrcs/setup-en.pdf). >

Re: [NTG-context] two issues with interactive hyperlinks (please comment)

2016-02-24 Thread Pablo Rodriguez
On 02/23/2016 09:33 AM, Hans Hagen wrote: > the hyperlink mechanism currently has the options page,name,auto (auto > being default) so you can try name but still not get what you want; the > page variant is needed for documents with 100K or more hyperlinks (and > in fact the ability to choose

Re: [NTG-context] TEI to context XML mappings?

2016-02-24 Thread mica
Hi Hans, I've tried this feature on a very simple TEI XML document. Issuing the command context --extra=xml --analyze yourfile.xml produces context-extra.pdf, which looks much like the file that Thomas wanted to produce. While this is helpful, I cannot figure out the command to produce the

[NTG-context] internal hyperlinks in latest beta

2016-02-24 Thread Alan Bowen
The links for cross-references within a document do not seem to be working. \setupinteraction[state=start] \starttext some text\reference[text]{} \page \goto{some text}[text], \at{on page}[text] \stoptext produces links that work in previous betas but not in the most recent. Alan

Re: [NTG-context] Disappearing \rrbracket

2016-02-24 Thread Wolfgang Schuster
Nicola 24. Februar 2016 um 22:49 On 2016-02-24 19:19:19 +, Hans Hagen said: I have followed the instructions at http://wiki.contextgarden.net/Mac_Installation rsync -av rsync://contextgarden.net/minimals/setup/first-setup.sh . sh ./first-setup.sh

Re: [NTG-context] Disappearing \rrbracket

2016-02-24 Thread Nicola
On 2016-02-24 19:19:19 +, Hans Hagen said: On 2/24/2016 5:48 PM, Nicola wrote: I have a problem with the symbol in the subject. This is a minimal document: \starttext $\llbracket x\rrbracket$ $\bigl\llbracket x\bigr\rrbracket$ $\Bigl\llbracket x\Bigr\rrbracket$ $\biggl\llbracket

Re: [NTG-context] Disappearing \rrbracket

2016-02-24 Thread Hans Hagen
On 2/24/2016 5:48 PM, Nicola wrote: I have a problem with the symbol in the subject. This is a minimal document: \starttext $\llbracket x\rrbracket$ $\bigl\llbracket x\bigr\rrbracket$ $\Bigl\llbracket x\Bigr\rrbracket$ $\biggl\llbracket x\biggr\rrbracket$ $\Biggl\llbracket x\Biggr\rrbracket$

Re: [NTG-context] TEI to context XML mappings?

2016-02-24 Thread Mica Semrick
> I don't know if the "blank mapping file" as conjectured by Pablo is a useful > idea I find extremely useful. When I go to style some XML file, I don't have to type all of that stuff or study the XML file to find out what elements are contained. This feature will make it extremely easy to get

[NTG-context] Disappearing \rrbracket

2016-02-24 Thread Nicola
I have a problem with the symbol in the subject. This is a minimal document: \starttext $\llbracket x\rrbracket$ $\bigl\llbracket x\bigr\rrbracket$ $\Bigl\llbracket x\Bigr\rrbracket$ $\biggl\llbracket x\biggr\rrbracket$ $\Biggl\llbracket x\Biggr\rrbracket$ \stoptext Using ConTeXt from TeX Live

Re: [NTG-context] ntg-context Digest, Vol 140, Issue 59

2016-02-24 Thread Aidan Nichol
Thanks for the reply. \thispage is producing no output in all the places it is being invoked Aidan > On 24 Feb 2016, at 15:35, ntg-context-requ...@ntg.nl wrote: > > startsetups[referenceformat:thispage] > \doifelse{\filterreference{page}}{\rawcountervalue[userpage]} > {{\tttf !?}}

Re: [NTG-context] PDF Inclusion Regression

2016-02-24 Thread Christoph Reller
On Wed, Feb 24, 2016 at 4:38 PM Hans Hagen wrote: > > On 2/24/2016 2:23 PM, Christoph Reller wrote: > > I am afraid but this might be a bug in newer versions of luatex. I would > > greatly appreciate if this would be addressed. > > fixed in next luatex release Thank you very

Re: [NTG-context] TEI to context XML mappings?

2016-02-24 Thread Mica Semrick
Thank you! And sorry for my poor description. Best, Mica On February 24, 2016 2:26:55 AM PST, Hans Hagen wrote: >On 2/24/2016 11:11 AM, Thomas A. Schmitz wrote: >> On 02/24/2016 10:52 AM, Hans Hagen wrote: >>> >>> context --extra=xml --analyze yourfile.xml >> >> Hmm, that sounds

Re: [NTG-context] TEI to context XML mappings?

2016-02-24 Thread Hans Hagen
On 2/24/2016 3:32 PM, Thomas A. Schmitz wrote: On 02/24/2016 03:15 PM, Hans Hagen wrote: if you need more info i can add it ... one can then generate whatever table one wants elements in element .. one level i assume? Yes, one level, otherwise things become too complex. And you're right,

Re: [NTG-context] PDF Inclusion Regression

2016-02-24 Thread Hans Hagen
On 2/24/2016 2:23 PM, Christoph Reller wrote: Hi, I have found the following problem when including an external PDF with \externalfigure: Some (or all?) values in PDF arrays that are between -1.0 and 0.0 loose their minus sign. E.g: -0.1 turns into 0.1. This can lead to significant visual

Re: [NTG-context] TEI to context XML mappings?

2016-02-24 Thread Thomas A. Schmitz
On 02/24/2016 03:15 PM, Hans Hagen wrote: if you need more info i can add it ... one can then generate whatever table one wants elements in element .. one level i assume? Yes, one level, otherwise things become too complex. And you're right, it's already there in the "children" element. My

Re: [NTG-context] TEI to context XML mappings?

2016-02-24 Thread Hans Hagen
On 2/24/2016 1:05 PM, Thomas A. Schmitz wrote: On 02/24/2016 11:26 AM, Hans Hagen wrote: i added the files to the beta Great, it works now and is a fantastic tool! I was thinking of writing something similar myself, but of course, you had already anticipated this wish... I'll try to see if I

Re: [NTG-context] size in setuptype

2016-02-24 Thread Wolfgang Schuster
Meer, Hans van der 24. Februar 2016 um 14:35 I can understand that, but it is not the problem to be solved here. That problem is the fact that I cannot typeset with both \type{...} and \starttyping ... \stoptyping and get the same appearance in type, spacing and

Re: [NTG-context] Controlling \at output

2016-02-24 Thread Wolfgang Schuster
Aidan Nichol 24. Februar 2016 um 12:47 I’m trying to create something (like varioref in latex) that suppresses \at output if the referenced item is on the current page. The main decision point is with \doifelse{\at[ref2]}{\rawcountervalue[page]}{ same page }{

Re: [NTG-context] size in setuptype

2016-02-24 Thread Meer, Hans van der
On 24 Feb 2016, at 13:37, Wolfgang Schuster > wrote: Meer, Hans van der 24. Februar 2016 um 13:25 Why does \setuptyping has a parameter bodyfont= and is \setuptype missing it? I am asking because in

[NTG-context] PDF Inclusion Regression

2016-02-24 Thread Christoph Reller
Hi, I have found the following problem when including an external PDF with \externalfigure: Some (or all?) values in PDF arrays that are between -1.0 and 0.0 loose their minus sign. E.g: -0.1 turns into 0.1. This can lead to significant visual differences. This problem did not exist in earlier

Re: [NTG-context] size in setuptype

2016-02-24 Thread Wolfgang Schuster
Meer, Hans van der 24. Februar 2016 um 13:25 Why does \setuptyping has a parameter bodyfont= and is \setuptype missing it? I am asking because in typesetting with \setuptype[style=small]\type{something} I get another font and size than with

[NTG-context] size in setuptype

2016-02-24 Thread Meer, Hans van der
Why does \setuptyping has a parameter bodyfont= and is \setuptype missing it? I am asking because in typesetting with \setuptype[style=small]\type{something} I get another font and size than with \setuptyping[bodyfont=small]\starttyping ... \stoptyping whereas in both the same is wanted in

Re: [NTG-context] TEI to context XML mappings?

2016-02-24 Thread Thomas A. Schmitz
On 02/24/2016 11:26 AM, Hans Hagen wrote: i added the files to the beta Great, it works now and is a fantastic tool! I was thinking of writing something similar myself, but of course, you had already anticipated this wish... I'll try to see if I can make sense of s-xml-analyzers.lua and

[NTG-context] Controlling \at output

2016-02-24 Thread Aidan Nichol
I’m trying to create something (like varioref in latex) that suppresses \at output if the referenced item is on the current page. The main decision point is with \doifelse{\at[ref2]}{\rawcountervalue[page]}{ same page }{ different page } no matter what I try (expdoifelse and other ways to get

Re: [NTG-context] TEI to context XML mappings?

2016-02-24 Thread Pablo Rodriguez
On 02/24/2016 10:52 AM, Hans Hagen wrote: > On 2/24/2016 10:10 AM, Pablo Rodriguez wrote: >> [...] >> I guess that the usefulness of this is not the actual configuration, but >> to know what you have to configure. > > context --extra=xml --analyze yourfile.xml That’s awesome. Many thanks, Hans.

Re: [NTG-context] TEI to context XML mappings?

2016-02-24 Thread Hans Hagen
On 2/24/2016 11:11 AM, Thomas A. Schmitz wrote: On 02/24/2016 10:52 AM, Hans Hagen wrote: context --extra=xml --analyze yourfile.xml Hmm, that sounds great, however, with the latest 'n greatest: resolvers > modules > 'xml-analyzers' is not found i added the files to the beta

Re: [NTG-context] TEI to context XML mappings?

2016-02-24 Thread Thomas A. Schmitz
On 02/24/2016 10:52 AM, Hans Hagen wrote: context --extra=xml --analyze yourfile.xml Hmm, that sounds great, however, with the latest 'n greatest: resolvers > modules > 'xml-analyzers' is not found Thomas

Re: [NTG-context] TEI to context XML mappings?

2016-02-24 Thread Hans Hagen
On 2/24/2016 10:10 AM, Pablo Rodriguez wrote: On 02/24/2016 09:20 AM, Hans Hagen wrote: On 2/23/2016 10:26 PM, Mica Semrick wrote: Reading the docbook thread earlier today reminded me to ask this: Is there any feature or script that anyone can share that will read in an XML document and spit

Re: [NTG-context] two issues with interactive hyperlinks (please comment)

2016-02-24 Thread Wolfgang Schuster
Pablo Rodriguez 24. Februar 2016 um 10:01 On 02/23/2016 09:33 AM, Hans Hagen wrote: On 2/23/2016 12:21 AM, Pablo Rodriguez wrote: Well, Sumatra works fine with this concrete feature (at least, this is my experience). And mupdf is the only exception in this regard. hm,

Re: [NTG-context] two issues with interactive hyperlinks (please comment)

2016-02-24 Thread Pablo Rodriguez
On 02/23/2016 11:07 PM, Alan BRASLAU wrote: > Just speculating, could one distribute a PDF that would be like a book > with many parts? I know that Hans is not a fan of part, but I wonder > how this is handled? I doubt that any viewers handle prefixed page > numbers properly. I just tried looking

Re: [NTG-context] issue with \sethyphenatedafter

2016-02-24 Thread Pablo Rodriguez
On 02/24/2016 09:54 AM, Hans Hagen wrote: >> Am I doing somehting wrong? Or do I require LuaTeX-0.89.2 (Linux 32bit >> has version 0.89.0 in the ConTeXt Suite [I just mention it, I’m fine >> with that].) > > you should not use > > \sethyphenatedurlafter{/} Many thanks for your help, Hans.

Re: [NTG-context] TEI to context XML mappings?

2016-02-24 Thread Pablo Rodriguez
On 02/24/2016 09:20 AM, Hans Hagen wrote: > On 2/23/2016 10:26 PM, Mica Semrick wrote: >> Reading the docbook thread earlier today reminded me to ask this: >> >> Is there any feature or script that anyone can share that will read in >> an XML document and spit out a blank mapping file? > > what

Re: [NTG-context] two issues with interactive hyperlinks (please comment)

2016-02-24 Thread Pablo Rodriguez
On 02/23/2016 09:33 AM, Hans Hagen wrote: > On 2/23/2016 12:21 AM, Pablo Rodriguez wrote: > >> Well, Sumatra works fine with this concrete feature (at least, this is >> my experience). And mupdf is the only exception in this regard. > > hm, sumatra uses the mupdf engine Well, this is more

Re: [NTG-context] issue with \sethyphenatedafter

2016-02-24 Thread Hans Hagen
On 2/24/2016 8:44 AM, Pablo Rodriguez wrote: On 02/22/2016 10:30 PM, Hans Hagen wrote: Is there any way to force the two slashes to be on the same line? i'll add \enabledirectives[hyphenators.urls.packslashes] Hans, I’m afraid the following code doesn’t work with latest beta from

Re: [NTG-context] TEI to context XML mappings?

2016-02-24 Thread Hans Hagen
On 2/23/2016 10:26 PM, Mica Semrick wrote: Reading the docbook thread earlier today reminded me to ask this: Is there any feature or script that anyone can share that will read in an XML document and spit out a blank mapping file? what is a blank mapping file