Re: [NTG-context] Math literal colon

2015-07-24 Thread Hans Hagen
On 7/20/2015 6:06 PM, Hans Aberg wrote: On 20 Jul 2015, at 16:40, Aditya Mahajan adit...@umich.edu wrote: On Mon, 20 Jul 2015, Hans Aberg wrote: The LaTeX package unicode-math has an option colon=literal, which makes it behave as in math functions (as in example below). Has ConTeXt a

Re: [NTG-context] issue with font and lua code

2015-07-24 Thread Hans Hagen
On 7/20/2015 6:49 PM, Pablo Rodriguez wrote: Hans, I have the following sample (it includes Lua code for underscore hyphenation): \startluacode function document.addfunnyhyphen(tfmdata) local underscore = utf.byte(_) local char =

Re: [NTG-context] Math literal colon

2015-07-24 Thread Hans Hagen
On 7/20/2015 6:09 PM, Hans Aberg wrote: On 20 Jul 2015, at 17:50, Manuel Blanco manue...@ucm.es wrote: A little bit more of intelligence can be given with \begingroup\lccode`\~=`\:\lowercase{\endgroup \unexpanded\def~}{\futurelet\tmptoken\docolon}

Re: [NTG-context] Math literal colon

2015-07-24 Thread Hans Hagen
On 7/20/2015 6:22 PM, Hans Aberg wrote: On 20 Jul 2015, at 17:43, Manuel Blanco manue...@ucm.es wrote: Well, you can make the colon active in math mode and then let it output \colon. This is a TeX way, I don't know if there's a ConTeXt way for this:

Re: [NTG-context] Math literal colon

2015-07-24 Thread Hans Aberg
On 24 Jul 2015, at 11:40, Hans Hagen pra...@wxs.nl wrote: On 7/20/2015 6:09 PM, Hans Aberg wrote: On 20 Jul 2015, at 17:50, Manuel Blanco manue...@ucm.es wrote: A little bit more of intelligence can be given with \begingroup\lccode`\~=`\:\lowercase{\endgroup

Re: [NTG-context] Math literal colon

2015-07-24 Thread Hans Aberg
On 24 Jul 2015, at 11:43, Hans Hagen pra...@wxs.nl wrote: On 7/20/2015 6:22 PM, Hans Aberg wrote: On 20 Jul 2015, at 17:43, Manuel Blanco manue...@ucm.es wrote: Well, you can make the colon active in math mode and then let it output \colon. This is a TeX way, I don't know if

Re: [NTG-context] Critical editions with ConTeXt

2015-07-24 Thread Hans Hagen
On 7/22/2015 11:33 PM, tala...@fastmail.fm wrote: Dear Pablo, Thank you very much for what you proposed — it did work indeed. I tried to achieve the same at some length this afternoon. I think I understand what is going on in the first macro, but wouldn’t have been able to arrive at the the

Re: [NTG-context] reverse page order and reverse page numbering in one part of a book

2015-07-24 Thread Hans Hagen
On 7/22/2015 4:28 PM, Thomas A. Schmitz wrote: On 07/22/2015 03:47 PM, Alan BRASLAU wrote: There are several different issues. Synchronization can be line-by-line, paragraph-by-paragraph, sectionblock-by-sectionblock... or, as is the case with the posting of this thread, part-by-part (i.e.

Re: [NTG-context] reverse page order and reverse page numbering in one part of a book

2015-07-24 Thread Hans Hagen
On 7/22/2015 3:47 PM, Alan BRASLAU wrote: On Wed, 22 Jul 2015 14:54:17 +0200 Thomas A. Schmitz thomas.schm...@uni-bonn.de wrote: On 07/22/2015 02:45 PM, Alan BRASLAU wrote: The project/product/component mechanism can help somewhat. I also know that Thomas had written a streams module to

Re: [NTG-context] Math literal colon

2015-07-24 Thread Hans Hagen
On 7/24/2015 6:18 PM, Hans Aberg wrote: On 24 Jul 2015, at 16:28, Hans Hagen pra...@wxs.nl wrote: On 7/24/2015 4:13 PM, Hans Aberg wrote: You can add it if you think it is no problem. Proper Unicode characters in the input help the readability, so putting them at high priority seems good.

Re: [NTG-context] Math literal colon

2015-07-24 Thread Hans Aberg
On 24 Jul 2015, at 15:34, Hans Hagen pra...@wxs.nl wrote: I have experimented with a theorem proof assistant that admitted parallel ASCII and Unicode symbol names, but it turns out to be complicated. Think of C/C++ trigraphs, a chore to implement, only to be removed in the latest

Re: [NTG-context] Math literal colon

2015-07-24 Thread Hans Hagen
On 7/24/2015 4:13 PM, Hans Aberg wrote: On 24 Jul 2015, at 15:34, Hans Hagen pra...@wxs.nl wrote: I have experimented with a theorem proof assistant that admitted parallel ASCII and Unicode symbol names, but it turns out to be complicated. Think of C/C++ trigraphs, a chore to implement,

Re: [NTG-context] Math literal colon

2015-07-24 Thread Hans Aberg
On 24 Jul 2015, at 16:26, Hans Hagen pra...@wxs.nl wrote: On 7/24/2015 4:08 PM, Hans Aberg wrote: I was thinking of just having the two, \colon and \ratio. Looking into some books before electronic typesetting, the spacing of the latter can vary widely: some do not use spaces at all.

Re: [NTG-context] Math literal colon

2015-07-24 Thread Hans Aberg
On 24 Jul 2015, at 16:28, Hans Hagen pra...@wxs.nl wrote: On 7/24/2015 4:13 PM, Hans Aberg wrote: You can add it if you think it is no problem. Proper Unicode characters in the input help the readability, so putting them at high priority seems good. fyi, on the agenda for the gyre

Re: [NTG-context] Math literal colon

2015-07-24 Thread Hans Aberg
On 24 Jul 2015, at 15:48, Hans Hagen pra...@wxs.nl wrote: In the examples I mentioned (below), running ‘context’ on the first produces large colons, whereas ‘luatex’ on the second does not. The latter looks right to me. define 'luatex' ... it's all about choices that macro packages make

Re: [NTG-context] Math literal colon

2015-07-24 Thread Hans Hagen
On 7/24/2015 4:19 PM, Hans Aberg wrote: On 24 Jul 2015, at 15:48, Hans Hagen pra...@wxs.nl wrote: In the examples I mentioned (below), running ‘context’ on the first produces large colons, whereas ‘luatex’ on the second does not. The latter looks right to me. define 'luatex' ... it's

Re: [NTG-context] Math literal colon

2015-07-24 Thread Hans Hagen
On 7/24/2015 4:08 PM, Hans Aberg wrote: I was thinking of just having the two, \colon and \ratio. Looking into some books before electronic typesetting, the spacing of the latter can vary widely: some do not use spaces at all. So a set might look {x:x a} instead of {x : x a} But that

Re: [NTG-context] Math literal colon

2015-07-24 Thread Hans Aberg
On 24 Jul 2015, at 21:58, Hans Hagen pra...@wxs.nl wrote: On 7/24/2015 6:57 PM, Hans Aberg wrote: The Unicode monospace characters were added by mistake, because in computer science, style does not affect semantics, as it does math. Looking into old computer science books, they do not

Re: [NTG-context] Math literal colon

2015-07-24 Thread Hans Aberg
On 24 Jul 2015, at 18:34, Hans Hagen pra...@wxs.nl wrote: On 7/24/2015 6:18 PM, Hans Aberg wrote: On 24 Jul 2015, at 16:28, Hans Hagen pra...@wxs.nl wrote: On 7/24/2015 4:13 PM, Hans Aberg wrote: You can add it if you think it is no problem. Proper Unicode characters in the input

Re: [NTG-context] issue with font and lua code

2015-07-24 Thread Pablo Rodriguez
On 07/24/2015 10:26 AM, Hans Hagen wrote: On 7/20/2015 6:49 PM, Pablo Rodriguez wrote: [...] For some reason, the font gives the following error with the Lua code (font can be downloaded from http://dl.dafont.com/dl/?f=sv_basic_manual): lua errorlua error on line 33 in file svb.tex:

Re: [NTG-context] Math literal colon

2015-07-24 Thread Hans Aberg
On 24 Jul 2015, at 16:29, Hans Hagen pra...@wxs.nl wrote: On 7/24/2015 4:19 PM, Hans Aberg wrote: The function $f: A → B$, $g\colon A → B$. we could add a mathsymbol entry but I leave that to Aditya to decide { adobename=colon, category=po, cjkwd=na, description=COLON,

Re: [NTG-context] Math literal colon

2015-07-24 Thread Hans Aberg
On 24 Jul 2015, at 15:29, Hans Hagen pra...@wxs.nl wrote: On 7/24/2015 2:32 PM, Hans Aberg wrote: [Note: I use the cc to know that I have received a reply.] On 24 Jul 2015, at 10:30, Hans Hagen pra...@wxs.nl wrote: On 7/20/2015 6:06 PM, Hans Aberg wrote: On 20 Jul 2015, at 16:40,

Re: [NTG-context] chapter only in bookmarks (not in text or in TOC)

2015-07-24 Thread Pablo Rodriguez
On 07/24/2015 02:14 PM, Hans Hagen wrote: On 7/6/2015 9:10 PM, Pablo Rodriguez wrote: On 07/06/2015 05:56 PM, Hans Hagen wrote: [...] I need that there is no \hiddentile in the text itself, so I removed all space after and before. But I cannot make vertical spaces in makeups work: [...]

Re: [NTG-context] Math literal colon

2015-07-24 Thread Hans Hagen
On 7/24/2015 6:57 PM, Hans Aberg wrote: On 24 Jul 2015, at 18:34, Hans Hagen pra...@wxs.nl wrote: On 7/24/2015 6:18 PM, Hans Aberg wrote: On 24 Jul 2015, at 16:28, Hans Hagen pra...@wxs.nl wrote: On 7/24/2015 4:13 PM, Hans Aberg wrote: You can add it if you think it is no problem.

Re: [NTG-context] Math literal colon

2015-07-24 Thread Hans Hagen
On 7/24/2015 3:00 PM, Hans Aberg wrote: On 24 Jul 2015, at 11:43, Hans Hagen pra...@wxs.nl wrote: On 7/20/2015 6:22 PM, Hans Aberg wrote: On 20 Jul 2015, at 17:43, Manuel Blanco manue...@ucm.es wrote: Well, you can make the colon active in math mode and then let it output \colon. This is

Re: [NTG-context] Math literal colon

2015-07-24 Thread Hans Hagen
On 7/24/2015 2:32 PM, Hans Aberg wrote: [Note: I use the cc to know that I have received a reply.] On 24 Jul 2015, at 10:30, Hans Hagen pra...@wxs.nl wrote: On 7/20/2015 6:06 PM, Hans Aberg wrote: On 20 Jul 2015, at 16:40, Aditya Mahajan adit...@umich.edu wrote: On Mon, 20 Jul 2015, Hans

Re: [NTG-context] Math literal colon

2015-07-24 Thread Hans Hagen
On 7/24/2015 2:40 PM, Hans Aberg wrote: On 24 Jul 2015, at 11:40, Hans Hagen pra...@wxs.nl wrote: On 7/20/2015 6:09 PM, Hans Aberg wrote: On 20 Jul 2015, at 17:50, Manuel Blanco manue...@ucm.es wrote: A little bit more of intelligence can be given with

Re: [NTG-context] Multiline equations break grid in columnsets

2015-07-24 Thread Hans Hagen
On 7/21/2015 9:32 AM, Sebastian Ørsted wrote: I reported this some days ago, but it was a rather short report, which might explain why nobody has reacted upon it yet. So this time I'll go into greater detail: there are two issues there, one was horizontal alignment (some day i'll do that part

Re: [NTG-context] bug in blank pagebreak?

2015-07-24 Thread Hans Hagen
On 7/19/2015 7:56 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \definepagebreak [right:pagebreak] [yes, blank, right] %~ [yes, header, footer, right] \setuppagenumbering [location=inmargin] \setupheadertexts

Re: [NTG-context] chapter only in bookmarks (not in text or in TOC)

2015-07-24 Thread Hans Hagen
On 7/6/2015 9:10 PM, Pablo Rodriguez wrote: On 07/06/2015 05:56 PM, Hans Hagen wrote: [...] \setupinteraction[state=start] \placebookmarks[chapter,hiddentitle] \definehead[hiddentitle][chapter] \setuphead[hiddentitle][incrementnumber=list] \starttext \completecontent

Re: [NTG-context] Line wrapping inconsistency with tolerance, alignment and framed

2015-07-24 Thread Hans Hagen
On 6/18/2015 4:25 PM, Christoph Reller wrote: Hi, I have an (admittedly carefully crafted) example, see below. My question: Why is the line wrapping different for this case within a framed and outside of a framed? How can I control the amount of space left on a line before breaking the line

Re: [NTG-context] Math literal colon

2015-07-24 Thread Hans Aberg
[Note: I use the cc to know that I have received a reply.] On 24 Jul 2015, at 10:30, Hans Hagen pra...@wxs.nl wrote: On 7/20/2015 6:06 PM, Hans Aberg wrote: On 20 Jul 2015, at 16:40, Aditya Mahajan adit...@umich.edu wrote: On Mon, 20 Jul 2015, Hans Aberg wrote: The LaTeX package