Re: [NTG-context] \ReadFile in MkII vs MkIV

2010-10-17 Thread Hans Hagen
On 17-10-2010 11:02, Aditya Mahajan wrote: On Sun, 17 Oct 2010, Hans Hagen wrote: On 17-10-2010 8:54, Aditya Mahajan wrote: Maybe Hans forgot it for mkii but it doesn’t matter whether mkii/mkiv is a normal mode or a system mode. IIRC, system modes cannot be reset using \(enable|disable

[NTG-context] Escaping from modes set for tabulate

2011-01-14 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, is it possible to escape from modes (fonts) defined in \starttabulate[...]? I mean just for header - to escape the math mode and to switch to normal font temporarily: --- \starttext I get: \starttabulate[|lT|mc|p|] \NC Code \NC Symbol\NC Description \NC\NR \HL

Re: [NTG-context] Slides and notes

2003-11-03 Thread Hans Hagen
At 13:44 03/11/2003, you wrote: I use the modes mechanism (\startmode, \stopmode and friends) and I am lacking imagination as to want more. Something like : \startslide \stopslide \startnote \stopnote together with modes screen and handout that would either generate only slides or print

Re: [NTG-context] Where to put a module?

2010-03-07 Thread Thomas A. Schmitz
, too. Right now it contains modes for Cyrillic, Glagolitic and Greek scripts, older variants included, full ISO 9 support, and two transcription modes as well. (There's a showcase of examples in the manual.) It allows global setups and local adjustments. It splendidly works for me

Re: [NTG-context] ConTeXt gobble my mind

2014-11-06 Thread Pierre-François Bonnefoi
: I can activate or not a slide according to my audience. If I use the buffer solution, I'll not be able to deactivate the whole slide containing the typing region. Perhaps Modes ? http://wiki.contextgarden.net/Modes -- luigi

Re: [NTG-context] ConTeXt gobble my mind

2014-11-07 Thread Hans Hagen
. Perhaps Modes ? http://wiki.contextgarden.net/Modes \starttext \definebuffer[Slide] foo % \skipSlide \startSlide bla bla bla \startyping language C code \stoptyping bla bla bla \stopSlide bar \stoptext

Re: [NTG-context] new features

2016-05-22 Thread Meer, Hans van der
> On 26 Jun 2014, at 12:08, Hans Hagen <pra...@wxs.nl> wrote: > > Another addition is that > > \definemode[something][keep] > > define an undefined mode; the keep makes sure that the already set value is > kept (another option is 'yes'). > &g

Re: [NTG-context] Extract only certain part of document (via modes)?

2016-11-06 Thread Wolfgang Schuster
cument I have exercises (typeset with \startexercise \stopexercise, defined as an enumeration). Is it possible to use modes (or any other trick) to be able to compile the same file and get only the exercises. For example, context file.tex should give the full document, while context --mode=exe

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

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

[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] 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] Itemize and natural tables

2018-09-24 Thread Jan Willem Flamma
Flamma schrieb am 23.09.18 um 17:33: >> Dear list members, >> >> I’m able to combine itemize and tabulate as per: >> https://www.mail-archive.com/ntg-context@ntg.nl/msg86189.html >> <https://www.mail-archive.com/ntg-context@ntg.nl/msg86189.html> >> >

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] bug in modes

2008-03-29 Thread Hans van der Meer
The following works mirabile dictu: \enablemode[b,c] \startallmodes[b,c] \type{\startallmodes[b,c]} done \stopallmodes \startnotallmodes[c] \type{\startallmodes[b,c]} not done \stopallmodes % But the following gives an error: \enablemode[b,c] \startallmodes[b,c]

Re: [NTG-context] question about mplib/mkiv

2008-04-25 Thread Thomas Schmitz
should not happen, there is a bug somewhere in MPlib. But I'll need your source to dig it out. (likely you do something we have never tested yet). Thanks Taco. I will try to produce a minimal example this afternoon/evening. The problem occurs with one of my presentation modes, but I have other

Re: [NTG-context] Luatex (actually Aleph) and Bidi_Mirrored chars in RTL mode

2008-06-18 Thread Idris Samawi Hamid
Hi Arthur, On Wed, 18 Jun 2008 02:29:00 -0600, Arthur Reutenauer [EMAIL PROTECTED] wrote: Thanks for the answer (I should have known the results depended on the actual configuration :-) Get SC unipad and type identical logical input in Arabic and Farsi modes. The makers of Unipad

[NTG-context] table of contents and bookmarks issue

2008-07-07 Thread Alan Stone
to the correct position for (1). For (2), in all other view modes, single or a combined, other than single page view, like for ex. single page continuous + fit width mode, the hyperlinks jump to the incorrect position, mostly the page before or after the one whereto it should jump to. Any idea how to prevent

[NTG-context] Getting arguments by Lua

2011-06-09 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, when I run context by e.g.: context.exe Source.mkiv --result=Result.pdf --mode=Mode is it possible to access the command line arguments from Lua? I'm aware that modes are accessible by 'tex.modes' ('tex.modes.Mode' gives 'true' in this case); but I'd need to get also the source file

Re: [NTG-context] Project structure and modes

2011-11-12 Thread Hans Hagen
On 12-11-2011 13:03, Jaroslav Hajtmar wrote: Hello, Hans. Did not make a change now (in project structure)? I've updated an thirty minutes ago ConTeXt and stopped me working translation of things that I have a few days in order compiled. fixed It is possible to go some way older install

Re: [NTG-context] Project structure and modes

2011-11-12 Thread Jaroslav Hajtmar
OK... thanx I'm sorry to bother you., but give the corrected version to download soon? I am not working at the moment the project. Thanks Jaroslav. Dne 12.11.2011 13:46, Hans Hagen napsal(a): On 12-11-2011 13:03, Jaroslav Hajtmar wrote: Hello, Hans. Did not make a change now (in project

Re: [NTG-context] Project structure and modes

2011-11-13 Thread Wolfgang Schuster
Am 13.11.2011 um 14:38 schrieb Jaroslav Hajtmar: Thanks Wolfgang, but unfortunately for me it still does not work… Minimal example: \startcomponent test \input knuth \stopcomponent With the current beta this fails but after I changed \def\resetsystemmode#1%

Re: [NTG-context] Bug or feature?

2011-12-21 Thread Andreas Harder
neither a bug nor a feature, just a result of TeX’s horizontal and vertical modes, the same happens when you use \framed in vertical mode. \starttext \framed{line 1} \framed{line 2} \stoptext Yes, you are right. My example was too minimal. I used \defineheadplacement and since yesterdays

Re: [NTG-context] convert color to black and white documents

2012-01-12 Thread Hans Hagen
On 12-1-2012 14:31, Matthias Weber wrote: Dear all, I am working on a text with plenty of figures, using modes to create both a screen and a print version. For the print version, which will be printed in black and white, I'd like to have all colors (including those of the figures

Re: [NTG-context] Passing variable values on invoking context

2012-02-15 Thread Aditya Mahajan
://archive.contextgarden.net/message/20110105.204113.93286322.en.html Also see http://wiki.contextgarden.net/Modes Aditya___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

Re: [NTG-context] Making context produce dvi file.

2006-09-11 Thread Willi Egger
Hi, Humble, I would start in the preamble to sau \setupoutput[dvi] Willi luigi scarso wrote: On 9/11/06, John R. Culleton [EMAIL PROTECTED] wrote: For one recurring task I first produce a booklet version 5.5. x 8.5in, then a straight pdf 8.5 x 11in, all controlled by modes. The third

Re: [NTG-context] texexec --mode=xxx --mode=yyy

2007-01-16 Thread Hans Hagen
multiple same-name - options All right. I've just seen, that texexec --modes=xxx --mode=yyy works as I want. Can I rely on it for the future? no (not that i change somethign but one never knows what side effects take place) Hans

Re: [NTG-context] fixme module?

2007-03-31 Thread Arthur Reutenauer
module. %D Tutorial by Taco Hoekwater at the first international ConTeXt meeting. %D The document can be typeset in two different modes: final and draft. %D Depending on this mode, the fixme notes can have different effects during %D compilation. %D \startitemize %D \item \type{\fixme} takes one

Re: [NTG-context] framed getbuffer

2007-04-11 Thread Aditya Mahajan
frametext instead of framed, but I am pretty sure that the above example used to work at some stage. Aditya Hi Aditya, it is more a problem related to horizontal and vertical modes/boxes, you can test it by placing \startformula .. \startformula into a hbox/vbox and only the vbox solution

Re: [NTG-context] i18n in BibTeX

2005-09-25 Thread Adam Duck
the other citing modes the same. 38 lines deleted by Adam Duck Yes, this I've done and it works. But that's not the problem I was referring to. `lastpubsep' is used if you have more than one paper to refer to in the same \cite-command (\cite[paperA,paperB]) but it is _not_ used if a paper has only two

Re: [NTG-context] beta

2006-03-30 Thread Hans Hagen
, so we can have, e.g.: \usemodule[font=GreekTimes,scale=1100][greek] And in the module: \processaction[\moduleparameter\v!font] [=] etcetera. just like a 'normal' parameter. I know this effect can partially be implemented using modes, but sometimes a key=value syntax

[NTG-context] modes + arranging

2012-07-08 Thread Thomas A. Schmitz
Hi all, sorry for the slightly silly example, but it's something I can't figure out, and it has worked before. For processing my documents, I have defined a mode which will arrange pages. Here's the silly example test.tex: \startmode[arranged] \setuppapersize[A6][A4] \setuparranging[2*4]

Re: [NTG-context] modes + arranging

2012-07-08 Thread Hans Hagen
On 8-7-2012 20:06, Thomas A. Schmitz wrote: Hi all, sorry for the slightly silly example, but it's something I can't figure out, and it has worked before. For processing my documents, I have defined a mode which will arrange pages. Here's the silly example test.tex: Can you test with

Re: [NTG-context] imposition broken again

2012-07-09 Thread Henning Hraban Ramm
ran context with --arrange Sorry, I saw Thomas’ thread modes + arranging only after pressing send. This is fixed with tonight’s beta, thank you! But the table of content is missing now... Greetlings, Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https

[NTG-context] Draft version of document

2012-08-04 Thread Roger Mason
version will need to be double spaced. Obviously, I'd rather use the existing source to generate both draft and well-formatted versions, so it sounds like a job for modes. Before I start hacking, has someone done this already or is ther an alternative method of accomplishing this? Thanks, Roger

[NTG-context] Code in contextref-env.tex

2012-08-22 Thread john Culleton
the sequences like \v!and \c! etc. mean. Are they references to modes? -- John Culleton Free list of books for self-publishers: http://wexfordpress.net/shortlist.html Police Procedural and Expose: Death Wore Black Create Book Covers with Scribus http://www.booklocker.com/books/4055.html

Re: [NTG-context] Passing variables on invocation- and reading them in ConTEXt

2012-09-10 Thread Marco Patzer
On 2012-09-10 Ian Lawrence physics.roo...@gmail.com wrote: Hi Ian, I'd like to pass variables into context on invocation, just as you can do with setting modes So context --arguments=number=8, time=full-time --mode=trial test.tex context --number=8 --time=full-time test.tex

Re: [NTG-context] Heading in setuplayout from a variable

2013-04-26 Thread Cecil Westerhof
parameter? \getdocumentargument{myargument} My first try did not work, but now it does. Properly made a silly mistake somewhere. of use modes (often more natural) In this case it is not something to use, but it is certainly something to look into. -- Cecil Westerhof

Re: [NTG-context] \digits get \times instead of \cdot before exponent

2013-05-21 Thread Romain Diss
modes, but lets you setup the decimal mark, separator mark, the input decimal mark, etc. Something like this: \setupdigits [inputdecimal={.}, % input 3.1415926535 decimal={,} separator=\space, groupsize=4, % output 3,1415 9265 45 signspace=,] % +3.14159

Re: [NTG-context] orphans and widows in poems

2013-06-16 Thread Wolfgang Schuster
\brokenpenalty=1 \stopsetups I'm afraid that I get widow lines in the lines environment. Is there no way to avoid orphans and widows in the lines environment? 1. Don’t use * in your setups names because names starting with an asterisk are system modes. 2. To load the defaults

Re: [NTG-context] orphans and widows in poems

2013-06-17 Thread Pablo Rodríguez
On 16/06/13 21:03, Wolfgang Schuster wrote: Am 16.06.2013 um 09:46 schrieb Pablo Rodríguez oi...@web.de: [...] Is there no way to avoid orphans and widows in the lines environment? 1. Don’t use * in your setups names because names starting with an asterisk are system modes. 2. To load

[NTG-context] \choose problems in new math fonts

2009-04-16 Thread Taco Hoekwater
of \Umathfractiondelsize should be. For a workaround: explicitly setting \Umathfractiondelsize\textstyle = 12.12pt \Umathfractiondelsize\displaystyle = 28.68pt will set up values that closely mimic cmsy10 at 12pt Ulrik Vieth (who is in CC) proposes to use DelimitedSubFormulaMinHeight in non-display modes

[NTG-context] Which Table Layout Mode

2009-04-21 Thread Design Department
to work in natural tables, don't see how to do this with 'tables' or 'tabulate' mode. linetables? I've tried all the table modes, including linetables and can't find a mode that gives me all required features. Is this combination of tabular features not possible? -- david

Re: [NTG-context] docs

2009-05-14 Thread Wolfgang Schuster
] Was meinst du? \stopmode \startmode[fr] Que veux-tu dire ? \stopmode and call context with context --modes=de filename for the german version. For a version with the text for two languages on facing pages you can use your example code as it is with the streams module. Wolfgang

Re: [NTG-context] alpha release

2009-07-15 Thread Hans Hagen
Thomas A. Schmitz wrote: fix: \def\setcurrentlanguage#1#2% sets modes: **id (currentmain) *id (current) {\edef\xaskedlanguage{#1}% otherwise clash with \askedlanguage \ifx\xaskedlanguage\empty \else \ifx\currentmainlanguage\empty\else\resetsystemmode{\systemmodeprefix\currentmainlanguage

Re: [NTG-context] Ctx Lua: determination of the language being used

2010-11-25 Thread Taco Hoekwater
this?) Yes, agreed, something like that would be useful. The same applies to some other things, like color and active modes. Some of these are probably there already, but it would be nice if they were documented. Best wishes, Taco

[NTG-context] ConTeXt beta in MikTeX

2010-12-22 Thread barndog1946
Mojca, Hans, Wolfgang and all other users: 1. Get minimals, I used context-setup-mswin 2. Follow setup install for windows. 3. Using Winedt: a. go to options, execution modes b. in full executeables...enter full path where you installed minimals c. Now in TeX\MikTeX\Options...Add a search root

Re: [NTG-context] ConTeXt beta in MikTeX

2010-12-22 Thread Hans Hagen
On 22-12-2010 12:22, barndog1...@gmail.com wrote: Mojca, Hans, Wolfgang and all other users: 1. Get minimals, I used context-setup-mswin 2. Follow setup install for windows. 3. Using Winedt: a. go to options, execution modes b. in full executeables...enter full path where you installed minimals

[NTG-context] Layer(s)

2011-01-24 Thread Ian Lawrence
Morning, I am completely defeated by layers...from a more or less complete beginner.. So please be gentle. I think you ought to be able to have multiple layers and so to switch them on and off, using modes. However I can only find examples and documentation for single layers in use at any

Re: [NTG-context] Layer(s)

2011-01-24 Thread luigi scarso
On Mon, Jan 24, 2011 at 1:46 PM, Ian Lawrence physics.wande...@gmail.com wrote: Morning, I am completely defeated by layers...from a more or less complete beginner.. So please be gentle. I think you ought to be able to have multiple layers and so to switch them on and off, using modes

[NTG-context] +tlig fails sometimes in mkiv

2011-03-05 Thread Ulrike Fischer
On c.t.t. there was a discussion about the TeX-ligatures -- and --- for endash and emdash. It seems that the luaotfload/context code fails for some font/mode combination: For some fonts +tlig works with both modes, some works only with mode=base, and there was also a report of font which doesn't

Re: [NTG-context] differences of table modes

2003-06-17 Thread Hans Hagen
At 22:53 16/06/2003 +0200, you wrote: Am Sonntag, 15.06.03, um 20:01 Uhr (Europe/Zurich) schrieb Hans Hagen: \starttabulatehead \NC left \NC right \NC \NR \stoptabulatehead It gives the following error is this a matter of stach size or do others have the same problem? I got the same (or

[NTG-context] Error with XML and JS

2004-02-16 Thread Gilles Pérez-Lambert
-unders... ... l.115 \stopJSpreamble %%% with the attached TeX file. There's some kind of interaction between the two modes. Without \start(stop)XMLdata, it works. Thanks for your time, Gilles, preparing the next demo of ConTeXt in June (Paris). :-) xml-js.tex Description: TeX

Re: [NTG-context] \presentationstep

2004-11-01 Thread Henning Hraban Ramm
] \startnotmode[something] \stopnotmode[something] See the wiki: http://contextgarden.net/Modes But probably you're looking for: http://contextgarden.net/Presentation_effects Grüßlis vom Hraban! --- http://www.fiee.net/texnique/ ___ ntg-context mailing list

Re: [NTG-context] \presentationstep

2004-11-02 Thread Hans Hagen
[something] \stopmode[something] \startnotmode[something] \stopnotmode[something] See the wiki: http://contextgarden.net/Modes But probably you're looking for: http://contextgarden.net/Presentation_effects another option is to use s-pre-60 Hans

[NTG-context] Typesetting products and components

2005-02-14 Thread Randall Skelton
Is it possible to determine if texexec is being run on a product or a component and have optional processing similar to different modes? I have a large project comprising quarterly reports and technical notes. Essentially, I have the following structure: project = MyProject |- product

Re: [NTG-context] Code to product several versions PDF with different fonts

2005-02-20 Thread Adam Lindsay
VnPenguin said this at Sun, 20 Feb 2005 18:58:41 +0100: I dont know how to organize it : is there simple structure if-then-else ? could I use ConTeXt's mode or environment for this goal ? These are all possibilities. It depends on how you want to change them. Modes sound promising if you want

Re: [NTG-context] Code to product several versions PDF with different fonts

2005-02-20 Thread VnPenguin
. It depends on how you want to change them. Modes sound promising if you want to change them from the command line. Taking the time to set up typescripts/typefaces so that you can change one line/word won't hurt, in any case... So what kind of interface were you imagining? Thank you

Re: [NTG-context] Code to product several versions PDF with different fonts

2005-02-20 Thread Willi Egger
If you have the modes defined in a layout.tex you can say in the main file: \enablemode[times] %\enablemode[palatino] %\enablemode[..] \environment layout. So by adding the appropriate \enablemode you even do not need to run the commandline ... Willi Adam Lindsay wrote: VnPenguin said

Re: [NTG-context] ConTeXt equivalent for \ensuremath?

2005-03-11 Thread Adam Lindsay
in text, you could use (or expand to): b\low{off} \low (and \hi and \lohi) look like they work robustly in both math and text modes. I'm a bit confused by you using \newcommand in your (ConTeXt?) examples, though... -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay

Re: [NTG-context] ConTeXt equivalent for \ensuremath?

2005-03-11 Thread Gerben Wierda
working, but if this is to be used solely in text, you could use (or expand to): b\low{off} \low (and \hi and \lohi) look like they work robustly in both math and text modes. I'll see. I wonder if it will look the same. Especially in terms of font. Do I get the same font in both sides? Do I get

[NTG-context] setting variable on cmd-line

2009-09-18 Thread Peter Münster
Hello, I've a little feature request: It would be nice, to have a command line option like --setvalue x=y or similar for the context command to define a variable for the job. Modes are already very nice, but often I need just one value for conditional compiling a document instead of many binary

Re: [NTG-context] setting variable on cmd-line

2009-09-20 Thread luigi scarso
On Sun, Sep 20, 2009 at 9:46 PM, Peter Münster pmli...@free.fr wrote: On Fri, 18 Sep 2009, Peter Münster wrote: I've a little feature request: It would be nice, to have a command line option like --setvalue x=y or similar for the context command to define a variable for the job. Modes

Re: [NTG-context] doifmode with a buffer following this command

2010-02-21 Thread Hans Hagen
On 21-2-2010 17:59, Willi Egger wrote: Hi, If I use multiple modes I need to use also \doifmode{}{}. Now it appears that it is nomore possible to have \start/stopbuffer inside the second pair of braces of \doifmode. This results in an error in MKIV and in no output in MKII Runaway argument

Re: [NTG-context] Where to put a module?

2010-03-07 Thread Philipp Gesang
On 2010-03-07 13:02:40, Mojca Miklavec wrote: On Sun, Mar 7, 2010 at 11:54, Philipp Gesang wrote: Right now it contains modes for Cyrillic, Glagolitic and Greek scripts, older variants included, full ISO 9 support Doesn't ISO 9 (ISO-8859-9) support already work? Normally I don't post wp

Re: [NTG-context] wrong heights in TABLE

2010-03-10 Thread Peter Münster
On Wed, Mar 10 2010, Taco Hoekwater wrote: This second example is a broken table specifier when no modes are enabled: it produces and empty row, which is a no-no. Ok, here an even better and smaller example-test-file: \starttext Problem:\blank \bTABLE \bTR \bTH 1. col\eTH \bTH

Re: [NTG-context] wrong heights in TABLE

2010-03-10 Thread Hans Hagen
On 10-3-2010 9:05, Taco Hoekwater wrote: Peter Münster wrote: TIA for any hint! Cheers, Peter This second example is a broken table specifier when no modes are enabled: it produces and empty row, which is a no-no. indeed, i played with catching it but it's too much work so that has

Re: [NTG-context] Indents, enumerations, and modes (mk2+mk4)

2010-06-01 Thread Wolfgang Schuster
Am 02.06.10 00:14, schrieb Matthias Weber: Dear all, I have two questions regarding using spacing in enumerations. Depending on a mode being enabled, I would like to add a command at the beginning of an enumeration (I want to place something in the margin, but it doesn't actually matter what

[NTG-context] bibliography again: “von” and “van”

2015-01-27 Thread Jörg Weger
Wolfgang von” in the publications list, but still “(van Halen 1984)” and “van Halen, Edward”. It would be nice if you could switch between two modes while invoking the citation. I have not yet discovered where this order is defined. Greetings Jörg

Re: [NTG-context] \translate and PDF bookmarks

2015-01-29 Thread Wolfgang Schuster
}} \starttext \es\mimo \en\mimo \stoptext Headings except in PDF bookmarks are fine. How can I get titles in PDF bookmarks? You can’t use the \translate command to set different texts for bookmarks because it is unexpandable. What you can do is to use language dependent modes, e.g

Re: [NTG-context] Feature request for export: Interactive Notes

2015-04-25 Thread Idris Samawi Hamid ????? ????? ????
}{\placefootnotes}? I discovered this (http://wiki.contextgarden.net/Modes#System_modes) after the reply from Hans to my own question. Ok, thanks Pablo; will explore this as well, especially after I start writing the journal article. Best wishes Idris -- Idris Samawi Hamid Professor of Philosophy

Re: [NTG-context] Feature request for export: Interactive Notes

2015-04-28 Thread Idris Samawi Hamid ادريس سماوي حامد
}{\placefootnotes}? I discovered this (http://wiki.contextgarden.net/Modes#System_modes) after the reply from Hans to my own question. Ok, thanks Pablo; will explore this as well, especially after I start writing the journal article. Best wishes Idris -- Idris Samawi Hamid Professor of Philosophy

[NTG-context] output file size with repeated image

2015-04-14 Thread Pablo Rodriguez
\stoptext Output file sizes with different modes are the following: --mode=repeated-image745KB --mode=single-image 303KB --mode=no-image 302KB Although the image is the same (and it is only embedded once) file size with repeated image is almost two and a half times

Re: [NTG-context] \doifnotmodeelse - undefined control sequence error?

2015-09-15 Thread Aditya Mahajan
uested mode is enabled or disabled. My bad. I thought that I had checked this when writing the article on modes. I'll update the wiki accordingly. Aditya___ If your question is of interest to others as well, plea

Re: [NTG-context] How to test which is current "mainlanguage"?

2015-12-31 Thread Wolfgang Schuster
active() == "cz" then -- Do somthing end You can use the modes mechanism for this because you can use ** to check for the main language (set by \mainlanguage) and * for the current language (set by \language). \mainlanguage[cs] %\language[en] \starttext \doifelsemode{**cs}{The main l

Re: [NTG-context] Product-component structure

2016-06-24 Thread Hans Hagen
;, processfilemany }, } } Then, why is the product file processed multiple times? because one might want to combine products (controlled by modes giving different results) .. mostly downward compatible -

[NTG-context] Nested modes and itemizations

2016-11-17 Thread Christoph Reller
Hi, I have the following minimal not-working example: \starttext \startitemize \item One \startmode[modeA] \item Two \startitemize \startmode[modeB] % <- this \item Two A % <- does \stopmode % <- not work % \doifmode{modeB}{\item Two A} % <- this

[NTG-context] Different column modes and NAW

2016-12-18 Thread Mikael P. Sundqvist
Dear list, I just realized that the very nice articles in "Nieuw archief voor Wiskunde" (see http://www.nieuwarchief.nl/serie5/index.php?deel=17=4=1 ) are typeset with ConTeXt (at least it says so at http://www.nieuwarchief.nl/homeitems.php?onderwerp=2=1). I get curious. Does anyone here know

Re: [NTG-context] Modern CV like cover letter example

2017-04-18 Thread Henri Menke
Better use the language aware labeltexts \setuplabeltext [language] [labellabel=text,labellabel=text,...] rather than setting some macros based on self-defined modes. On 04/18/2017 12:34 AM, Jonas Baggett wrote: > Hello everyone, > > As suggested by Wolfgang Schuster here :

[NTG-context] \doifmode error with question blocks

2017-05-18 Thread Jan Willem Flamma
Dear list members If using modes to show or hide certain part of the text. In the MWE below the part between the startmode[test] .. stopmode works jus fine. When using the \doifmode construction an error is produced on the position of the closing curly bracket. I prefer to use \doifmode

Re: [NTG-context] problems with XML export

2017-11-12 Thread Pablo Rodriguez
On 11/12/2017 05:06 PM, Alan Braslau wrote: > [...]> Whereas I might want to export systematically, Hans suggests that one > should export in a separate run using modes for example. This is not a > bad idea, but I would NOT want to have to then make a third run to fix > t

Re: [NTG-context] Parse oddity with modes, compilation halts

2018-01-02 Thread Hans Hagen
On 1/2/2018 7:48 PM, Rik Kabel wrote: Consider the following example: When this is run with --mode=vim, all is well. When the mode is not set, compilation fails. I suspect that the parser is scanning for the closing curlie of \inlineTEX but never sees it. \starttext \startmode[vim]

Re: [NTG-context] removing and reinstating xmlsetup's

2018-08-30 Thread Hans van der Meer
> On 30 Aug 2018, at 00:53, Hans Hagen wrote: > > On 8/29/2018 5:54 PM, Hans van der Meer wrote: >> Doing: \xmlremovesetup{SETUP} >> does not seems to have an effect. >> Is it possible to deactivate a xml setup and reinstate at at a later point >> i

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-27 Thread Marco Patzer
uage}{\mainlanguage[\documentvariable{language}]} > \to \everysetupdocument > > \stopenvironment That works, thanks. One more question: I used to use modes, since I could just \startmode[*en] … \stopmode any number of times. There are many language dependent settings in the environment fi

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] 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

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] 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. > > > > ___

[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] 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-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

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] 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] 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] Can I simplify this to some sort of logic so it scales better?

2022-06-06 Thread Gerben Wierda via ntg-context
this becomes more and more complex. I was wondering what would be a good approach to simplify it. I want to make sure that one and only one of these modes is active and that if no mode is entered on the command line the mode is EN. Gerben Wierda (LinkedIn <https://www.linkedin.com/in/gerbenwierda&

Re: [NTG-context] Can I use language as a mode (set on the command line) and simplify this?

2022-05-11 Thread Gerben Wierda via ntg-context
d line instead, enable a mode derived from a language set on the >>> command line, > > The language settings trigger a system mode, see > > https://wiki.contextgarden.net/Modes#System_modes Thanks, but how do I influence this from the co

Re: [NTG-context] Can I use language as a mode (set on the command line) and simplify this?

2022-05-11 Thread Pablo Rodriguez via ntg-context
On 5/11/22 09:40, Gerben Wierda via ntg-context wrote: >> On 11 May 2022, at 08:59, Taco Hoekwater wrote: >> [...] >> The language settings trigger a system mode, see >> >> https://wiki.contextgarden.net/Modes#System_modes > > Thanks, but how do I influe

[NTG-context] Re: Section number in the margin and the section title followed by paragraph!

2024-01-27 Thread Pablo Rodriguez via ntg-context
ve=inmargin (or margin) and alternative=text. I’m afraid they are mutually exclusive alternative modes. Just in case it might help, Pablo ___ If your question is of interest to others as well, please add an en

[NTG-context] Re: learning about the grid

2023-11-19 Thread Henning Hraban Ramm
Am 19.11.23 um 13:27 schrieb Miguel Diaz: 1. Why are the lines printed one over the other when grid=no? how do profis then use context without grid? That usually only happens in one of the column modes that requires the grid. It doesn’t happen in usual one-column typesetting. There must

<    1   2   3   4   5   6   7   >