Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-17 Thread Alan BRASLAU
On Thu, 18 Feb 2016 00:40:39 +0100 Pablo Rodriguez wrote: > Excuse me, Alan, this is exclamation in Spanish (and only in Spanish). Bigre ! Of course, I know that. > Just out of curiosity, why do you think he should have chosen that? I was attempting to make some fun with this

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-17 Thread Pablo Rodriguez
On 02/17/2016 11:18 PM, Alan BRASLAU wrote: > On Wed, 17 Feb 2016 20:08:31 +0100 Hans Hagen wrote: > >> you're an american citizen who likes $x^2$ but to call if >> beautiful ... €x^2€ nor £x^2£ (in 8 bit encodings / local keyboards >> times) all look bad ... > > Hans, you forgot: ¥x^2¥, ₽x^2₽,

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-17 Thread Alan BRASLAU
On Wed, 17 Feb 2016 13:24:53 -0500 Aditya Mahajan wrote: > I am curious to know if there is ANYONE who types in a lot of math > and regularly uses \m{...} or \math{...}. I still use $$ and use > \math{..} or \mathematics{...} only when generating output from lua > code:

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-17 Thread Rogers, Michael K
I use $…$. And for copying text from one TeX to another (e.g. ConTeXt <—> PlainTex/Latex/Markdown/Jax), it would be a pain if I couldn't. Michael > On Feb 17, 2016, at 1:24 PM, Aditya Mahajan wrote: > > On Wed, 17 Feb 2016, Alan BRASLAU wrote: > >> However, I can see

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-17 Thread Aditya Mahajan
On Wed, 17 Feb 2016, Alan BRASLAU wrote: However, I can see situations where one might want to tighten spacing in order to fit a particular expression within a line or in a table, for example. Here, \math[options]{expression} is a reasonable syntax, yet I cannot foresee ever using the very

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-17 Thread Alan BRASLAU
On Wed, 17 Feb 2016 10:44:43 +0100 Hans Hagen wrote: > also, but don't tell alan, there is this: > > \m[i:tight]{} > > i:default, i:tight, i:half, i:fixed I spy... I would suggest that one would set (inline) math spacing and other options (like \mathscriptsmode) globally

Re: [NTG-context] applying properties to columns / rows in xtables

2016-02-17 Thread Pablo Rodriguez
On 02/17/2016 04:22 PM, Wolfgang Schuster wrote: > [...] > \setupxtable[align=\ifcase\currentxtablecolumn\or flushright\else middle\fi] Many thanks for your fast reply, Wolfgang. This is exactly what I need. I wouldn’t have found out myself in centuries. Many thanks for your help, Pablo --

Re: [NTG-context] applying properties to columns / rows in xtables

2016-02-17 Thread Wolfgang Schuster
Pablo Rodriguez 17. Februar 2016 um 16:12 Sorry, Wolfgang. You’re right, I forgot to tell- I want to avoid tagging each cell to get this: \starttext \startxtable[option=stretch] \startxrow \startxcell[align=left] one \stopxcell \startxcell[align=center] two \stopxcell

Re: [NTG-context] applying properties to columns / rows in xtables

2016-02-17 Thread Pablo Rodriguez
On 02/17/2016 04:01 PM, Wolfgang Schuster wrote: >> Pablo Rodriguez 17. Februar 2016 um 15:48 >> In this sample, it would be easy. In a longer xtable, I would like to >> avoid it :-). > > What do you want to do? Sorry, Wolfgang. You’re right, I forgot to tell- I want to avoid tagging each cell

Re: [NTG-context] applying properties to columns / rows in xtables

2016-02-17 Thread Wolfgang Schuster
Pablo Rodriguez 17. Februar 2016 um 15:48 Dear list, having this basic xtable (adapted from xtables-mkiv.pdf): \starttext \startxtable[option=stretch] \startxrow \startxcell one \stopxcell \startxcell two \stopxcell \stopxrow \startxrow \startxcell alpha \stopxcell

[NTG-context] applying properties to columns / rows in xtables

2016-02-17 Thread Pablo Rodriguez
Dear list, having this basic xtable (adapted from xtables-mkiv.pdf): \starttext \startxtable[option=stretch] \startxrow \startxcell one \stopxcell \startxcell two \stopxcell \stopxrow \startxrow \startxcell alpha \stopxcell

Re: [NTG-context] two issues with xtables

2016-02-17 Thread Pablo Rodriguez
On 02/17/2016 03:22 PM, Pablo Rodriguez wrote: > [...] > I wonder whether a common \installframerenderer would make sense here. > It would simplify code writing. Or at least I think it may be useful. Excuse my nonsense. I have just realized that lines must be different for top/bottom and

Re: [NTG-context] two issues with xtables

2016-02-17 Thread Pablo Rodriguez
On 02/17/2016 03:08 PM, Aditya Mahajan wrote: > On Wed, 17 Feb 2016, Pablo Rodriguez wrote: >> [..] >> I’m afraid that only leftframe seems to work with latest beta: >> >>\installleftframerenderer{big}{\blackrule[height=\overlayheight, >>width=3\linewidth]} > > You need to add

Re: [NTG-context] two issues with xtables

2016-02-17 Thread Aditya Mahajan
On Wed, 17 Feb 2016, Pablo Rodriguez wrote: On 02/16/2016 09:07 PM, Wolfgang Schuster wrote: Pablo Rodriguez 16. Februar 2016 um 20:59 [...] MetaPost is unknown to me. How would it be with this minimal sample? There is a second method which let you create your own argument for the leftframe,

Re: [NTG-context] two issues with xtables

2016-02-17 Thread Pablo Rodriguez
On 02/16/2016 09:07 PM, Wolfgang Schuster wrote: >> Pablo Rodriguez 16. Februar 2016 um 20:59 >> [...] >> MetaPost is unknown to me. How would it be with this minimal sample? > > There is a second method which let you create your own argument for the > leftframe, > rightframe etc. keys. Many

Re: [NTG-context] Buffer with syntax highlighting

2016-02-17 Thread Procházka Lukáš Ing .
That's it, thank you! Lukas On Wed, 17 Feb 2016 13:39:47 +0100, Marco Patzer wrote: On Wed, 17 Feb 2016 13:16:03 +0100 Procházka Lukáš Ing. wrote: is it possible to \typebuffer with a syntax highlighting? \typebuffer [demo] [option=context] Also

Re: [NTG-context] Titles numbering

2016-02-17 Thread Wolfgang Schuster
Michał Goliński 17. Februar 2016 um 14:32 The following file used to give me numbered titles (and still gives numbered titles in TeXLive): \setuphead[part][ placehead=yes, page=yes, % number=yes ] \setuphead[chapter][ page=yes, % number=yes ] \starttext

[NTG-context] Titles numbering

2016-02-17 Thread Michał Goliński
The following file used to give me numbered titles (and still gives numbered titles in TeXLive): \setuphead[part][ placehead=yes, page=yes, % number=yes ] \setuphead[chapter][ page=yes, % number=yes ] \starttext \startpart[title={Part one}] \startchapter[title={Fancy chapter

Re: [NTG-context] new error in Context-Metapost

2016-02-17 Thread Meer, Hans van der
Thanks for the quick answer. This error looks tricky indeed. I haven't the faintest illusion I could have found out by myself... Hans van der Meer On 17 Feb 2016, at 13:34, Hans Hagen > wrote: That was a tricky one to nail down ... it related to the fact

Re: [NTG-context] Buffer with syntax highlighting

2016-02-17 Thread Marco Patzer
On Wed, 17 Feb 2016 13:16:03 +0100 Procházka Lukáš Ing. wrote: > is it possible to \typebuffer with a syntax highlighting? \typebuffer [demo] [option=context] Also have a look at Aditya's vim syntax highlighter module which is great. Marco

Re: [NTG-context] Buffer with syntax highlighting

2016-02-17 Thread Hans Hagen
On 2/17/2016 1:16 PM, Procházka Lukáš Ing. wrote: Hello, is it possible to \typebuffer with a syntax highlighting? \typefile allows to specific syntax highlighter, e.g. \typefile[TEX]{file.tex}; \typebuffer does not (AFAIK). It would be useful to have: \startbuffer[demo] \startitemize

Re: [NTG-context] new error in Context-Metapost

2016-02-17 Thread Hans Hagen
On 2/17/2016 11:27 AM, Meer, Hans van der wrote: Some code that worked ok but hasn't been used for some time, now gives an error: missing $. It is working fine in ConTeXt, but putting it inside an MPpage goes wrong. That was a tricky one to nail down ... it related to the fact that have \{

[NTG-context] Buffer with syntax highlighting

2016-02-17 Thread Procházka Lukáš Ing .
Hello, is it possible to \typebuffer with a syntax highlighting? \typefile allows to specific syntax highlighter, e.g. \typefile[TEX]{file.tex}; \typebuffer does not (AFAIK). It would be useful to have: \startbuffer[demo] \startitemize \item Hello! \stopitemize \stopbuffer which

[NTG-context] new error in Context-Metapost

2016-02-17 Thread Meer, Hans van der
Some code that worked ok but hasn't been used for some time, now gives an error: missing $. It is working fine in ConTeXt, but putting it inside an MPpage goes wrong. Here a minimal example, the output of the ConTeXt run and the error on the MPpage run. Has something changed I missed? Hans van

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-17 Thread Hans Hagen
On 2/17/2016 8:31 AM, Otared Kavian wrote: I agree totally with Alan in saying that the inline math signals $\cdots$ should NEVER be left out from ConTeXt, or even become deprecated. that was never the intention (as one can always run in asciimode) but what's being discussed here is more

Re: [NTG-context] Absolute position in table cell

2016-02-17 Thread Volker Mische
On 02/16/2016 10:49 PM, Hans Hagen wrote: > On 2/16/2016 10:29 PM, Volker Mische wrote: >> On 02/16/2016 05:40 PM, Wolfgang Schuster wrote: Volker Mische 16. Februar 2016 um 17:21 Thanks a lot that works. I've a follow up question. I'd