Re: [NTG-context] \asciimode and MetaPost in LMTX result in “Isolated expression”

2022-03-12 Thread Marco Patzer via ntg-context
On Sat, 12 Mar 2022 22:27:38 +0100 Henning Hraban Ramm via ntg-context wrote: > My current and most MP-heavy project so far, fails in asciimode with > "Extra }, or forgotten \endgroup" You can't just run “normal” projects with \asciimode. Chances are, constructs are being

Re: [NTG-context] \asciimode and MetaPost in LMTX result in “Isolated expression”

2022-03-12 Thread Henning Hraban Ramm via ntg-context
asciimode with "Extra }, or forgotten \endgroup" No time to investigate why, ATM. Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg

Re: [NTG-context] \asciimode and MetaPost in LMTX result in “Isolated expression”

2022-03-12 Thread Marco Patzer via ntg-context
On Sat, 12 Mar 2022 15:51:16 +0100 Hans Hagen wrote: > you can try this > (in cont-new.tex): > > \prependtoks > \setcatcodetable\ctxcatcodes > \to \everyMPgraphic > > and then do lots of tests with and without asciimode so see if this > doesn't interfere

Re: [NTG-context] \asciimode and MetaPost in LMTX result in “Isolated expression”

2022-03-12 Thread Hans Hagen via ntg-context
On 3/12/2022 3:35 PM, Marco Patzer via ntg-context wrote: On Mon, 31 Jan 2022 20:02:42 +0100 Marco Patzer via ntg-context wrote: LMTX seems to have an issue with \asciimode and MetaPost: \asciimode \starttext \startMPcode fill unitsquare scaled 2cm; \stopMPcode \stoptext Results

Re: [NTG-context] \asciimode and MetaPost in LMTX result in “Isolated expression”

2022-03-12 Thread Marco Patzer via ntg-context
On Mon, 31 Jan 2022 20:02:42 +0100 Marco Patzer via ntg-context wrote: > LMTX seems to have an issue with \asciimode and MetaPost: > > \asciimode > \starttext > \startMPcode > fill unitsquare scaled 2cm; > \stopMPcode > \stoptext > > Results in: >

[NTG-context] \asciimode and MetaPost in LMTX result in “Isolated expression”

2022-01-31 Thread Marco Patzer via ntg-context
Hi! LMTX seems to have an issue with \asciimode and MetaPost: \asciimode \starttext \startMPcode fill unitsquare scaled 2cm; \stopMPcode \stoptext Results in: metafun > log > error: Isolated expression metafun > log > metapost> trace > 􏼥.dash

Re: [NTG-context] \asciimode and \type{%%}

2020-06-27 Thread Wolfgang Schuster
Hans Hagen schrieb am 24.06.2020 um 21:03: But ... we can have \unexpanded\def\literalmode{\setcatcodetable\txtcatcodes} and then: [...] I'll add that command, assuming that someone will document it somewhere. Not really needed in this case but I'm going to document it. I already bet on t

Re: [NTG-context] \asciimode and \type{%%}

2020-06-24 Thread Hans Hagen
On 6/24/2020 7:59 PM, Wolfgang Schuster wrote: Hans Hagen schrieb am 24.06.2020 um 19:06: On 6/24/2020 6:33 PM, Wolfgang Schuster wrote: Hi, when asciimode is enabled the \type command ignores double comment symbols. \starttext \quotation{\type{%}} \quotation{\type{%%}} \asciimode

Re: [NTG-context] \asciimode and \type{%%}

2020-06-24 Thread Wolfgang Schuster
Hans Hagen schrieb am 24.06.2020 um 19:06: On 6/24/2020 6:33 PM, Wolfgang Schuster wrote: Hi, when asciimode is enabled the \type command ignores double comment symbols. \starttext \quotation{\type{%}} \quotation{\type{%%}} \asciimode \quotation{\type{%}} \quotation{\type

Re: [NTG-context] \asciimode and \type{%%}

2020-06-24 Thread Hans Hagen
On 6/24/2020 6:33 PM, Wolfgang Schuster wrote: Hi, when asciimode is enabled the \type command ignores double comment symbols. \starttext \quotation{\type{%}} \quotation{\type{%%}} \asciimode \quotation{\type{%}} \quotation{\type{%%}} \stoptext It's actually a feature: in asc

[NTG-context] \asciimode and \type{%%}

2020-06-24 Thread Wolfgang Schuster
Hi, when asciimode is enabled the \type command ignores double comment symbols. \starttext \quotation{\type{%}} \quotation{\type{%%}} \asciimode \quotation{\type{%}} \quotation{\type{%%}} \stoptext Wolfgang

Re: [NTG-context] \asciimode not working when in \footnote

2014-02-19 Thread Pablo Rodriguez
On 02/19/2014 08:24 PM, Wolfgang Schuster wrote: > Am 19.02.2014 um 20:18 schrieb Pablo Rodriguez : >> [...] >> I’m afraid \asciimode cannot be included within a footnote. >> >> Is this a bug or am I missing something? > > You have to enable ascii mode before you

Re: [NTG-context] \asciimode not working when in \footnote

2014-02-19 Thread Wolfgang Schuster
Am 19.02.2014 um 20:18 schrieb Pablo Rodriguez : > Dear list, > > I have the following sample: > > \starttext > {\asciimode It works in body%.}\footnote{But not in footnotes > {\asciimode %}.} > \stoptext > > I’m afraid \asciimode cannot be included within a foot

[NTG-context] \asciimode not working when in \footnote

2014-02-19 Thread Pablo Rodriguez
Dear list, I have the following sample: \starttext {\asciimode It works in body%.}\footnote{But not in footnotes {\asciimode %}.} \stoptext I’m afraid \asciimode cannot be included within a footnote. Is this a bug or am I missing something? Many thanks for your help, Pablo -- http

Re: [NTG-context] Database module: asciimode and escapechar

2013-06-10 Thread Hans Hagen
On 6/8/2013 8:04 PM, Wolfgang Schuster wrote: Hi, there are another things that need to be fixed with the database module. 1. The quotechar character appears in the output. 2. The \asciimode command is ignored. in next upload

[NTG-context] Database module: asciimode and escapechar

2013-06-08 Thread Wolfgang Schuster
Hi, there are another things that need to be fixed with the database module. 1. The quotechar character appears in the output. 2. The \asciimode command is ignored. \usemodule[database] \define[2]\TestCommand {Currency: #1, Value: #2 \par} \startbuffer[testdata] Euro,"€ 100&qu

Re: [NTG-context] \asciimode does not work with gnuplot module

2013-01-21 Thread Mojca Miklavec
On Mon, Jan 21, 2013 at 9:16 AM, Wolfgang Schuster wrote: > Am 21.01.2013 um 01:19 schrieb Mojca Miklavec: >> On Sun, Jan 20, 2013 at 11:06 PM, Marco Patzer wrote: >>> \usemodule [gnuplot] >>> \asciimode >>> >>> \starttext >>> \startGNUPLOTs

Re: [NTG-context] \asciimode does not work with gnuplot module

2013-01-21 Thread Wolfgang Schuster
Am 21.01.2013 um 01:19 schrieb Mojca Miklavec : > On Sun, Jan 20, 2013 at 11:06 PM, Marco Patzer wrote: >> \usemodule [gnuplot] >> \asciimode >> >> \starttext >> \startGNUPLOTscript [foo] >>plot sin(x) >> \stopGNUPLOTscript >> \useGNUP

Re: [NTG-context] \asciimode does not work with gnuplot module

2013-01-20 Thread Mojca Miklavec
On Sun, Jan 20, 2013 at 11:06 PM, Marco Patzer wrote: > \usemodule [gnuplot] > \asciimode > > \starttext > \startGNUPLOTscript [foo] > plot sin(x) > \stopGNUPLOTscript > \useGNUPLOTgraphic [foo] > \stoptext I need

[NTG-context] \asciimode does not work with gnuplot module

2013-01-20 Thread Marco Patzer
Hi, When \asciimode is set some version info is printed instead of the graph. Example: \usemodule [gnuplot] \asciimode \starttext \startGNUPLOTscript [foo] plot sin(x) \stopGNUPLOTscript \useGNUPLOTgraphic [foo] \stoptext Marco signature.asc Description: Digital signature

Re: [NTG-context] \asciimode and cld

2011-05-27 Thread Hans Hagen
On 27-5-2011 3:07, Hans Hagen wrote: On 27-5-2011 11:00, Peter Münster wrote: Hello, How can one use \asciimode in cld syntax? This does not seem to work: context.starttext() context.asciimode() context"bla % bla" context.stoptext() \starttext \startluacode context.st

Re: [NTG-context] \asciimode and cld

2011-05-27 Thread Hans Hagen
On 27-5-2011 11:00, Peter Münster wrote: Hello, How can one use \asciimode in cld syntax? This does not seem to work: context.starttext() context.asciimode() context"bla % bla" context.stoptext() \starttext \startluacode context.startTEXpage() context

[NTG-context] \asciimode and cld

2011-05-27 Thread Peter Münster
Hello, How can one use \asciimode in cld syntax? This does not seem to work: context.starttext() context.asciimode() context"bla % bla" context.stoptext() TIA for any hints! -- Peter _

Re: [NTG-context] asciimode

2011-01-25 Thread Hans Hagen
On 25-1-2011 9:39, Wolfgang Schuster wrote: Hi, \stopasciimode does always switch to \donknuthmode what is nonsense when \nonknuthmode will be the default in the future, wouldn’t something like this make more sense \unexpanded\def\stopasciimode {\popcatcodetable \ifconditional\knuthmod

[NTG-context] asciimode

2011-01-25 Thread Wolfgang Schuster
Hi, \stopasciimode does always switch to \donknuthmode what is nonsense when \nonknuthmode will be the default in the future, wouldn’t something like this make more sense \unexpanded\def\stopasciimode {\popcatcodetable \ifconditional\knuthmode\else\donknuthmode\fi} and set \knuthmode to t

Re: [NTG-context] asciimode

2010-10-29 Thread Hans Hagen
On 29-10-2010 1:15, Peter Rolf wrote: Am 29.10.2010 12:52, schrieb Steffen Wolfrum: Hi, if I only want to benefit of asciimode in controlled situations (inline?) ... how do I completely switch it off again (see below)?? Steffen --- \starttext test: {\asciimode http://europa.eu/rapid

Re: [NTG-context] asciimode

2010-10-29 Thread Peter Münster
On Fri, Oct 29 2010, Taco Hoekwater wrote: > > > >if I only want to benefit of asciimode in controlled situations (inline?) > >... how do I completely switch it off again (see below)?? > > \donknuthmode, I assume Perhaps something like this could be added to the core: \d

Re: [NTG-context] asciimode

2010-10-29 Thread Peter Rolf
Am 29.10.2010 12:52, schrieb Steffen Wolfrum: > Hi, > > if I only want to benefit of asciimode in controlled situations (inline?) ... > how do I completely switch it off again (see below)?? > > Steffen > > --- > > \starttext > > test: {

Re: [NTG-context] asciimode

2010-10-29 Thread Taco Hoekwater
On 10/29/2010 12:52 PM, Steffen Wolfrum wrote: Hi, if I only want to benefit of asciimode in controlled situations (inline?) ... how do I completely switch it off again (see below)?? \donknuthmode, I assume Steffen --- \starttext test: {\asciimode http://europa.eu/rapid

[NTG-context] asciimode

2010-10-29 Thread Steffen Wolfrum
Hi, if I only want to benefit of asciimode in controlled situations (inline?) ... how do I completely switch it off again (see below)?? Steffen --- \starttext test: {\asciimode http://europa.eu/rapid/pressReleasesAction.do?reference=IP/05/1156&format=HTML&aged=0&language=EN