[NTG-context] ConTeXt support in LTEX

2021-11-29 Thread Saša Janiška via ntg-context
Hello, didn't have time to (properly) test, but you might be interested to hear that since 15.2.0 release - hot from the owen - there is now support for ConTeXt as well. Sincerely, Gour -- Bewildered by the modes of material nature, the ignorant fully engage themselves in material activities

Re: [NTG-context] Blocks inside a conditional mode.

2021-11-28 Thread Fabrice L via ntg-context
nested conditional mode.. is this the problem ?). > > You can’t nest modes in \startmode ... \stopmode. > I don’t know what are the limitations of \doifmode. According to the wiki, we cannot nest several \startmode …\stopmode, but there is no limitation with \doifmode. > > Ma

Re: [NTG-context] Blocks inside a conditional mode.

2021-11-28 Thread Henning Hraban Ramm via ntg-context
Am 28.11.21 um 19:39 schrieb Fabrice L via ntg-context: I have an error when I try to insert a block inside a conditional mode (but there is two nested conditional mode.. is this the problem ?). You can’t nest modes in \startmode ... \stopmode. I don’t know what are the limitations

[NTG-context] Blocks inside a conditional mode.

2021-11-28 Thread Fabrice L via ntg-context
MWE — Blocks and modes usually works fine for me, but here, I do not understand my error. Thanks for any help ! Fabrice. Note : in case this way of doing things seems a bit silly, here are more explanations. I do use mode « CourseOne » here because in the real life, the cont

Re: [NTG-context] Can modes be used for content control?

2021-11-17 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
ent with this method as well, comparing and contrasting with blocks and Aditya's modes method. It might be a bit annoying, but you could end the previous mode before starting the next. Assuming that I'm not misunderstanding you: For a book-length project, that would be beyond annoying. Well,

Re: [NTG-context] Can modes be used for content control?

2021-11-17 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
On Wed, 17 Nov 2021 11:54:52 -0700, Hans Hagen via ntg-context wrote: Blocks are a better mechanism, but I still prefer modes here because I find the \beginblock ... \endblock syntax to be a bit awkward in a context document. it also depends on usage ... you can have blocks and delay

Re: [NTG-context] Can modes be used for content control?

2021-11-17 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
On Wed, 17 Nov 2021 10:56:46 -0700, Aditya Mahajan via ntg-context wrote: But you don't have to directly use the modes. The following will work: \definestartstop[abridged] % By default, don't show the unabridged text \definebuffer[unabridged][local=yes, nested=yes] \startmode[unabridged

Re: [NTG-context] Can modes be used for content control?

2021-11-17 Thread Hans Hagen via ntg-context
حامد via ntg-context wrote: Dear gang, For creating/authoring content in ConTeXt: Can modes or the like be used for content control? For example, someone wants to write at least two versions of a book managed from a single file. So, e.g., we may have a) abridged content b) unabridged content

Re: [NTG-context] Can modes be used for content control?

2021-11-17 Thread Aditya Mahajan via ntg-context
> > wrote: > > > > > Dear gang, > > > > > > For creating/authoring content in ConTeXt: Can modes or the like be used > > > for content control? For example, someone wants to write at least two > > > versions of a book managed from a sin

Re: [NTG-context] Can modes be used for content control?

2021-11-17 Thread Henning Hraban Ramm via ntg-context
}{Conditional text}. I don’t think you would get shorter markup with nesting. More possibilities see https://wiki.contextgarden.net/Modes > Consider variant texts: > > === > Here is some text that > contains % mode=variantone > includes % mode=varianttwo > is comprise

Re: [NTG-context] Can modes be used for content control?

2021-11-17 Thread Taco Hoekwater via ntg-context
Hi Idris, I think Hans was trying to point you to the blocks mechanism. Blocks *do* nest: \defineblock[sectionblock] \defineblock[myblock] \startmode[variantone] \keepblocks[sectionblock] \keepblocks[myblock] \stopmode \startmode[varianttwo] \keepblocks[sectionblock] \stopmode \starttext

Re: [NTG-context] Can modes be used for content control?

2021-11-17 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
lists of modes? \startmode[short,long] Something that appears everywhere. \stopmode \startmode[long] % or \startnotmode[short] Something that’s only in the long version. \stopmode Many thanks; will study this. Unfortunately - as pointed out on the wiki - modes cannot be nested. : Why would yo

Re: [NTG-context] Can modes be used for content control?

2021-11-17 Thread Henning Hraban Ramm via ntg-context
> Am 17.11.2021 um 04:06 schrieb ⁨Idris Samawi Hamid ادريس سماوي حامد via > ntg-context⁩ <⁨ntg-context@ntg.nl⁩>: > > Unfortunately - as pointed out on the wiki - modes cannot be nested. Why would you need that? You know about \startnotmode and that you can use lists of

Re: [NTG-context] Can modes be used for content control?

2021-11-16 Thread Hans Hagen via ntg-context
On 11/17/2021 12:25 AM, Idris Samawi Hamid ادريس سماوي حامد via ntg-context wrote: Dear gang, For creating/authoring content in ConTeXt: Can modes or the like be used for content control? For example, someone wants to write at least two versions of a book managed from a single file. So, e.g

Re: [NTG-context] Can modes be used for content control?

2021-11-16 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
Hi Aditya, Many thanks; see below: On Tue, 16 Nov 2021 17:23:59 -0700, Aditya Mahajan via ntg-context wrote: On Tue, 16 Nov 2021, Idris Samawi Hamid ادريس سماوي حامد via ntg-context wrote: Dear gang, For creating/authoring content in ConTeXt: Can modes or the like be used for content

Re: [NTG-context] Can modes be used for content control?

2021-11-16 Thread Aditya Mahajan via ntg-context
On Tue, 16 Nov 2021, Idris Samawi Hamid ادريس سماوي حامد via ntg-context wrote: > Dear gang, > > For creating/authoring content in ConTeXt: Can modes or the like be used > for content control? For example, someone wants to write at least two > versions of a book managed fro

[NTG-context] Can modes be used for content control?

2021-11-16 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
Dear gang, For creating/authoring content in ConTeXt: Can modes or the like be used for content control? For example, someone wants to write at least two versions of a book managed from a single file. So, e.g., we may have a) abridged content b) unabridged content - includes a) c) abridged

Re: [NTG-context] improve bad habits deduplicate redundant defined values

2021-09-18 Thread Hans Hagen via ntg-context
. Obviously, these articles should rely on the same environment files. But how would you deal with those cases where you'd need a slightly different table layout in one article? one can always use 'modes' (andf run with --mode) Hans

Re: [NTG-context] Different author rendering in entry citation vs. list

2021-08-27 Thread Joey McCollum via ntg-context
hould be printed in full. > >>> > >>> I thought that the following settings would work: > >>> > >>> \definebtx > >>> [sbl:\s!list] > >>> [sbl] > >>> [\c!otherstext=, > >>> \c!etallimit=, > >>&

Re: [NTG-context] Different author rendering in entry citation vs. list

2021-08-27 Thread Ágoston Volcz via ntg-context
. >>> >>> I thought that the following settings would work: >>> >>> \definebtx >>> [sbl:\s!list] >>> [sbl] >>> [\c!otherstext=, >>> \c!etallimit=, >>> \c!etaldisplay=, >>> \c!etaloption=, >

Re: [NTG-context] Different author rendering in entry citation vs. list

2021-08-26 Thread Joey McCollum via ntg-context
the first name >> inverted, with all subsequent names in normal order >> >> \definebtx >> [sbl:\s!cite] >> [sbl] >> [\c!otherstext={\btxspace\btxlabeltext{others}}, % use et al. for >> truncated author / editor list >>\c!etallimit=3, % don't u

Re: [NTG-context] Different author rendering in entry citation vs. list

2021-08-26 Thread Joey McCollum via ntg-context
/ editor list >\c!etallimit=3, % don't use et al. for 3 or fewer authors >\c!etaldisplay=3, % >\c!authorconversion=\v!normal] % by default, use normal name order for > in-text citations > > But only the "list" settings seem to be used. I suspect this might be &g

[NTG-context] Different author rendering in entry citation vs. list

2021-08-25 Thread Joey McCollum via ntg-context
for "entry" citations invokes \btxhandleciteentry and therefore uses "list" settings everywhere except where I check modes for conditional formatting. But is there a command or environment I can use to change authorconversion locally, based on the current mode, in the helper methods I've d

Re: [NTG-context] Conditional formatting with *frontpart, *bodypart, *backpart modes

2021-08-12 Thread Pablo Rodriguez via ntg-context
gt; body, and back matter using modes. > [...] Hi Joey, the command is just different: \startsectionblockenvironment[frontpart] \setupbodyfont[modern] \stopsectionblockenvironment \startsectionblockenvironment[bodypart] \setupbodyfont[pagella] \stopsectionblockenvironment \startse

[NTG-context] Conditional formatting with *frontpart, *bodypart, *backpart modes

2021-08-12 Thread Joey McCollum via ntg-context
Hi, I was curious about the possibility of handling general formatting settings (e.g., page layout, headers and footers, page numbering, alignment, default body font assignment, etc.) conditionally for front, body, and back matter using modes. According to the wiki page at https

Re: [NTG-context] columnsets messed up

2021-07-02 Thread Hans Hagen
actually use \chapter but its own convoluted \startArticle. Until last issue it tried to be flexible and setup three different column modes. Now I eliminated the last leftovers of that. I still struggle to understand some pecularities... What I did wrong: * \setuplayout[grid=yes] is important

Re: [NTG-context] columnsets messed up

2021-07-02 Thread Henning Hraban Ramm
ven force that but not now). > Then, \chapter itself flushes pages so that should be disabled. Thank you, I got it mostly working now. The CGJ layout doesn’t actually use \chapter but its own convoluted \startArticle. Until last issue it tried to be flexible and setup three different column modes

Re: [NTG-context] no leavevmode

2021-05-28 Thread Hans Hagen
text. Whereas not starting with an \hbox does an implicite switch to horizontal mode. I can imagine that this behaviour could be confusing for users not well versed in the different behaviour of the horizontal and vertical modes. Therefore my question: Wouldn't it be wise to implement

[NTG-context] no leavevmode

2021-05-27 Thread Hans van der Meer
an implicite switch to horizontal mode. I can imagine that this behaviour could be confusing for users not well versed in the different behaviour of the horizontal and vertical modes. Therefore my question: Wouldn't it be wise to implement that \leavevmode? \startsubsection[title=TEST] \hbox{abc} def

Re: [NTG-context] Issue running ConTeXt from TeX Live 2019 on Alpine Linux 3.12

2021-05-01 Thread Nicola
= "1000", --50 ["luatex.maxinopen"] ="500", --15 ["luatex.maxprintline"] = " 1", --79 ["luatex.maxstrings"]= "50", -- 15000 -- obso

Re: [NTG-context] Typing within doifmode leads to error

2021-03-21 Thread Christoph Reller
x.modes['A'] then > > context("A") > >end > > \stopluacode > > > > A > > > > \stoptext > > > > With ConTeXt LMTX 2021.03.17 the output of the above is a single "A". I > > would expect two. What am I doing

Re: [NTG-context] Typing within doifmode leads to error

2021-03-19 Thread Christoph Reller
t; > mtx-context | fatal error: return code: 1 > > > > Compilation is successful if I replace doifmode{mode}{...} by > > \startmode[mode]...\stopmode. > > > > Is there anything I'm missing? (This could be a bug.) > not a bug, just the way tex works .. modes cannot know

Re: [NTG-context] Typing within doifmode leads to error

2021-03-19 Thread Hans Hagen
rks .. modes cannot know that what goes into an argument is something verbose but you can use this (also more efficient here): \definetyping[T] \definemode[mode][yes] \starttext \startmode[mode] \startT Bla \stopT \stopmode \stoptext % there's also \startnotm

Re: [NTG-context] lmtx error: You can't use 'integer 340' in internal vertical mode

2021-02-20 Thread juh
Am Fri, Feb 19, 2021 at 01:17:15PM +0100 schrieb Hans Hagen: > On 2/19/2021 11:46 AM, juh wrote: > > Am Fri, Feb 19, 2021 at 10:47:36AM +0100 schrieb Hans Hagen: > > > The question is: what happens in that file with modes? > > > > Nothing too fancy. I attached t

Re: [NTG-context] lmtx error: You can't use 'integer 340' in internal vertical mode

2021-02-20 Thread Hans Hagen
On 2/20/2021 4:42 PM, juh wrote: Am Fri, Feb 19, 2021 at 01:17:15PM +0100 schrieb Hans Hagen: On 2/19/2021 11:46 AM, juh wrote: Am Fri, Feb 19, 2021 at 10:47:36AM +0100 schrieb Hans Hagen: The question is: what happens in that file with modes? Nothing too fancy. I attached the files

Re: [NTG-context] lmtx error: You can't use 'integer 340' in internal vertical mode

2021-02-19 Thread juh
Am Fri, Feb 19, 2021 at 10:47:36AM +0100 schrieb Hans Hagen: > The question is: what happens in that file with modes? Nothing too fancy. I attached the files with mode definitions -- -- Autoren-Homepage: . http://literatur.hasecke.com Satiren & Essays: ...

[NTG-context] lmtx error: You can't use 'integer 340' in internal vertical mode

2021-02-19 Thread juh
enalty \endcsname \lastnamedcs \else \page_otr_command_routine \fi {\inotrtrue \the \everybeforeoutput \page_otr_triggered_output_routine \relax \the \everyafteroutput } ... \stopproduct Are there changes with modes or setupbackend in lmtx? My configuration is: \setupbackend[ format=P

Re: [NTG-context] lmtx error: You can't use 'integer 340' in internal vertical mode

2021-02-19 Thread Hans Hagen
On 2/19/2021 11:46 AM, juh wrote: Am Fri, Feb 19, 2021 at 10:47:36AM +0100 schrieb Hans Hagen: The question is: what happens in that file with modes? Nothing too fancy. I attached the files with mode definitions works here so you need to make a mwe Hans

Re: [NTG-context] lmtx error: You can't use 'integer 340' in internal vertical mode

2021-02-19 Thread Hans Hagen
and bleed, it get this error: tex error > tex error on line 1 in file ./prod-poster-motiv-souveraenitaet.tex: You can't use 'integer 340' in internal vertical mode The question is: what happens in that file with modes? H

[NTG-context] [solved] Re: fatal error: return code: 256

2021-01-02 Thread Saša Janiška
has acquired from the modes of material nature; therefore no one can refrain from doing something, not even for a moment. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] Installing VSCode extension?

2020-12-17 Thread Mikael Sundqvist
rely, > Gour > > -- > Everyone is forced to act helplessly according to the qualities > he has acquired from the modes of material nature; therefore no > one can refrain from doing something, not even for a moment. > > > > ___

Re: [NTG-context] Installing VSCode extension?

2020-12-17 Thread Saša Janiška
On Thu, 17 Dec 2020 07:51:34 +0100 Mikael Sundqvist wrote: > To set the color theme, click the blue button "Set color theme". So, this is the only thing which can be configured? Sincerely, Gour -- Everyone is forced to act helplessly according to the qualities he has acquired f

Re: [NTG-context] basic issues with formulas

2020-12-03 Thread Pablo Rodriguez
cit multiplication, and $\sin x$ the function "sin" applied to the variable x. Many thanks for your explanation, Hans. Now it’s clear to me that math and text modes are different in practice. Many thanks for your help,

Re: [NTG-context] Using ConTeXt-LMTX for modern Mathematically-Literate-Programming 1/2

2020-12-02 Thread Stephen Gaito
y want > to intercept the list builder but when you do that you can as well do > a \stoptext which prevents further reading of content (but i probably > misunderstand) > > > Could I use the "pre_output_filter" to "return" an empty value and > > hen

Re: [NTG-context] Using ConTeXt-LMTX for modern Mathematically-Literate-Programming 1/2

2020-11-30 Thread Hans Hagen
(I realize that these callbacks *are* a currently fast moving target. I am happy to follow their changes, equally I would be testing their usefulness and/or impact) actually, the callbacks themselves hardly change, but the code plugged into them might occasionally (a lot of mkiv code is already quite

[NTG-context] Using ConTeXt-LMTX for modern Mathematically-Literate-Programming 1/2

2020-11-30 Thread Stephen Gaito
n empty value and hence "stop" PDF generation? (I realize that these callbacks *are* a currently fast moving target. I am happy to follow their changes, equally I would be testing their usefulness and/or impact) ALTERNATIVE QUESTION: Would it be possible to provide official C

Re: [NTG-context] Testing for LMTX

2020-11-26 Thread Jairo A. del Rio
) 14:06, Jean-Philippe Rey ( jean-philippe@centralesupelec.fr) escribió: > Dear list, > > I would like to determine if LMTX is being used. Mimicking system modes I > tried > > \startmode[*lmtx] . . . \stopmode > > however, LMTX doesn't define this mode but apparently d

[NTG-context] Testing for LMTX

2020-11-26 Thread Jean-Philippe Rey
Dear list, I would like to determine if LMTX is being used. Mimicking system modes I tried \startmode[*lmtx] . . . \stopmode however, LMTX doesn't define this mode but apparently defines *mkiv. Do you know a way to distinguish between LMTX and MkIV ? Thank you, -- Jean-Philippe Rey jean

Re: [NTG-context] Combining modes and MetaFun

2020-09-06 Thread Jan Willem Flamma
Thank you Hans, this is exactly what I need. I will wikify the examples. Kind regards,Jan Willem Flamma  From: Hans HagenSent: Friday, 4 September 2020 15:09To: mailing list for ConTeXt users; Jan Willem FlammaSubject: Re: [NTG-context] Combining modes and MetaFun On 9/4/2020 2:20 PM, Jan Willem

Re: [NTG-context] Combining modes and MetaFun

2020-09-04 Thread Hans Hagen
On 9/4/2020 2:20 PM, Jan Willem Flamma wrote: Dear list members, Is it possible to combine modes and MetaFun? In the below MWE, the \doifmode construction does not work. Kind regards, Jan Willem Flamma === \enablemode[en] %\enablemode[nl] \starttext \startbuffer[square]     u := 2cm

[NTG-context] Combining modes and MetaFun

2020-09-04 Thread Jan Willem Flamma
Dear list members, Is it possible to combine modes and MetaFun? In the below MWE, the \doifmode construction does not work. Kind regards,Jan Willem Flamma ===\enablemode[en]%\enablemode[nl] \starttext \startbuffer[square]    u := 2cm ;    draw unitsquare scaled u ; drawdblarrow (0,-0.2u)..(u

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-13 Thread Otared Kavian
| --purgepurge files either or not after a > run (--pattern=...) > mtx-context | --purgeall purge all files either or not after > a run (--pattern=...) > mtx-context | > mtx-context | --usemodule=list load the given m

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-12 Thread Axel Kielhorn
-usemodule=list load the given module or style, normally part of the distribution mtx-context | --environment=list load the given environment file first (document styles) mtx-context | --mode=listenable given the modes (conditional processing in styles) mtx-cont

Re: [NTG-context] \documentvariable (used in environment)

2020-07-25 Thread Alan Braslau
Thank you all. No modes, no funniness in the environment file. The test case works (Acroread/properties shows the Title, Author, Subject, and Keywords fields). However, my real case does get the other fields (Author, Subject, and Keywords) but contains in the Title field the filename

Re: [NTG-context] \documentvariable (used in environment)

2020-07-25 Thread Henning Hraban Ramm
ument and add some > dummy text (like in my example) to ensure ConTeXt produces a PDF > 3. Remove setups from your environment (but keep the \setupdocument setup) > file until the metadata appears in the PDF A typical case if something in an environment doesn’t work, but in a single

Re: [NTG-context] spacing before items

2020-06-24 Thread Henning Hraban Ramm
ized LaTeX3 system: several similar machines, several translations, i.e. modularity pays off. At a former job (newspaper prepress admin) I prepared training material on Acrobat Pro using ConTeXt; presentations and handouts in the same documents, using modes. All the best, Hraban __

Re: [NTG-context] Checking for singlesided/doublesided at run-time

2020-06-24 Thread Lukas/ConTeXt
Hello, I've just been noticed about wiki update related to *singlesided and * doublesided modes. Thank you, Wolfgang and Aditya, for answering and filling in the wiki. Best regards, Lukas -- Původní e-mail -- Od: Wolfgang Schuster Komu: mailing list

Re: [NTG-context] Checking for singlesided/doublesided at run-time

2020-06-24 Thread Henning Hraban Ramm
> Am 24.06.2020 um 15:48 schrieb Aditya Mahajan : > > On Wed, 24 Jun 2020, Henning Hraban Ramm wrote: >> >> >> I wanted to refer to the mmodes manual, but it’s gone. >> Was it accidentally removed, or are modes now explained in some other >> manual? I

Re: [NTG-context] Checking for singlesided/doublesided at run-time

2020-06-24 Thread Aditya Mahajan
On Wed, 24 Jun 2020, Henning Hraban Ramm wrote: I wanted to refer to the mmodes manual, but it’s gone. Was it accidentally removed, or are modes now explained in some other manual? I didn’t find it. http://www.pragma-ade.com/general/manuals/mmodes.pdf and my tugboat article wikified

Re: [NTG-context] Checking for singlesided/doublesided at run-time

2020-06-24 Thread Henning Hraban Ramm
sided] > has been specified? > > If so, is it possible by Lua, too? I wanted to refer to the mmodes manual, but it’s gone. Was it accidentally removed, or are modes now explained in some other manual? I didn’t find it. Hraban

Re: [NTG-context] using modeset

2020-06-12 Thread Jan Willem Flamma
trainings in both English and Dutch in the same file. Instead of modes, I use blocks. Like this: \defineblock[ENblok]\defineblock[NLblok] \setupblock[NLblok][before={\mainlanguage[nl]},after=]\setupblock[ENblok][before={\mainlanguage[en]},after=] Then, determine which blocks you want to use in your file

Re: [NTG-context] using modeset

2020-06-11 Thread r . ermers
up an xml file. You can then have the overview via scripts. Yet for short texts it can be a solution. I have case material for my trainings in both English and Dutch in the same file. Instead of modes, I use blocks. Like this: \defineblock[ENblok] \defineblock[NLblok] \setupblock[NLblok][before

Re: [NTG-context] using modeset

2020-06-11 Thread BPJ
Den tors 11 juni 2020 10:45Jan Willem Flamma skrev: > > > Dear list members, > > > > I write training manuals and use the Modes mechanism a lot to create > documents at various competency levels using a single set of source files. > So far the manuals have been

Re: [NTG-context] using modeset

2020-06-11 Thread Wolfgang Schuster
Jan Willem Flamma schrieb am 11.06.2020 um 10:41: Dear list members, I write training manuals and use the Modes mechanism a lot to create documents at various competency levels using a single set of source files. So far the manuals have been written in English but now a separate Dutch

[NTG-context] using modeset

2020-06-11 Thread Jan Willem Flamma
 Dear list members, I write training manuals and use the Modes mechanism a lot to create documents at various competency levels using a single set of source files. So far the manuals have been written in English but now a separate Dutch translation has to be created. It is important that the two

Re: [NTG-context] output file name query

2020-05-23 Thread Gerben Wierda
gt;> In my project, I process a single product file by enabling various modes. >>>> What I would like to do is to vary the name of the output PDF file in each >>>> instance. >>>> So, in processing a file, how does one go directly from prd_filename.tex &g

Re: [NTG-context] output file name query

2020-05-23 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 22.05.2020 um 17:39: Am 22.05.2020 um 15:09 schrieb Wolfgang Schuster : Alan Bowen schrieb am 22.05.2020 um 14:33: In my project, I process a single product file by enabling various modes. What I would like to do is to vary the name of the output PDF file

Re: [NTG-context] output file name query

2020-05-22 Thread Rik Kabel
On 5/22/2020 11:39, Henning Hraban Ramm wrote: Am 22.05.2020 um 15:09 schrieb Wolfgang Schuster : Alan Bowen schrieb am 22.05.2020 um 14:33: In my project, I process a single product file by enabling various modes. What I would like to do is to vary the name of the output PDF file in each

Re: [NTG-context] output file name query

2020-05-22 Thread Henning Hraban Ramm
> Am 22.05.2020 um 15:09 schrieb Wolfgang Schuster > : > > Alan Bowen schrieb am 22.05.2020 um 14:33: >> In my project, I process a single product file by enabling various modes. >> What I would like to do is to vary the name of the output PDF file in each >>

Re: [NTG-context] output file name query

2020-05-22 Thread Wolfgang Schuster
Alan Bowen schrieb am 22.05.2020 um 14:33: In my project, I process a single product file by enabling various modes. What I would like to do is to vary the name of the output PDF file in each instance. So, in processing a file, how does one go directly from prd_filename.tex to myfilename.pdf

[NTG-context] output file name query

2020-05-22 Thread Alan Bowen
In my project, I process a single product file by enabling various modes. What I would like to do is to vary the name of the output PDF file in each instance. So, in processing a file, how does one go directly from prd_filename.tex to myfilename.pdf rather than to prd_filename.pdf—assuming

Re: [NTG-context] lmtx & lohit-devanagari fonts

2020-04-22 Thread Saša Janiška
fonts package everything is fine now. :-) Thanks everyone for all your help! Sincerely, Gour -- Bewildered by the modes of material nature, the ignorant fully engage themselves in material activities and become attached. But the wise should not unsettle them, although these duties are inferior due

Re: [NTG-context] lmtx & lohit-devanagari fonts

2020-04-21 Thread Saša Janiška
in regard to fonts-stuff or I should contact some other docs to learn? > > Wolfgang > ___ > If your question is of interest to others as well, please add an > entry to the Wiki! > > maillist

Re: [NTG-context] repeat a page inside a document

2020-02-06 Thread Wolfgang Schuster
data read from CSV files to generate > documents which may contain a single or more than one page. > > I assumed that modes were persistent across runs. And maybe they aren’t > or my approach is wrong. > > >> Could you provide a minimal sample showing how a component may inc

Re: [NTG-context] repeat a page inside a document

2020-02-06 Thread Pablo Rodriguez
only > one page but now you write about a document with many pages. Sorry for the inaccuracies in my previous description, Wolfgang. I use a single source combined with data read from CSV files to generate documents which may contain a single or more than one page. I assumed that modes were per

Re: [NTG-context] Check for parity of pair tags on source file to be closed

2020-01-11 Thread Wolfgang Schuster
dng "\fi". Hi Lukas, I don’t know whether checking for \if...\fi pairs is even implemented. It shoudn't even be needed in a normal document because we have modes and \bgroup/\egroup can be replaced with \start/\stop. Wolfgang

Re: [NTG-context] issue with beta from 2019.11.29 21:47 in Windows

2019-12-02 Thread Hans Hagen
second.tex} \contextversion \stoptext The contents of second.tex read: \starttext \enablemode[\env{OptionThis}] \enablemode[\env{OptionThat}] This: \doifmodeelse{ab}{enabled}{disabled}.\par That: \doifmodeelse{ábc}{enabled}{disabled}. \stoptext I use --arguments to

Re: [NTG-context] issue with beta from 2019.11.29 21:47 in Windows

2019-12-02 Thread Wolfgang Schuster
ad: \starttext \enablemode[\env{OptionThis}] \enablemode[\env{OptionThat}] This: \doifmodeelse{ab}{enabled}{disabled}.\par That: \doifmodeelse{ábc}{enabled}{disabled}. \stoptext I use --arguments to pass modes to documents compiled via \executesystemcommand. Everything worked

[NTG-context] issue with beta from 2019.11.29 21:47 in Windows

2019-12-02 Thread Pablo Rodriguez
d.tex read: \starttext \enablemode[\env{OptionThis}] \enablemode[\env{OptionThat}] This: \doifmodeelse{ab}{enabled}{disabled}.\par That: \doifmodeelse{ábc}{enabled}{disabled}. \stoptext I use --arguments to pass modes to documents compiled via \executesystemcommand. Everyth

Re: [NTG-context] context command line interface documentation?

2019-11-18 Thread Philipp A.
ontext quits at the first error as recovering is (1) seldom useful, (2) > can interfere badly with tex/mp/lua and make things worse), (3) context > tries to show a bit more precise location where the erro comes from (not > always easy in tex) ... some of these modes originate in paper t

Re: [NTG-context] context command line interface documentation?

2019-11-12 Thread Hans Hagen
), (3) context tries to show a bit more precise location where the erro comes from (not always easy in tex) ... some of these modes originate in paper terminal times and it's very unlikely that context will change it's current way of doing things First I consulted the --help and found

Re: [NTG-context] issue splitting tables and horizontal mode

2019-10-20 Thread Wolfgang Schuster
modes and your \dontleavehmode is only applied to the outer \vbox while the lines itself are placed in vertical mode. \starttext \dontleavehmode \vbox   {\vbox{}    \nointerlineskip    \vbox{}} \stoptext Wolfgang

Re: [NTG-context] PDF viewer poll

2019-10-16 Thread Benct Philip Jonsson
ay"/"double page" modes pros: - searchable (also with regexen), also grep-like (i.e., display all lines containing some regex and jump to them easily) - annotations/comments are viewable (and jumpable to) w/o using the mouse - fast - runs within Emacs (not sure if this is a "pro

Re: [NTG-context] PDF viewer poll

2019-10-15 Thread Marcin Borkowski
ike to update my list of (usable!) PDF viewers. > Which one do you use? (Current version?) pdf-tools (version 20190701.202) > What are its pros and cons? cons: - no "continuous display"/"double page" modes pros: - searchable (also with regexen), also grep-like (i.e., disp

Re: [NTG-context] how to do adaptation

2019-10-14 Thread Wolfgang Schuster
of the text will be first and how many parts will be shown. Can you ask a separate question for each individual problem. So far, I am trying to get a hang of \setupdocument (https://wiki.contextgarden.net/Project_structure), \startmode (https://wiki.contextgarden.net/Modes), \definecolor (https

[NTG-context] how to do adaptation

2019-10-14 Thread Susanne G. Loeber
will be shown. So far, I am trying to get a hang of \setupdocument (https://wiki.contextgarden.net/Project_structure), \startmode (https://wiki.contextgarden.net/Modes), \definecolor (https://wiki.contextgarden.net/Color) and \defineparagraphs (https://wiki.contextgarden.net/Command/defineparagraphs) I hope

Re: [NTG-context] Typesetting Markdown – Part 5: Interpolation

2019-07-09 Thread Thangalin
of main.tex and into Markdown (e.g., 01.md, being the first chapter) so that the conditional expression can be evaluated using pandoc mixes content with presentation logic. Modes are a good approach in this case because the "context" command can take a "mode" command-line arg

Re: [NTG-context] Typesetting Markdown – Part 5: Interpolation

2019-07-08 Thread Thangalin
\completecontent{}. Modes are probably the way to go, though. Thank you. On Sun, Jul 7, 2019 at 12:18 PM Aditya Mahajan wrote: > > On Sun, 7 Jul 2019, Thangalin wrote: > > > Thank you Aditya. > > > > The main.tex file is meant to be reusable for different document styles. > By

Re: [NTG-context] index entries printed over each other

2019-04-14 Thread Henning Hraban Ramm
ith > > \setupindex[balance=no] Of course, I should have remembered that. > or disable columns for the index and flush the content within a columns > environment. > > \startmixedcolumns %[grid=no] > \placeindex[n=1] > \stopmixedcolumns Both work and give the same result, thank you!

Re: [NTG-context] Modes and conditional part of the source

2019-03-01 Thread Hans van der Meer
I used \doifmode and friends for selection of mode dependent code. dr. Hans van der Meer > On 1 Mar 2019, at 01:24, Hans Hagen wrote: > > On 2/28/2019 11:29 AM, Procházka Lukáš Ing. wrote: >> Hello, >> I'm struggling with using modes to make a part of the text conditiona

Re: [NTG-context] Modes and conditional part of the source

2019-02-28 Thread Hans Hagen
On 2/28/2019 11:29 AM, Procházka Lukáš Ing. wrote: Hello, I'm struggling with using modes to make a part of the text conditional. Here is my code: \def\b#1{\startmode[#1]} \def\e{\stopmode} % \enablemode[100] % For optional usage \starttext   A   \b{100} % Should be start of some

Re: [NTG-context] Modes and conditional part of the source

2019-02-28 Thread Procházka Lukáš Ing .
Hello Aditya, thanks for the code, I'll try something like that. Best regards, Lukas On Thu, 28 Feb 2019 12:54:06 +0100, Aditya Mahajan wrote: On Thu, 28 Feb 2019, Procházka Lukáš Ing. wrote: Hello, I'm struggling with using modes to make a part of the text conditional. Here is my

Re: [NTG-context] Modes and conditional part of the source

2019-02-28 Thread Aditya Mahajan
On Thu, 28 Feb 2019, Procházka Lukáš Ing. wrote: Hello, I'm struggling with using modes to make a part of the text conditional. Here is my code: \def\b#1{\startmode[#1]} \def\e{\stopmode} % \enablemode[100] % For optional usage \starttext A \b{100} % Should be start of some

[NTG-context] Modes and conditional part of the source

2019-02-28 Thread Procházka Lukáš Ing .
Hello, I'm struggling with using modes to make a part of the text conditional. Here is my code: \def\b#1{\startmode[#1]} \def\e{\stopmode} % \enablemode[100] % For optional usage \starttext A \b{100} % Should be start of some conditional text from here ... B \e % ... to here

Re: [NTG-context] Issues using publications subsystem for non-bibliographic database

2018-12-08 Thread Alan Braslau
I wrote is to use partial bibliographies and modes. In the case of slides + handout, I always typeset them together as one "document" which I then split, as a sort of body and back matter. There likely is a better way. Finally, footnote style references is indeed obsolete, or becoming

Re: [NTG-context] Issues using publications subsystem for non-bibliographic database

2018-12-08 Thread Rik Kabel
backmatter. In my incremental development, I place a bibliography at the end of a chapter, part, or even section - there is no need for this to be backmatter. Using modes, these then can remain or not be rendered as design advances. Again, what is the point of pulling references if they do

Re: [NTG-context] Issues using publications subsystem for non-bibliographic database

2018-12-08 Thread Thomas A. Schmitz
On 08.12.18 20:50, Alan Braslau wrote: In my incremental development, I place a bibliography at the end of a chapter, part, or even section - there is no need for this to be backmatter. Using modes, these then can remain or not be rendered as design advances. I've been following this thread

Re: [NTG-context] Issues using publications subsystem for non-bibliographic database

2018-12-08 Thread Alan Braslau
incremental development, I place a bibliography at the end of a chapter, part, or even section - there is no need for this to be backmatter. Using modes, these then can remain or not be rendered as design advances. Again, what is the point of pulling references if they do not refer to anything?

Re: [NTG-context] Language dependency in environment-project file

2018-11-28 Thread Marco Patzer
On Wed, 28 Nov 2018 09:20:49 +0100 Hans Hagen wrote: > An alternative is to use system modes: > > \mainlanguage[nl] > > % \startmode[*en] > % \setupitemize[n] > % \stopmode > > % \startmode[*nl] > % \setupitemize[a] > % \stopmode > > %

Re: [NTG-context] Language dependency in environment-project file

2018-11-28 Thread Hans Hagen
}{\mainlanguage[\documentvariable{language}]} \to \everysetupdocument \stopenvironment An alternative is to use system modes: \mainlanguage[nl] % \startmode[*en] % \setupitemize[n] % \stopmode % \startmode[*nl] % \setupitemize[a] % \stopmode % \startmode[*de] % \setupitemize[i] % \stopmode

  1   2   3   4   5   6   7   >