[NTG-context] Re: Figure reference failing

2024-04-10 Thread Henning Hraban Ramm
l in a row.     \startplacetable[mode=columns,reference=demo-1]     \externalfigure[cow][width=\textwidth]     \stopplacetable     \samplefile{tufte} \stoptext so basically we have an "at the spot" placement or a float Is "mode" in floats something new? How is

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

2008-09-15 Thread Peter Rolf
in the 'Preview' listbox - check the now visible 'Show Overprinting' checkbox Now 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

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

2011-08-30 Thread Aditya Mahajan
On Tue, 30 Aug 2011, Andreas Schneider wrote: 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

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[a-mode]. - - tex.modes are 'false' by default. I.e. they are not 'nil' but 'false', even

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

2011-01-07 Thread luigi scarso
2011/1/7 Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz: 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[a-mode]. - - tex.modes

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

Re: [NTG-context] ConTeXt project structure?

2003-07-29 Thread Gerben Wierda
are natural components for me. I will never ship chapter1.pdf but I might want to work on my book one chapter at a time. In your example, a chapter is a product. You produce different what I would call `products' by using different modes. That is confusing for me. Never mind the cupboard and drawers

Re: [NTG-context] ToC depth (and headers) per section block

2014-07-05 Thread Rik Kabel
\completecontent and not \placelist[chapter,section], having excluded lower-level sectioning headers via \setupcombinedlist. I am asking if there is a way to take advantage of user-defined or system modes, or section blocks, to accomplish this without requiring explicit markup (silentsection in your example

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

2016-11-06 Thread Mikael P. Sundqvist
q/337738/52406), and got the answer that > 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 an

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 for icc

Re: [NTG-context] Which color model shall I use

2018-10-01 Thread Hans Hagen
://wiki.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. \setupcolors[cmyk=yes,rgb=no] etc CMYK colors in SVG are difficult (I needed them in 2005, nowadays there’s a hardly supported standard

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] 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] 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] 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] 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] ntg-context Digest, Vol 51, Issue 44

2008-09-11 Thread Martin Hoher
of the \cite command (bib-module) (Martin Hoher) 3. Re: first steps with \dosingleempty (Goebel, Juergen) 4. Re: use of the \cite command (bib-module) (Thomas A. Schmitz) 5. Re: first steps with \dosingleempty (Wolfgang Schuster) 6. Re: modes questions (Hans Hagen) 7. Re: modes questions

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-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] Custom parameters/options for t-vim

2011-08-31 Thread Andreas Schneider
On 29.08.2011 23:35, Aditya Mahajan wrote: On Tue, 30 Aug 2011, Andreas Schneider wrote: 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

Re: [NTG-context] learning path

2005-10-28 Thread Mojca Miklavec
with the same content, but different layout, you can use modes (http://wiki.contextgarden.net/Modes). So i wish to have only vertical progression bars + percentage in the inner margin. s-pre-01 original style show a bottom interaction bar filled with pagenumbers drawn as little rectangles. Maybe it's

Re: [NTG-context] Search path for .tex files (mkiv)

2012-10-30 Thread Wolfgang Schuster
takes the name of the current file as argument, the name of the file is tired in the command \currentcomponent. In MkIV you can replace the name with “*” and context would still print the correct name with \currentcomponent. The asterisk in modes indicates that you use a system mode which

Re: [NTG-context] ConTeXt on the Mac (TexShop). Problem of a newbie

2013-01-11 Thread Hans Hagen
-component structure to use and re-use components. Other aspects are - different modes (presentation, handout, manuscript) 'modes' have always been around - poster production A1 papersizes are supported as are layers (the way to make posters). - nice graphics/animation via pstricks

[NTG-context] Large space between mode blocks

2017-05-18 Thread Jan Willem Flamma
Dear list members, Another mode related question: When combining modes, a rather large double space appears between two mode blocks (i.e. where the first mode stops and the second mode begins) In the MWE below are 3 cases. The large space is not present in the 3rd case Is this intended

Re: [NTG-context] roadmap

2018-05-17 Thread Hans Hagen
: I actually use the Raw Steps module, by David Munger (dated from 2006), which still worked, but in MKII only. This is essential for me for my teaching and talks. During teaching, I have designed courses notes in ConText using a lot modes of context: the notes are different for the teac

Re: [NTG-context] roadmap

2018-05-17 Thread Mohammad Hossein Bateni
l worked, but in MKII only. This is essential for me for my > > teaching and talks. During teaching, I have designed courses notes in > > ConText using a lot modes of context: the notes are different for > > the teacher, are available in two formats for the students (paper and > >

Re: [NTG-context] Which color model shall I use

2018-10-01 Thread Henning Hraban Ramm
necolor[CompanyBlue][r=0,g=0,b=1,c=1,m=1,y=0,k=0] >> >> and see https://wiki.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. \startnotmode[pri

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] switching to Context

2007-11-29 Thread Thomas A. Schmitz
lecture notes with embedded pictures. I'd like to compile the document into one form to hand out to the class (or make available on the web) and another to be used as a presentation, much like latex-beamer, with just the pictures. This is in fact quite easy with ConTeXt, you can use different modes

Re: [NTG-context] Opening ConTeXt files in emacs [was : selectively turn off captions]

2007-12-01 Thread Jean Magnan de Bornier
of the box then I'd be glad | to hear about them. Well, not specific to AucTeX, you could use one of emacs' template modes to create new tex files, specifying the needed lines in the template. http://www.emacswiki.org/cgi-bin/emacs-en/TemplatesMode (I use template.el to choose e.g. from several

Re: [NTG-context] color expansion at runtime

2007-12-14 Thread Thomas A. Schmitz
trickery, you could use ConTeXt modes: \startmode[A] \definecolor [mycolor] [g=1] \stopmode \startmode[B] \definecolor [mycolor] [r=1] \stopmode You can then set \enablemode[A] in your file or pass the mode on the commandline: texexec --mode=A HTH Thomas

Re: [NTG-context] description fails on \if

2008-03-26 Thread Hans Hagen
to just jump in and pinpoint the culprit -- at least for me. i cannot put a \relax in there because \answerblock looks ahead the argument grabber handles some of the if's but only the primitives; in your case ... don't use \ifanswers, just use modes ... \enablemode[answers] ... \doirmnode

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

2008-06-18 Thread Khaled Hosny
identical logical input in Arabic and Farsi modes. The makers of Unipad are Iranian and they implement both Arabic and Farsi rules correctly, have keyboards etc. AFAIK, no other editor implements the bidi alg as well. I didn't use Unipad that much, but I think Gedit (GTK pased) does

[NTG-context] Reference Manual Project

2008-07-30 Thread Taco Hoekwater
is basically the english version of the 'Context Manual' plus * Fonts (mfonts.tex) * Columns sets (columns.tex) * Processing modes (mmodes.tex) * Texmfstart(mtexmfstart.tex) * Hyphenation patterns (mpattern.tex) but minus the images and using

Re: [NTG-context] Enabling character mirroring without enabling implicit bidi

2008-08-16 Thread Hans Hagen
should then have priority it is no problem to have more 'bidi handling modes' but at some point choices have to be made by users: depend n bidi only, depend on textdir only, use (maybe onf of many) ways to mix bidi/textdir best is that you and idris explore this area keeping 'usability' in mind Hans

Re: [NTG-context] \startstaticMPfigure

2011-09-19 Thread Peter Rolf
optimization in mkiv. By the way, is transparency still working as in the wiki example below, or has transparency vanished? The transparency example works here (slightly outdated version from 05.09.2011). BTW: there are four new transparency modes (hue,saturation,color,luminosity). Best wishes, Peter

Re: [NTG-context] \doifmode and friends

2011-10-04 Thread Wolfgang Schuster
it becomes: A C. I guess modes aren’t meant for this but again i can only offer my annotation module. \usemodule[annotation] \defineannotation[test][alternative=text] \starttext A \test{B} C \setupannotation[test][alternative=none,next=\ignorespaces] A \test{B} C \stoptext Wolfgang

Re: [NTG-context] Project structure and modes

2011-11-13 Thread Jaroslav Hajtmar
Thanks many times Wolfgang. You were right! I forgot to regenerate the format in the standalone version, respectively I instead regenerated ConTeXt format in TeXLive 2011, which you probably assumed in your mail :-). Everything is in order now. Thanks again. Jaroslav Dne 13.11.2011

Re: [NTG-context] doublesided PDF - first and last page singlesided

2012-04-15 Thread Thomas A. Schmitz
the desired empty page manually. On a wild guess: if you want different versions for print and for screen, you can use modes (that's what I do for some of my stuff). in pseudo-code: \startmode[booklet] \setuppapersize[A5][A4,landscape] \setuparranging[2SIDE] \stopmode \starttext First page

Re: [NTG-context] doublesided PDF - first and last page singlesided

2012-04-15 Thread Jan Heinen
With your code I get: 1 2 first page of the pdf 3 4 second 5 6 third 7 8 fourth But I want to get: 1 first page of the pdf (coverpage) 2 3 second 4 5 third 6 7 fourth 8 fifth (coverpage) I know how to use with modes - but the answer must

Re: [NTG-context] doublesided PDF - first and last page singlesided

2012-04-16 Thread Thomas A. Schmitz
to use with modes - but the answer must be an other. No, I get the result you want with my code. \startmode[booklet] \setuppapersize[A5][A4,landscape] \setuparranging[2SIDE] \stopmode \starttext One \page \startmode[booklet] \null \page \stopmode Two \page Three \page Four \page Five

Re: [NTG-context] Recommendation for including MATLAB-scripts

2012-04-22 Thread Xenia
line driven) \unprotect % feedback and basic job control % handy for special styles \startluacode document = document or { } document.arguments={ } document.files={ 2, } \stopluacode % process info \setupsystem[inputfile=2] \setupsystem[\c!n=1,\c!m=1] % modes % options (not that important

Re: [NTG-context] Page breaking problem

2006-06-20 Thread nico
failure so that page text can overlap a bottom footnote text as shown in the case of mail [2]. So, both textbackground/page modes have their limitation that makes textbackground use not satisfying. So, it would be great if it could be fixed. I haven't installed the latest context release yet

Re: [NTG-context] 2DOWN imposition gives blank pages

2006-08-29 Thread Willi Egger
see how to use modes to do everything except the demagnifying (Context seems, perhaps wisely, to ignore \magnification). -Sanjoy `Never underestimate the evil of which men of power are capable.' --Bertrand Russell, _War Crimes in Vietnam_, chapter 1

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

2006-09-11 Thread Aditya Mahajan
John, On Mon, 11 Sep 2006, John R. Culleton 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 format is plain text. Others recommend dvi2tty for this conversion. But how do I get Context to produce

Re: [NTG-context] bug in beta: extra \else

2006-10-11 Thread Hans Hagen
Vit Zyka wrote: Hi all, there is some deep bug that was discovered translating Beginners manual. Let take single chapter e.g. ma-cb-cz-alignments.tex With today beta I got .log attached (error ! Extra \else) This will appear in both modes screen and normal. Interesting is that no error

Re: [NTG-context] bug in beta: extra \else

2006-10-11 Thread Hans Hagen
Vit Zyka wrote: Hans Hagen wrote: Vit Zyka wrote: Hi all, there is some deep bug that was discovered translating Beginners manual. Let take single chapter e.g. ma-cb-cz-alignments.tex With today beta I got .log attached (error ! Extra \else) This will appear in both modes screen

Re: [NTG-context] utility file

2006-12-05 Thread John R. Culleton
/listinfo/ntg-context I don't understand the disease but I know the cure. I use two (or more) internal modes thus: -- \startmode[pruf] \definepapersize[halff][width=5.0in,height=8.5in] \setuppapersize[halff][letter] \stopmode . \startmode[hal

Re: [NTG-context] [Fwd: [pdftex] pdftex 1.40]

2007-01-02 Thread Aditya Mahajan
this. Does it work for normal cases? The modes manual says *last* This mode is set if the last run in a session is taking place. Normally this is not known in advance, unless one has asked for an additional imposition pass. which makes be believe that it will not work for normal cases. However, how

Re: [NTG-context] ConTeXt 2007.01.12 problem

2007-01-12 Thread Sanjoy Mahajan
tested 2007.01.12 15:56 and the problem is fixed, so thanks for the quick work. Here is the test file (same as I've been using for dvipos), and it showed the problem in dvi and pdf modes. I'm using pdftex 1.40.0 (with Taco's patch for the off-by-one-error) in /usr/local/bin

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

2007-01-15 Thread Hans Hagen
overwritten... yeah, that shat i used it for -) i can add support for modes to the ctx file feature (ctx files control texexec) Hans - Hans Hagen | PRAGMA ADE

Re: [NTG-context] framed getbuffer

2007-04-11 Thread Wolfgang Schuster
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 works. This is working \vbox {\startformula x^2 = x\cdot x \stopformula

Re: [NTG-context] i18n in BibTeX

2005-09-26 Thread Mojca Miklavec
}] and for all 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

Re: [NTG-context] Mini-survey: What do you do with ConTeXt?

2005-11-06 Thread Peter Münster
My first experience with ConTeXt was typesetting my brother's PhD thesis in chemistry. Used features: modes (A5 and A4), project-structure, a lot of floats, bibliography. ConTeXt at work: - technical specifications for electronic devices (used features: modules, project-structure, tables

Re: [NTG-context] beginners manual

2005-11-27 Thread Hans Hagen
][ec] \setupbodyfont[palatino,10pt] \stopnotmode so for vietnamese you need another encoding. (i added language modes, so we can now do for vietnamese): \startmode[*vn] \enableregime[utf] \setupencoding[default=t5] \stopmode \startnotmode[atpragma] \usetypescriptfile[type-buy

Re: [NTG-context] beginners manual

2005-11-28 Thread VnPenguin
On 11/28/05, Hans Hagen [EMAIL PROTECTED] wrote: so for vietnamese you need another encoding. (i added language modes, so we can now do for vietnamese): \startmode[*vn] \enableregime[utf] \setupencoding[default=t5] \stopmode \startnotmode[atpragma] \usetypescriptfile[type

Re: [NTG-context] skipping parts in compiling

2006-02-22 Thread Mojca Miklavec
might need to split the document in separate files (using projects/products is really a great thing). If you don't want to split your document, you can also use modes: \starttext \startmode[everything] \enablemode[chapter1] \enablemode[chapter2] \stopmode \chapter{Introduction} \startmode[chapter1

Re: [NTG-context] Math encoding in XeTeX

2006-05-20 Thread Mojca Miklavec
to input unicode characters in all modes (normal and math). According to one of the recent threads you can most probably do something like this (I have to reboot first to try it out): \catcode±=\active \def±{\pm} There are actually two possibilities: 1. define a whole lot of active

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

2012-08-22 Thread Sietse Brouwer
I have no idea what the sequences like \v!and \c! etc. mean. Are they references to modes? I asked much the same question on tex.stackexchange.com two months ago, except mine was not so nice and focused. Aditya gave a very nice explanation of what the letters do; clearer than the one

[NTG-context] Missing number, treated as zero error when using \definefont with \define'd dimension

2013-03-21 Thread Lars Huttar
(no error) if I hard-code in 13pt instead of using an intervening \largefontsize definition. But if I hard-code the point size, it would hamper the modularity of our font configuration and the use of modes in which different size fonts are used. Maybe \define is just the wrong command to use when

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

2013-05-21 Thread Sietse Brouwer
={,}, % --\setdigitorder{0} signspace=yes,% --\setdigitsign{1}; '+ 1.4', not '+1.4' times=\times, % or times=\cdot ] Cheers, Sietse --- P.s: I've been thinking I'd like to write more contexty interface that doesn't use predefined modes, but lets you setup the decimal

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

2013-05-22 Thread Hans Hagen
interface that doesn't use predefined 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

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

2013-06-17 Thread Wolfgang Schuster
names starting with an asterisk are system modes. 2. To load the defaults settings you have to use \setups[*reset] which needs the asterisks because it’s a system mode. 3.The settings doesn’t help because in the lines environment each line is a separate paragraph which makes \widowpenalty

Re: [NTG-context] ctx files

2008-10-31 Thread Alan STONE
ctx:flagtexengine=luatex/ctx:flag ctx:flaginterface=en/ctx:flag ctx:flagresult=ctx-modes/ctx:flag /ctx:flags ctx:process/ ctx:postprocess/ /ctx:job *** ctx-modes1.ctx *** ?xml version='1.0' standalone='yes'? ctx:job ctx:preprocess/ ctx:flags/ ctx:process

Re: [NTG-context] ctx files

2008-10-31 Thread Alan STONE
' standalone='yes'? ctx:flagtexengine=luatex/ctx:flag ctx:flaginterface=en/ctx:flag ctx:flagresult=ctx-modes/ctx:flag *** ctx-modes1.ctx *** ?xml version='1.0' standalone='yes'? ctx:modemode1a/ctx:mode *** ctx-modes2.ctx *** ?xml version='1.0' standalone='yes'? ctx:modemode2a/ctx:mode *** end

Re: [NTG-context] ctx files

2008-11-03 Thread Alan STONE
/ctx:process ctx:postprocess/ /ctx:job *** ctx-flags.ctx *** ?xml version='1.0' standalone='yes'? ctx:flagtexengine=luatex/ctx:flag ctx:flaginterface=en/ctx:flag ctx:flagresult=ctx-modes/ctx:flag *** ctx-modes1.ctx *** ?xml version='1.0' standalone='yes'? ctx:modemode1a/ctx:mode

Re: [NTG-context] Multicolumn itemizations - again...

2008-11-06 Thread Hans Hagen
in use. What's going on? Before anyone asks me for an example, here it is: http://wiki.contextgarden.net/User:Mbork (the last part) concerning the intro ... mixed one-two column modes are somewhat tricky and have limitations (if only because tex itself has no concept of columns); when mkiv

Re: [NTG-context] issue with imposition

2009-01-19 Thread Henning Hraban Ramm
of imposition. Sorry, can't help you with that. Perhaps you can utilize a tool like pdftrim? Or define your paper height as max. 210mm at all - if you need it in trimmed imposed form as well as as single pages, consider modes with different layouts. If you try to impose a non-ConTeXt

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

2009-01-31 Thread Wolfgang Schuster
layout features, but capture the rendered slide in a box so I can use it either as a full page in the presentation output or as a scaled image included as a figure in a full text train the trainer document. Why don't you include the pages from the finished pdf, with ConTeXt's modes

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

2009-01-31 Thread Kevin D. Robbins
in the presentation output or as a scaled image included as a figure in a full text train the trainer document. Why don't you include the pages from the finished pdf, with ConTeXt's modes it is possible to wrote both parts in one document and create two files. Wolfgang

Re: [NTG-context] chapter page question

2009-02-14 Thread Alan Stone
} {\setuplayouttext [\v!hea... \firstoftwoarguments #1#2-#1 ... l.23 ...apter #1}\dorecurse{20}{\input knuth\par}} ? context.cmd --modes=a test Alan On Sat, Feb 14, 2009 at 7:28 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 14.02.2009 um 19:17

Re: [NTG-context] \itemize[random] does not work

2009-02-27 Thread Aditya Mahajan
in the order I entered them in (i.e., not a random permutation); is it possible to do that in a way other than going and taking out the random from each itemize environment? Use modes: \defineitemgroup[choices] \startmode[random] \setupitemgroup[choices][1][random] \nextrandom % to get rid

[NTG-context] How to use local setups in selected components of a project only

2010-08-09 Thread Elias Oltmanns
Hi all, it has been suggested on this list before, that people should use modes instead of \localenvironment and friends. Unfortunately, I don't seem to get either of them working as expected. Consider the following example: % project.tex \startproject project \environment environ \component

Re: [NTG-context] other markup to ConTeXt

2010-08-13 Thread Gour D.
On Fri, 13 Aug 2010 22:35:04 +0200 Henning == Henning Hraban Ramm hra...@fiee.net wrote: Henning Sounds interesting. What's your workflow? Do you use a special Henning editor (WYSIWYM?) for your markup? Writing markdown/reST in Emacs which has nice modes for both markup formats. (There is even

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

2010-10-17 Thread Aditya Mahajan
, system modes cannot be reset using \(enable|disable)mode. Aditya___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo

Re: [NTG-context] Second Try for help using Windows 7 Winedt6.0 MiKTeX 2.9 to process ConTeXt

2010-11-19 Thread Ulrike Fischer
with winedt you only need to set in the execution modes context.exe as the executable for context. The problem of Barney is that for some reason the doc-folders are in the context search pathes, e.g. I:\Z-Testcontext mathtest.tex ... This is LuaTeX, Version beta-0.60.2-2010100221 (MiKTeX 2.9) (rev

Re: [NTG-context] Second Try for help using Windows 7 Winedt6.0 MiKTeX 2.9 to process ConTeXt

2010-11-19 Thread Hans Hagen
this advice. Well: no to get context mkiv running with winedt you only need to set in the execution modes context.exe as the executable for context. context.exe is just a stub that effectively calls mtxrun.exe --script context so that's why I suggested it as it might be that there is no context.exe

[NTG-context] New Release Winedt WORKS with MKIV!!

2010-11-21 Thread barney schwartz
for ConTeXt in WinEdt's Execution Modes is set context.exe (instead of old texexec.exe)... If you (really!?) want to use old ConTeXt Mark II you will have modify the menu item for ConTeXt to call: ConTeXt_old.edt instead of ConTeXt.edt News.txt gives the details (read

Re: [NTG-context] New Release Winedt WORKS with MKIV!!

2010-11-22 Thread Mojca Miklavec
older version of WinEdt make sure that the executable for ConTeXt in WinEdt's Execution Modes is set context.exe (instead of old texexec.exe)... Just thought I would post this here for other Winedt users. Thanks a lot for this notice (and thanks to Ulrike for debugging). This is indeed very nice

Re: [NTG-context] New Release Winedt WORKS with MKIV!!

2010-11-23 Thread Idris Samawi Hamid ادريس سماوي حامد
). If you are upgrading from older version of WinEdt make sure that the executable for ConTeXt in WinEdt's Execution Modes is set context.exe (instead of old texexec.exe)... I used winedt for years, and turning it into a full-fledged dedicated ConTeXt editor would not be hard ... I had to leave

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

2010-11-25 Thread Hans Hagen
[currentmainlanguage]' or something like 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. it's not so hard to interface that but we need

Re: [NTG-context] ConTeXt beta in MikTeX

2010-12-22 Thread Ulrike Fischer
Am Wed, 22 Dec 2010 12:38:49 +0100 schrieb Hans Hagen: 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

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

2011-01-07 Thread Hans Hagen
On 7-1-2011 9:32, Procházka Lukáš Ing. - Pontex s. r. o. wrote: - Modes are accessible by tex.modes[a-mode]. indeed - - tex.modes are 'false' by default. I.e. they are not 'nil' but 'false', even if not specified on the command line. (tex.mode.__newindex predefined to this purpose

Re: [NTG-context] EPUB workflow from ConTeXt source?

2011-02-17 Thread Hans Hagen
document viewing and having lots of secret failover modes to handle poorly formatted documents makes the structure less meaningful than it ought to be. You are free to break your document into as many HTML chunks as you wish, but you are limited to fairly prosaic HTML and CSS. I'm of the impression

Re: [NTG-context] +tlig fails sometimes in mkiv

2011-03-10 Thread Hans Hagen
On 5-3-2011 5:24, Ulrike Fischer wrote: 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

Re: [NTG-context] + in file names

2011-03-15 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello - 2011/3/14 Peter Münster pmli...@free.fr Vedran Miletić riva...@gmail.com 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

Re: [NTG-context] open doc action / for john

2003-09-09 Thread Peter Rolf
John Culleton wrote: On Thursday 24 April 2003 02:36, Hans Hagen wrote: Hi Jonh C wants to know how to open a doc in specific modes: \setupinteraction[openaction={firstpage,FitHeight},state=start] % or FitWidth \starttext \input tufte \stoptext I am returning to this project

Re: [NTG-context] Re: scite

2003-09-30 Thread Hans Hagen
to scite (I wonder what this could be) or emacs and ConTeXt? I meant emacs as an editor for ConTeXt. If you mean emacs - ConTeXt there are two modes. One from Berend de Boer based on emacs' original tex-mode and AUCTeX with ConTeXt support. You need the current cvs-version of AUCTeX for this. Thanks

Re: [NTG-context] pagination bug

2004-05-26 Thread Hans Hagen
column modes \def\endmulticolumns {%\par \vskip\lineheight\vskip-\lineheight % take footnotes into account \dontshowcomposition \doflushcolumnfloat % added recently %\doflushcolumnfloats % no, since it results in wrong top floats \flushnotes % before start of columns

Re: [NTG-context] \presentationstep

2004-11-02 Thread David Munger
? You can use --mode=something switch only for environments like \startmode[something] \stopmode[something] \startnotmode[something] \stopnotmode[something] See the wiki: http://contextgarden.net/Modes But probably you're looking for: http://contextgarden.net

Re: [NTG-context] 2 Slides per Page

2004-11-18 Thread Vit Zyka
processing by modes \doifmodeelse{print} {...print stuff...} {...screen stuff...} Regards, Vit Zyka Can someonw show me how to do this? Thanks. ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context -- Vít Zýka

Re: [NTG-context] Buggy source code-- references disappears when I put sections and If I put subjects, \completecontent has void list.

2009-08-12 Thread Hans Hagen
with the last subsubsubject changed to subsubsection and you will see that there are a lot of warnings as a start: (1) the loop in mkiv ... something fishy with lastnode; temp solution: \let\removeunwantedspaces\relax (2) fix your bib file (. outside ) (3) check math modes: \startmytheorem Per

Re: [NTG-context] Buggy source code-- references disappears when I put sections and If I put subjects, \completecontent has void list.

2009-08-13 Thread Xan
) check math modes: \startmytheorem Per a tota presentació {\cal P} = \langle X \mid R \rangle, $\iota(X)$ genera $G({\cal P})$. Thanks another time. How do you do this check?. What tool do you use? Is there any tool for checking math mode? Even after fix these errors, I get the same warning

Re: [NTG-context] Buggy source code-- references disappears when I put sections and If I put subjects, \completecontent has void list.

2009-08-13 Thread Xan
) A typo, thanks. (3) check math modes: \startmytheorem Per a tota presentació {\cal P} = \langle X \mid R \rangle, $\iota(X)$ genera $G({\cal P})$. Thanks another time. How do you do this check?. What tool do you use? Is there any tool for checking math mode? Even after fix these errors, I

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

2009-09-20 Thread Peter Münster
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 are already very nice, but often I need just one value for conditional

Re: [NTG-context] mkiv vs. mkii

2009-09-26 Thread Taco Hoekwater
are the advantages and disadvantages of using it? When should you use it? Mark IV has two font processing modes, 'base' and 'node'. In base mode, the font metrics are transformed into a traditional tfm-style table, which means that all kerning and ligaturing is handled by the core luatex engine

Re: [NTG-context] Usage of filename in document

2009-11-05 Thread Peter Münster
on the called filename. Hello Martin, As already posted, modes are good for binary switches. Often, I extract some values from the filename, that are used in the text, here is a simple example: \def\ResultName{\systemparameter{file}} % only to show, that a special filename can trigger a mode

Re: [NTG-context] TeX as an eBook engine?

2009-12-03 Thread luigi scarso
the horse. Not really. With mkiv you can typeset xml files as pdf, so you can also (using modes) convert it to xhtml (we have lua now). Writing a css is not a problem, and you can also manage fonts -- after all you know them because you need for pdf . Other infos are trivial. Following this route you

Re: [NTG-context] TeX as an eBook engine?

2009-12-03 Thread William Adams
On Dec 3, 2009, at 8:22 AM, luigi scarso wrote: Not really. My apologies, lost the thread of the discussion. I agree w/ this. With mkiv you can typeset xml files as pdf, so you can also (using modes) convert it to xhtml (we have lua now). Writing a css is not a problem, and you can also

Re: [NTG-context] MK II ( \mainlanguage[fr] \useencoding[ffr] )+ mpost

2009-12-03 Thread Hans Hagen
already some modes) And the last question of the day ;) : … expends to . . . with french. Could that be easily corrected? probably, but first i want proper specs on which most french users agree (so i do an extra cc to arthur who is sort of in charge of the french tex users) (This flow

<    1   2   3   4   5   6   7   >