Re: [NTG-context] Document structure - some questions

2005-03-13 Thread Willi Egger
ces). Of course you can change the standard set options. How do the system modes (*...-modes) work exactly? I managed to make \startmode[*interaction] ... \stopmode work, but what about the others "starred" modes? Hm, no experience with these, thoug using extensively mode-structures... Wh

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

2016-11-06 Thread Mikael P. Sundqvist
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=exercises file.tex should give only all the exercises (or just everything "i

Re: [NTG-context] Modes in Lua

2017-05-31 Thread Henning Hraban Ramm
Thank you all! Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden.net GPG Key ID 1C9B22FD Am 2017-05-31 um 18:57 schrieb Hans Hagen : > On 5/31/2017 4:51 PM, Pablo Rodriguez wrote: >> This is the way to detect system modes, but I don’t know how to do it >> fo

[NTG-context] hierarchical modes

2008-05-15 Thread Janko Hauser
the private group should see everything, the group internal only the public parts and the internal ones. As far as I see, modes are not additive. What would be the best way to structure such a document and to style the different paragraphs, so that the different audiences see, who can read what

Re: [NTG-context] modes questions

2008-09-29 Thread Hans Hagen
Alan Stone wrote: > On Thu, Sep 11, 2008 at 12:46 PM, Hans Hagen <[EMAIL PROTECTED]> wrote: > >> Alan Stone wrote: >>> (2.2) How does ConTeXt handle a modefile ? Are the modes parsed into a >>> modelist ( re: question 1.2 ) ? >> best use ctx fi

[NTG-context] Passing and retrieveing a variable

2011-01-05 Thread Procházka Lukáš
Hello, I'd need to pass a variable to Ctx and to retrieve it inside a compiled document - via Ctx itself and also by Lua. Something like modes; but modes allow just to check whether they are on or off. I'd need something like this: Calling context.exe: --- call context.exe

Re: [NTG-context] Alternative width of figures in different documents (problem with modes?)

2013-02-05 Thread Marco Patzer
On 2013–02–05 Jaroslav Hajtmar wrote: > I would like use modes alternative to change of image dimensions in > different documents (presentation or print version). > Compilation in ConTeXt TeXLive 2012 version will compile without > error, but without visual effect. Compilation with th

Re: [NTG-context] modes with Scite

2006-07-25 Thread dwarnold45
vided by one of the Context dristributions. > > > > Is there a way to include modes with one of the various compiling commands? > > > no, but you can > > (1) temporary put \enablemode[...] at the to of the file > (2) use a separate

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

2007-01-16 Thread Peter Münster
oon since i dislike 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? > > Imagine a command (an alias) my-texexec = "texexec --mode=xxx" that is used > > for example

Re: [NTG-context] Itemize and natural tables

2018-09-23 Thread Wolfgang Schuster
will report in a different thread). Wolfgang Jan Willem 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 Also, based on this discussion, I understand that combining modes and

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] New to TeX, ConTeXt - How to conditionally include document sections?

2009-07-23 Thread Aditya Mahajan
nderstanding how to accomplish the TeX/ConTeXt equivalent of: if equals then do thing 1 ... do thing n else if... ConTeXt has a mechanism called modes that does exactly this. The official documentation is a bit terse, but should give you enough hints to get started. http://pragma-ade.

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

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[

[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

[NTG-context] Custom parameters/options for t-vim

2011-08-30 Thread Andreas Schneider
Hi, I worked with t-vim a bit more and encountered a small problem with the way vim handles syntax definitions. Some of them have several modes that get activated by setting a variable first. For example the syntax "sh" (shell scripts) can be enhanced for bash, ksh, etc. Ex

[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

[NTG-context] Where to put a module?

2010-03-07 Thread Philipp Gesang
Dear listmates, a while ago I made some lua tables to aid myself in transliteration of various scripts. I thought this could be of general interest so I built a module from it and threw in some source documentation and a tiny manual, too. Right now it contains modes for Cyrillic, Glagolitic

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

2010-10-17 Thread Aditya Mahajan
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)mode. there is nothing special about system

Re: [NTG-context] New to TeX, ConTeXt - How to conditionally include document sections?

2009-07-24 Thread Stephen Gadsby
> From: Hans Hagen > > \doifelse{stringa}{stringb}{...}{...} > From: Aditya Mahajan > > For what you want, modes should be sufficient. If for > something else you really want to do string comparisons, > ConTeXt provides a bunch of \doifelse commands > http://wiki.cont

Re: [NTG-context] Problem installing ConTeXt jedit syntax

2005-08-31 Thread Elliot Clifton
Hans, Sorry about taking a long time to get back to you. I checked the syntax of the ConTeXt mode files. They seem to be consistent with the syntax in modes that are known to work. The delegate syntax doesn't seem to have changed. I don't recieve XML validation errors for any other pa

Re: [NTG-context] mode dependend character handling

2006-01-14 Thread Mojca Miklavec
ore (but then the > >> automatic conversion will only work for the ec encoding). > > mode processing is based on modes that are in effect > at the execution time of the \startmode macro, not > the typeset time. This would work: > >\enablemode[swiss] >\startencod

[NTG-context] selectively turn off captions

2007-11-29 Thread Roger Mason
Hello, I'm making progress in using modes - thanks again for the help so far that was given in the "switching to Context" thread. I have followed Thomas Schmitz' practex article and have set up modes for presentation and manuscript. I am using external figures on mos

[NTG-context] differences of table modes

2003-06-12 Thread Henning Hraban Ramm
Ahoi! I just reviewed my german ConTeXt tutorial and tried to tell the truth about all the table modes. Please correct me if I'm wrong: * tabulate - can break over several pages - [start|stop]tabulate[head|tail] should define a repeated head/tail, but it doesn't work - documented in

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] Template for handling editorial content in a large book project

2015-08-08 Thread Aditya Mahajan
included or not. Is there a recommended design pattern that I could use for this type of work? I am not sure I completely understand your question, but have a look at modes: http://wiki.contextgarden.net/Modes Aditya

Re: [NTG-context] new features

2016-05-22 Thread Meer, Hans van der
member: less clutter for my brain ;-) because one property of modes is that one doesn't have to define them, you'd be quite unhappy if you would have to define all possible modes that could be introduced in styles The idea was not to have the user define the mode, but let ConTeXt auto

Re: [NTG-context] Head sections automatically marked for conditional text

2017-08-31 Thread Aditya Mahajan
On Tue, 29 Aug 2017, Paul Mazaitis wrote: The short version: I'd like to set up a context document with multiple user-defined heads, such that they can be conditionally compiled and/or altered. It seems that modes are what I want, but I'm having trouble figuring out how to aut

Re: [NTG-context] hierarchical modes

2008-05-15 Thread Hans Hagen
"private". People who are in the private > group should see everything, the group internal only the public parts > and the internal ones. As far as I see, modes are not additive. > What would be the best way to structure such a document and to style > the different pa

Re: [NTG-context] modes questions

2008-09-30 Thread Alan Stone
On Mon, Sep 29, 2008 at 10:37 PM, Hans Hagen <[EMAIL PROTECTED]> wrote: > Alan Stone wrote: > > On Thu, Sep 11, 2008 at 12:46 PM, Hans Hagen <[EMAIL PROTECTED]> wrote: > > > >> Alan Stone wrote: > >>> (2.2) How does ConTeXt handle a modefile ?

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

2010-03-07 Thread Wolfgang Schuster
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, but maybe somebody wan

Re: [NTG-context] modes with Scite

2006-07-25 Thread Hans Hagen
xexec.flag.pdfopen) $(1) > Hans Hagen <[EMAIL PROTECTED]> wrote: > >> [EMAIL PROTECTED] wrote: >> >>> All, >>> >>> I am using the Scite editor provided by one of the Context dristributions. >>> >>> Is there a way to

Re: [NTG-context] selectively turn off captions

2007-11-29 Thread Wolfgang Schuster
2007/11/29, Roger Mason <[EMAIL PROTECTED]>: > Hello, > > I'm making progress in using modes - thanks again for the help so far > that was given in the "switching to Context" thread. > > I have followed Thomas Schmitz' practex article and have set up mo

Re: [NTG-context] ConTeXt project structure?

2003-07-22 Thread Henning Hraban Ramm
product, then you keep the possibility to add components if the size of the chapters is too large. I won't do that... But here my understanding stops. - Should I create a project file for each of the 4 modes above? And put these in different subdirectories as in: .../foo/book/book.tex ..

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

Re: [NTG-context] Question on enabling/disabling modes

2018-08-28 Thread Fabrice Couvreur
gt; > > >>> > > Hi! >>> > > >>> > > I am writing notes for my teaching and would like to do the >>> following with modes: >>> > > >>> > > * If the file is compiled with context file.tex then everything

[NTG-context] Math fractions

2016-02-28 Thread Aditya Mahajan
in both inline and display mode. The output of \tfrac is wrong in both modes. In both modes, \tfrac should equal the current output of \frac in inline mode. Although I don't completely understand the code, my guess is that there is a bug in how mathstyle=text is implemented (really, math

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

2016-11-10 Thread Hans Hagen
(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=exercises file.tex should give

Re: [NTG-context] ConTeXt gobble my mind

2014-11-06 Thread luigi scarso
ing before the macro \skipSlide. > This is very useful as I have students of different levels. > > The gobbleinput solution is the best solution : I can activate or not a > slide according to my audience. > > If I use the buffer solution, I'll not be able to d

Re: [NTG-context] A problem with modes

2012-06-26 Thread Wolfgang Schuster
;> %\def\stopamode {\getbuffer[amode]} >> >> \starttext >> >> All modes. >> \startamode >> “A” mode. >> \stopamode >> >> \stoptext > > Thanks, it worked. One question: is there any difference between > > \def\starta{...} >

Re: [NTG-context] Alternative width of figures in different documents (problem with modes?)

2013-02-05 Thread Wolfgang Schuster
Am 05.02.2013 um 13:50 schrieb Jaroslav Hajtmar : > Hello ConTeXist. > > I would like use modes alternative to change of image dimensions in different > documents (presentation or print version). > Compilation in ConTeXt TeXLive 2012 version will compile without error, but &

Re: [NTG-context] How to capture a typeset page into a box instead of shipping it out

2009-02-01 Thread Roger Mason
Hello, "Kevin D. Robbins" writes: >Thanks for the suggestions Wolfgang and Luigi. I've now got several >good options to research. > Kevin > I use 3 modes for teaching: manuscript -- notes that go on-line for students to download presentation -

[NTG-context] multiple modes

2006-08-10 Thread David Arnold
All, Is this sort of thing ok? texexec --mode=short,copyright,paging chapter1 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] Simple question

2022-05-10 Thread Henning Hraban Ramm via ntg-context
s \translatephrase; for your figures I’d just just a language variable in the path, like \externalfigure[images/\LANG/cow.pdf] If this is always the current language, use \currentlanguage. You can also setup the language dependent directory in \setupexternalfigures. Regarding modes, the current

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

2021-11-17 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
sts 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 you nee

Re: [NTG-context] multiple modes

2006-08-10 Thread Taco Hoekwater
David Arnold wrote: > All, > > Is this sort of thing ok? > > texexec --mode=short,copyright,paging chapter1 I think so ... Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

[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

[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] 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] Alternative width of figures in different documents (problem with modes?)

2013-02-05 Thread Jaroslav Hajtmar
Thanx Wolfgang. I might have guessed :-). Anyway, thanks for inspiring solutions ... Jaroslav Hajtmar Dne 5.2.2013 14:15, Wolfgang Schuster napsal(a): Am 05.02.2013 um 13:50 schrieb Jaroslav Hajtmar : Hello ConTeXist. I would like use modes alternative to change of image dimensions in

Re: [NTG-context] Itemize and natural tables

2018-09-23 Thread Jan Willem Flamma
amma 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] \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] beta

2006-09-28 Thread Hans Hagen
latest upload (in 10 minutes) - static graphics with mpenvironments - fix for modes and protection Hans -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The

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

2010-03-07 Thread Thomas A. Schmitz
ntation and a tiny > manual, 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 lo

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

2006-07-22 Thread Hans van der Meer
tead of rejecting everything except the current product/component. In the code of core-job.tex I read: % more or less replaced by modes \setvalue{\e!start\v!localenvironment}[#1]% Must I conclude from this that localenvironments are more or less passe? So that I can better avoid them and

Re: [NTG-context] How many mode statements allowed on compile line

2006-01-18 Thread Hans Hagen
David Arnold wrote: All, Are multiple mode statements allowed on a compile line. Suppose I have: print or screen and short or long (answers) How do I compile with screen mode with long answers? there is a modes manual -) \doifmodeelse{screen,short} ... \startmode[screen,long] ... Hans

Re: [NTG-context] Typesetting products and components

2005-02-15 Thread Peter Münster
On Mon, 14 Feb 2005, Randall Skelton wrote: > Is it possible to determine if texexec is being run on a product or a > component and have optional processing similar to different modes? \ifx\currentproduct\empty no product defined \else the product is \currentproduct \fi Cheers, Peter --

Re: [NTG-context] Using modes

2005-04-28 Thread David Munger
Reminds me of this post: http://archive.contextgarden.net/message/20041101.205339.1e76d98d.html I bet that is what we all do! David Matthias Weber : > Hello again, > > oh my, this was a stupid mistake. I added the > [screen] and [print] parameters to \stopmode. > No wonder that is what is being

[NTG-context] Problem installing ConTeXt jedit syntax mode

2005-08-14 Thread Elliot Clifton
Hi, I've added the context jedit mode files to the modes directory inside my jedit settings directory, and appended the mode to the catalogue. I get XML validation errors that state the various DELEGATEs are invalid. The external files (*-en, *-de, etc...) do not import. Why? What am I

Re: [NTG-context] multiple modes

2006-08-11 Thread Hans Hagen
David Arnold wrote: > All, > > Is this sort of thing ok? > > texexec --mode="short,copyright,paging chapter1" > texexec --mode="short,copyright,paging chapter1" ... \doifmodeelse{short,pagine chapter 1} should work -

Re: [NTG-context] new features

2016-05-22 Thread Meer, Hans van der
> On 26 Jun 2014, at 12:08, Hans Hagen 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'). > > Using defined modes (that

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] ConTeXt gobble my mind

2014-11-06 Thread Pierre-François Bonnefoi
fferent levels. > > The gobbleinput solution is the best solution : 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

Re: [NTG-context] ConTeXt gobble my mind

2014-11-07 Thread Hans Hagen
useful as I have students of different levels. The gobbleinput solution is the best solution : 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.

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] Project structure and modes

2011-11-11 Thread Wolfgang Schuster
Hi Hans, can you add the systemmodes for products, components etc. in MkIV because they are missing. \startproduct test \doifmodeelse{*product}{YES}{NO} \stopproduct Wolfgang ___ If your question is of interest to o

Re: [NTG-context] + in file names

2011-03-14 Thread Peter Münster
Vedran Miletić writes: > Should + not be used? It seems to work ok without modes, but I > haven't tested deeply. There is now an entry in the FAQ: http://wiki.contextgarden.net/FAQ#Why_should_I_only_use_letters.2C_digits_and_hyphens_in_file.2Fpath_names.3F --

Re: [NTG-context] wrong heights in TABLE

2010-03-10 Thread Taco Hoekwater
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. Best wishes, Taco ___ If your

Re: [NTG-context] Modes for configuration

2005-10-17 Thread Henning Hraban Ramm
Am 2005-10-17 um 19:04 schrieb Alan Bowen: Many thanks. That is helpful and much appreciated. I missed the closing remark about \enablemode on the Mode page of ConTeXt wiki That's no wonder - I added it this morning after I read Willi's mail. >;->> Grüßlis vom Hraban! --- http://www.fie

Re: [NTG-context] Re: Context-mode for Emacs 21.3

2003-12-08 Thread Peter Münster
On Mon, 8 Dec 2003, Patrick Gundlach wrote: > Oh, don't mix up Berend's mode and AUCTeX. The have nothing in > common, except that they are written in elisp and handle TeX input > files. Hello, is there already some comparison between these 2 modes somewhere (advantages/dis

Re: [NTG-context] Escaping from modes set for "tabulate"

2011-01-14 Thread Peter Münster
Procházka Lukáš Ing. - Pontex s. r. o. writes: > \NC {\normalfont Code} \NC {\nomath Symbol} \NC Description \NC\NR \NC {\rm Code} \NC \text{Symbol} \NC Description \NC\NR -- Peter Münster Contact information: http://pmrb.free.fr/contact/ __

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

2010-02-21 Thread Peter Münster
On Sun, 21 Feb 2010, Willi Egger wrote: > If I use multiple modes I need to use also \doifmode{}{}. \startmode[...] ... \stopmode is better in this case. Cheers, Peter -- Contact information: http://pmrb.free.fr/cont

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

2010-03-07 Thread Mojca Miklavec
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 alread

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

2010-10-17 Thread Aditya Mahajan
On Sun, 17 Oct 2010, Hans Hagen wrote: On 17-10-2010 7:58, Aditya Mahajan wrote: (BTW, why is system mode *mkii not set in MkII?) because you can do \doifnotmode{mkiv} :) Documented on the wiki page on modes. Aditya

[NTG-context] Editor questions: SciTE and Emacs

2004-01-26 Thread Gary Pajer
anyone comment about this? There are two ConTeXt modes available. How do they compare? Thanks, Gary ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] differences of table modes

2004-01-31 Thread Peter Münster
On Sat, 14 Jun 2003, Hans Hagen wrote: > >* tables > >- same as table, but can break over several pages > >- [start|stop]table[head|tail] works > >- nowhere documented? > > in my still to be included chapter if the manual it is -) Hello, I am looking for documentation for tables. Is the table-cha

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] Which color model shall I use

2018-10-01 Thread Jan U. Hasecke
i.contextgarden.net/Command/setupcolors > (I would activate rgb or cmyk colors via modes, if you produce different > media) I don't know how to enable this via modes. > CMYK colors in SVG are difficult (I needed them in 2005, nowadays there’s a > hardly supported standard fo

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 pas

Re: [NTG-context] differences of table modes

2003-06-14 Thread Hans Hagen
At 18:32 12/06/2003 +0200, you wrote: Ahoi! I just reviewed my german ConTeXt tutorial and tried to tell the truth about all the table modes. Please correct me if I'm wrong: * tabulate - can break over several pages - [start|stop]tabulate[head|tail] should define a repeated head/tail, b

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

Re: [NTG-context] Project structure and modes

2011-11-13 Thread Jaroslav Hajtmar
Thanks Wolfgang, but unfortunately for me it still does not work... Jaroslav Dne 13.11.2011 14:13, Wolfgang Schuster napsal(a): -\def\resetsystemmode#1% +\def\popsystemmode#1% {\ifcsname\@mode@:\systemmodeprefix#1\endcsname \expandafter\popmacro\csname\@mode@:\systemmodeprefix#1\endcsn

[NTG-context] Define tex macro on the context command line

2009-11-11 Thread John Devereux
Hi, Is it possible to define a tex macro on the context command line (MkII)? For example: texexec manual.tex --define Title "X99 Operators Manual" so that \Title would expand to the appropriate text? (I know about modes I think) -- Joh

Re: [NTG-context] mode dependend character handling

2006-01-14 Thread Henning Hraban Ramm
OK, thanks Taco. Now I understand the problem. I always compiled with or without texexec --mode=swiss which worked fine. If mixing modes within the same document is required (\enablemode/\disablemode[swiss]), it fails of course (I didn't think about it). Ah, ok, I didn't test w

[NTG-context] Making context produce dvi file.

2006-09-11 Thread John R. Culleton
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 format is plain text. Others recommend dvi2tty for this conversion. But how do I get Context to produce a dvi file? The Context manual does not make this clear

Re: [NTG-context] differences of table modes

2003-06-16 Thread Henning Hraban Ramm
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 something similar), and I run the latest beta,

Re: [NTG-context] + in file names

2011-03-15 Thread Vedran Miletić
2011/3/14 Peter Münster > Vedran Miletić writes: > > > Should + not be used? It seems to work ok without modes, but I > > haven't tested deeply. > > There is now an entry in the FAQ: > > http://wiki.contextgarden.net/FAQ#Why_should_I_only_use_letters.2C_digi

Re: [NTG-context] Modes in MkIV minimals (bug?)

2010-10-24 Thread Matija Šuklje
Dne nedelja 24. oktobra 2010 ob 21:27:58 je Wolfgang Schuster napisal(a): > Do you enable the mode before it is used or after it, e.g. That did it, thanks :) Cheers, Matija -- gsm:+386 41 849 552 www:http://matija.suklje.name xmpp: matija.suk...@gabbler.org signature.asc Descriptio

Re: [NTG-context] modes + arranging

2012-07-08 Thread Thomas A. Schmitz
On 07/09/2012 12:17 AM, Hans Hagen wrote: Can you test with c_flags.noarrange = nil in line 671 in mtx-context.lua (some time ago the 'opt' file has been replaced by passing commandline arguments and this slipped through). Hans Hi Hans, yes, when I change this line, ar

[NTG-context] Re: Context-mode for Emacs 21.3

2003-12-08 Thread Patrick Gundlach
Peter Münster <[EMAIL PROTECTED]> writes: > is there already some comparison between these 2 modes somewhere > (advantages/disadvantages)? None that I know of. I have compared these two at the DANTE Meeting in April this year. But nothing written down. I guess that if you use AUCTe

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

2016-11-06 Thread Mikael P. Sundqvist
gt; what I want to do might not be possible. > > In my large document 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 exam

Re: [NTG-context] overprint and currentcolorname in mkiv

2008-09-15 Thread Peter Rolf
w all overprinting stuff is shown in the selected color (orange). Well, at least should... After comparing the pdftex and the luatex pdf files, I found a difference in the used overprinting modes. pdftex uses the 'Standard Overprinting Mode' (OPM 0) here and luatex the 'Illust

Re: [NTG-context] Passing and retrieveing a variable

2011-01-07 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, I created a testing file which tests existence and type of (tex|context|document).(modes|arguments|variables) by Lua - see the attachments. It seems that: - Modes are accessible by tex.modes[]. - - tex.modes are 'false' by default. I.e. they are not 'nil' but &

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

2016-11-10 Thread Wolfgang Schuster
Hans Hagen 10. November 2016 um 17:27 search for 'blocks' ... \defineblock ... \hideblocks \keepblocks \useblocks \processblocks \selectblocks This doesn’t solve the problem because he want a document which contains *only* certain blocks and nothing else, a solution for

Re: [NTG-context] ctx files

2008-10-31 Thread Alan STONE
result=ctx-modes *** ctx-modes1.ctx *** mode1a *** ctx-modes2.ctx *** mode2a *** end of code *** Best, Alan -- * texexec --lua foo * Con

[NTG-context] + in file names

2011-03-14 Thread Vedran Miletić
efined control sequence ... Should + not be used? It seems to work ok without modes, but I haven't tested deeply. Regards, Vedran Miletić ___ If your question is of interest to others as well, please add an entry t

Re: [NTG-context] checking mainlanguage setup

2011-05-27 Thread Pontus Lurcock
On Fri 27 May 2011, Jeong Dalyoung wrote: > Is it possible to check what is the mainlanguage set in document? > Now, I use \enablemode[kr] to do something A. But, I'd like to do it > automatically if possible. According to http://wiki.contextgarden.net/Modes#System_modes , the mo

Re: [NTG-context] Project structure and modes

2011-11-13 Thread Wolfgang Schuster
Am 13.11.2011 um 13:36 schrieb Salil Sayed: > Hi, > > I get a similar error with a beta updated today. See below. core-env.mkiv (line 226): -\def\resetsystemmode#1% +\def\popsystemmode#1% {\ifcsname\@mode@:\systemmodeprefix#1\endcsname \expandafter\popmacro\csname\@mode@:\systemmodepref

Re: [NTG-context] beta

2006-03-30 Thread Taco Hoekwater
\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 is much cle

<    1   2   3   4   5   6   7   >