Re: [NTG-context] How to disable page numbers in empty pages

2009-05-26 Thread Alan Stone
On Mon, May 25, 2009 at 11:43 PM, Khaled Hosny khaledho...@eglug.orgwrote: On Fri, May 22, 2009 at 12:04:08PM +0200, Alan Stone wrote: On Fri, May 22, 2009 at 11:42 AM, Khaled Hosny khaledho...@eglug.org wrote: How can I disable page numbers (or header/footer) in empty pages

Re: [NTG-context] How to disable page numbers in empty pages

2009-05-26 Thread Alan Stone
On Tue, May 26, 2009 at 3:12 PM, Khaled Hosny khaledho...@eglug.org wrote: On Tue, May 26, 2009 at 10:53:30AM +0200, Alan Stone wrote: \setupsectionblock[bodypart][page=yes] \setupmakeup[standard][page=empty] \definepagebreak [mychapterpagebreak] [yes,header,footer,right

Re: [NTG-context] How to disable page numbers in empty pages

2009-05-22 Thread Alan Stone
On Fri, May 22, 2009 at 11:42 AM, Khaled Hosny khaledho...@eglug.orgwrote: How can I disable page numbers (or header/footer) in empty pages, as page 2 in the following example: \setuppagenumbering[alternative=doublesided] \starttext \chapter{one} \input tufte \chapter{two} \input tufte

Re: [NTG-context] MP newbie question

2009-05-19 Thread Alan Stone
On Mon, May 18, 2009 at 8:45 PM, Alan Stone software.list.1e...@gmail.comwrote: Hi, How do you make this work ? --- mpframed.tex --- %\def\myFrameAlternative{line} %\def\myFrameAlternative{dashes} \def\myFrameAlternative{dots} The MetaPost User Manual brought the answer... %\def

Re: [NTG-context] New structure ...

2009-05-19 Thread Alan Stone
{\externalfigure[XY\currentheadnumber][width=0.5\textwidth]} ^ Alan On Tue, May 19, 2009 at 11:41 AM, Willi Egger w.eg...@boede.nl wrote: Hi all, I should call the current head number in a figure. I am getting the following error: !

Re: [NTG-context] New structure ...

2009-05-19 Thread Alan Stone
On Tue, May 19, 2009 at 5:17 PM, Willi Egger w.eg...@boede.nl wrote: Don't worry, Holland is still fine... But the problem I refer to is not in the dimension whether or not it is spelled correcltly. The error is still the same: ! Undefined control sequence. argument

Re: [NTG-context] replacing words by underlines

2009-05-18 Thread Alan Stone
At Saturday 24/01/2009 21:07, you wrote: Am 24.01.2009 um 19:00 schrieb Alan Stone: Hi, In the underneath example, how do you get each word replaced by an underline ? Or, if not possible, underlined word groups with correct underline breaks for multi-line phrases. \def\doUnderlineD#1

[NTG-context] MP newbie question

2009-05-18 Thread Alan Stone
Hi, How do you make this work ? --- mpframed.tex --- %\def\myFrameAlternative{line} %\def\myFrameAlternative{dashes} \def\myFrameAlternative{dots} \startuniqueMPgraphic{name} path p ; p := unitsquare xscaled \overlaywidth yscaled \overlayheight ; show (\myFrameAlternative) ; if

[NTG-context] page area state evaluation

2009-04-24 Thread Alan Stone
Can this be done (see previous message below) ? Alan On Fri, Apr 17, 2009 at 11:03 AM, Alan Stone software.list.1e...@gmail.comwrote: Hi, How do you evaluate, for example, a page's header state (normal, start, stop, empty, high, none, nomarking, name) in order to if header state = x do

[NTG-context] page area state evaluation

2009-04-17 Thread Alan Stone
Hi, How do you evaluate, for example, a page's header state (normal, start, stop, empty, high, none, nomarking, name) in order to if header state = x do this else do that endif Thanks, Alan ___ If your question is

[NTG-context] button alignment question

2009-04-14 Thread Alan Stone
Hi, How do you keep the footer buttons between the footer's top and bottom ? \showframe \def\myHeaderButton{\interactionbuttons[width=2cm,height=\headerheight][OK]} \def\myFooterButton{\interactionbuttons[width=2cm,height=\footerheight][OK]} \setupinteraction[state=start]

[NTG-context] extending setuppagenumbering's location to top bottom

2009-04-12 Thread Alan Stone
Hi, How do you extend setuppagenumbering's location key with a top and bottom option ? There's setup(top/bottom)texts[.1.][pagenumber][pagenumber] however setupagenumbering offers more page numbering options. Thanks Happy Easter. Alan

Re: [NTG-context] Affiliation change

2009-04-02 Thread Alan Stone
On Thu, Apr 2, 2009 at 10:20 AM, luigi scarso luigi.sca...@gmail.comwrote: well, if it helps you to calm doen, i can let you know that luatex now reports a \badness of 2 when you typeset the word 'taco' ok , but it's not enough How about... http://en.wikipedia.org/wiki/Infinite ?

Re: [NTG-context] FontSite's CombiNumerals Pro

2009-04-02 Thread Alan Stone
On Wed, Apr 1, 2009 at 4:20 PM, Alan Stone software.list.1e...@gmail.comwrote: Re: http://www.fontsite.com/dev/fonts-c-e/combinumerals-pro-v5-win/ Character charts: http://www.fontsite.com/dev/wp-content/uploads/2008/12/cnp5.pdf Char a Dec 97 Hex 61 Glyph round circled 10 I'm

Re: [NTG-context] Affiliation change

2009-04-02 Thread Alan Stone
On Thu, Apr 2, 2009 at 10:37 AM, luigi scarso luigi.sca...@gmail.comwrote: Oh and authors of the manual, would you please add this to it - in a separate chapter ? ;O) +1 in perpetual memory (anyway it's not enough) Hmmm... Add a line About Taco to the Welcome section of

Re: [NTG-context] Affiliation change

2009-04-02 Thread Alan Stone
On Thu, Apr 2, 2009 at 3:01 PM, Taco Hoekwater t...@elvenkind.com wrote: Henning Hraban Ramm wrote: Am 2009-04-02 um 10:47 schrieb Hans Hagen: Looks like I owe Luigi a beer (for which he will have to attend the meeting, of course). ok, two beers than (since dutch beers are half the

Re: [NTG-context] \doifmodeselse?

2009-04-02 Thread Alan Stone
On Thu, Apr 2, 2009 at 6:01 PM, Gerben Wierda gerben.wie...@rna.nl wrote: Using --mode or --modes with texexec sets up modes which can be used in the files to parse different parts. For that I use \doifmodeelse{}{}{} But combining various modes in one \doiffmodeelse would be handy. e.g.

Re: [NTG-context] \doifmodeselse?

2009-04-02 Thread Alan Stone
For your information... http://www.pragma-ade.com/general/manuals/mmodes.pdf Alan On Thu, Apr 2, 2009 at 6:28 PM, Alan Stone software.list.1e...@gmail.comwrote: On Thu, Apr 2, 2009 at 6:01 PM, Gerben Wierda gerben.wie...@rna.nlwrote: Using --mode or --modes with texexec sets up modes which

Re: [NTG-context] Affiliation change

2009-04-01 Thread Alan Stone
On Wed, Apr 1, 2009 at 8:33 PM, Taco Hoekwater t...@elvenkind.com wrote: Hello everybody, This message is to inform you all that as of today, I am no longer an employee of Elvenkind BV, the company where I have worked for during the past years. Working for Elvenkind has been a pleasure,

[NTG-context] How do you get this in the ToC ?

2009-03-31 Thread Alan Stone
Dear ConTeXt Gang, In the example below, how do you get Text Page One in the table of contents ? \starttext \startstandardmakeup Title Page \stopstandardmakeup \startstandardmakeup Text Page One \stopstandardmakeup \startstandardmakeup Text Page Two \stopstandardmakeup \startfrontmatter

Re: [NTG-context] How do you get this in the ToC ?

2009-03-31 Thread Alan Stone
On Tue, Mar 31, 2009 at 6:58 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 31.03.2009 um 18:23 schrieb Alan Stone: Dear ConTeXt Gang, In the example below, how do you get Text Page One in the table of contents ? \writetolist / \writebetweenlist Thanks

Re: [NTG-context] initial view of PDF

2009-03-24 Thread Alan Stone
On Tue, Mar 24, 2009 at 10:14 AM, Vyatcheslav Yatskovsky yatskov...@gmail.com wrote: Hello, How to set initial view of PDF document to 'fit page'? You might get some inspiration from this thread Vyatcheslav... *http://archive.contextgarden.net/message/20030409.181638.f586b7ab.fr.html* as

Re: [NTG-context] typescript repository

2009-03-24 Thread Alan Stone
Zuuuper idee! Alan On Mon, Mar 23, 2009 at 9:30 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Hi all, what do think about a page with typescript files for good quality free fonts, we have a few typescripts on the wiki but you have to copy them first in your document or

Re: [NTG-context] CoTeXtgarden is down

2009-03-24 Thread Alan Stone
The mailing list archive too. :O( On Tue, Mar 24, 2009 at 5:05 PM, Henning Hraban Ramm hra...@fiee.netwrote: Ahoi, since some hours the garden server doesn't respond on http or rsync. Could you please look after it? Greetlings, Hraban

Re: [NTG-context] CoTeXtgarden is down

2009-03-24 Thread Alan Stone
On Tue, Mar 24, 2009 at 5:23 PM, Alan Stone software.list.1e...@gmail.comwrote: The mailing list archive too. :O( Oops... that one's on the same server. Meanwhile, alternative here: http://news.gmane.org/gmane.comp.tex.context Alan On Tue, Mar 24, 2009 at 5:05 PM, Henning Hraban

Re: [NTG-context] font switching questions

2009-03-23 Thread Alan Stone
2009/3/19 Wolfgang Schuster schuster.wolfg...@googlemail.com: Am 18.03.2009 um 16:26 schrieb Alan Stone: On Wed, Mar 18, 2009 at 9:23 AM, Hans Hagen pra...@wxs.nl wrote: (there's also Normal, Bold etc that is even more generic in the sense that it can be sans or serif depending

Re: [NTG-context] font switching questions

2009-03-19 Thread Alan Stone
On Wed, Mar 18, 2009 at 5:03 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: [...] ... it's explained in the fonts manual and in the new ConTeXt manual. The most important thing I understand from reading the fonts manual and the ConTeXt manual's old and new font chapter for the

Re: [NTG-context] font switching questions

2009-03-19 Thread Alan Stone
On Thu, Mar 19, 2009 at 4:24 PM, Taco Hoekwater t...@elvenkind.com wrote: Alan Stone wrote: The most important thing I understand from reading the fonts manual and the ConTeXt manual's old and new font chapter for the n-th time (lost count), is that explaining fonts and their use

Re: [NTG-context] font switching questions

2009-03-19 Thread Alan Stone
On Thu, Mar 19, 2009 at 4:29 PM, Hans Hagen pra...@wxs.nl wrote: Alan Stone wrote: Are fonts like men, or like women ?  ;O) fonts are simply complex ... Ok, they're like women then. Alan - no real consistency (esp in names) - complicted by the fact that we want (in tex) some coherent

Re: [NTG-context] font switching questions

2009-03-18 Thread Alan Stone
On Tue, Mar 17, 2009 at 11:27 PM, Hans Hagen pra...@wxs.nl wrote: Alan Stone wrote: Ahoi, Following a previous discussion, I've been advised to try to avoid \switchtobodyfont and use \definedfont or \definefont instead. what is better depends on the situation - for a structured

Re: [NTG-context] font switching questions

2009-03-18 Thread Alan Stone
On Wed, Mar 18, 2009 at 9:23 AM, Hans Hagen pra...@wxs.nl wrote: Alan Stone wrote: [...] Which low level command allows to fill in \definefont[SomeFont][SomeSynonym sa SomeScale] with SomeSynonym=Sans(X)/Serif(X) (X)=Bold/Italic, i.e. regardless of the synonym's name (defined

Re: [NTG-context] font switching questions

2009-03-18 Thread Alan Stone
On Wed, Mar 18, 2009 at 9:23 AM, Hans Hagen pra...@wxs.nl wrote: [...] (there's also Normal, Bold etc that is even more generic in the sense that it can be sans or serif depending of the situation) these symbolic names are there for a reason as i never want to see hard coded font names

Re: [NTG-context] font switching questions

2009-03-18 Thread Alan Stone
On Wed, Mar 18, 2009 at 9:23 AM, Hans Hagen pra...@wxs.nl wrote: (there's also Normal, Bold etc that is even more generic in the sense that it can be sans or serif depending of the situation) Re. code in attachment Why is the font output not correct when using

Re: [NTG-context] Which revision control system do you use?

2009-03-17 Thread Alan Stone
Can these thingies also be used for document version/revision control also or are they software dedicated ? If not, what's more appropriate for document version control ? Thanks in advance. Alan On Mon, Mar 16, 2009 at 9:56 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Hi

Re: [NTG-context] Is there anything like developer's manual for ConTeXt?

2009-03-17 Thread Alan Stone
On Tue, Mar 17, 2009 at 2:55 AM, Wei-Wei Guo wwgu...@gmail.com wrote: Hi everyone, Hi Wei-Wei, Please enjoy what's underneath and give yourself a second chance to reconsider your point of view... After fighting with ConTeXt one month, Those who live are those who fight. - Victor Hugo I

Re: [NTG-context] new beta

2009-03-17 Thread Alan Stone
On Tue, Mar 17, 2009 at 11:49 AM, Hans Hagen pra...@wxs.nl wrote: Hi, In the process of a major cleanup and code split I uploaded a beta. Some important changes are: - initialization code is ready for upcoming luatex - language files have been cleaned up - core-table stuff is renamed to

[NTG-context] font switching questions

2009-03-17 Thread Alan Stone
Ahoi, Following a previous discussion, I've been advised to try to avoid \switchtobodyfont and use \definedfont or \definefont instead. (1) What's the difference between \definefont and \definedfont ? (2) In the underneath example... (2a) how to implement \define(d)font for font switching ?

Re: [NTG-context] horoffset singlesided/doublesided

2009-03-16 Thread Alan Stone
On Sun, Mar 15, 2009 at 9:49 PM, Alan Stone software.list.1e...@gmail.comwrote: Hi, \showframe \setuplayout[width=.65\paperwidth,hoffset=1cm,margin=0cm] \setuphead[chapter][page=right] typo: horoffset, instead of hoffset Alan

[NTG-context] horoffset singlesided/doublesided

2009-03-15 Thread Alan Stone
Hi, \showframe \setuplayout[width=.65\paperwidth,hoffset=1cm,margin=0cm] \setuphead[chapter][page=right] %\setuppagenumbering[alternative=singlesided] % horoffset_ss.pdf \setuppagenumbering[alternative=doublesided] % horoffset_ds.pdf \starttext \dorecurse{2}{\chapter{Chapter

Re: [NTG-context] What does \c! means?

2009-03-14 Thread Alan Stone
On Sat, Mar 14, 2009 at 5:32 AM, Wei-Wei Guo wwgu...@gmail.com wrote: Dear all, I'm reading the source file of t-bib. I find there are lots of '\c!', '\s!', and '\v!'. What do they mean? I searched in wiki, TeXBook, ConTeXt manual, TeX impatient, and mail list. Those commands appear some

Re: [NTG-context] paragraph question (the return :O)

2009-03-13 Thread Alan Stone
Schuster schuster.wolfg...@googlemail.com wrote: Am 10.03.2009 um 18:14 schrieb Alan Stone: I still say it's not a very good idea to do this In order to make an informed decision, what are you refering to Wolfgang ? Your \EveryPar hackery. What is it about it that it's a bad idea ? Who

Re: [NTG-context] paragraph question (the return :O)

2009-03-11 Thread Alan Stone
Thanks Wolfgang. Digging into some TeX books to understand how and why these fixes work... Alan On Tue, Mar 10, 2009 at 6:32 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 10.03.2009 um 18:14 schrieb Alan Stone: I still say it's not a very good idea to do

[NTG-context] titles question

2009-03-11 Thread Alan Stone
With \setuphead[section][number=yes/no] how do you test whether what's being typeset is in a section or not ? Using \determineheadnumber[section] \currentheadnumber is only relevant when number=yes. -- Alan ___ If

[NTG-context] paragraph question (the return :O)

2009-03-10 Thread Alan Stone
Hi, Re: files in attachment Why is step 3 typeset in chapter 2's first paragraph instead of chapter 1's first paragraph and how to correct ? -- Alan countlines.tex Description: TeX document countlines.pdf Description: Adobe PDF document

Re: [NTG-context] paragraph question (the return :O)

2009-03-10 Thread Alan Stone
On Tue, Mar 10, 2009 at 4:35 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: I still say it's not a very good idea to do this In order to make an informed decision, what are you refering to Wolfgang ? but here is a fixed version of your macros. You should always take care to

Re: [NTG-context] paragraph question (the return :O)

2009-03-10 Thread Alan Stone
On Tue, Mar 10, 2009 at 5:46 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 10.03.2009 um 17:35 schrieb Alan Stone: On Tue, Mar 10, 2009 at 4:35 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: I still say it's not a very good idea to do this In order

Re: [NTG-context] paragraph question

2009-03-06 Thread Alan Stone
Another idea... How do you make this line counter work ? \newcount\parnumber \newcount\linenumber \def\myCounters{% \EveryPar{% \advance\parnumber by 1 (P\the\parnumber) \EveryLine{% % (L\the\prevgraf)}} \advance\linenumber by 1 (L\the\linenumber)}

Re: [NTG-context] paragraph question

2009-03-06 Thread Alan Stone
On Fri, Mar 6, 2009 at 3:05 PM, Hans Hagen pra...@wxs.nl wrote: [...] \startlinenumbering \input tufte \stoplinenumbering Ok, my question was a bit ambiguous... I was not looking to number lines, but to count lines using EveryLine within EveryPar, aka the paragraph counter \parnumber in the

Re: [NTG-context] paragraph question

2009-03-05 Thread Alan Stone
How do you invoke a command at the end of a paragraph ? Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] paragraph question

2009-03-05 Thread Alan Stone
How do you invoke a command at the end of a paragraph ? there is no hook for that (apart from adding a \endofpar command or whatever to every paragraph From TeX for the Impatient... --- \prevgraf [ number parameter ] In horizontal mode, this

Re: [NTG-context] paragraph question

2009-03-05 Thread Alan Stone
Thanks Wolfgang, however I'm looking for a solution without adding additional commands to the text source. Requires to switch to the LuaTeX list ? Alan On Thu, Mar 5, 2009 at 2:44 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 05.03.2009 um 14:25 schrieb Alan Stone: After

Re: [NTG-context] paragraph question

2009-03-05 Thread Alan Stone
On Thu, Mar 5, 2009 at 5:09 PM, Hans Hagen pra...@wxs.nl wrote: Alan Stone wrote: Thanks Wolfgang, however I'm looking for a solution without adding additional commands to the text source. Requires to switch to the LuaTeX list ? that does not help you as taco and i are on both lists i

Re: [NTG-context] paragraph question

2009-03-04 Thread Alan Stone
How do you access the first paragraph of each chapter ? ... to calculate its number of lines ? If not possible with ConTeXt commands, is this possible with LuaTeX commands? Alan On Tue, Mar 3, 2009 at 12:49 PM, Alan Stone software.list.1e...@gmail.com wrote: Hi, How do you access

Re: [NTG-context] paragraph question

2009-03-04 Thread Alan Stone
On Wed, Mar 4, 2009 at 5:33 PM, Hans Hagen pra...@wxs.nl wrote: Alan Stone wrote: How do you access the first paragraph of each chapter ? to calculate its number of lines ? If not possible with ConTeXt commands, is this possible with LuaTeX commands? there is support for positional

[NTG-context] paragraph question

2009-03-03 Thread Alan Stone
Hi, How do you access the first paragraph of each chapter ? I guess with... \setuphead[chapter][after=\PlayWithFirstParagraph] \def\PlayWithFirstParagraph... How to fill in the dots ? Alan ___ If your question is

[NTG-context] t-lettrine question

2009-03-02 Thread Alan Stone
Hi, Thanks a lot to Taco for the very handy lettrine module. How do you make it automatically drop cap the first word of each chapter ? -- Alan ___ If your question is of interest to others as well, please add an

Re: [NTG-context] t-lettrine question

2009-03-02 Thread Alan Stone
On Mon, Mar 2, 2009 at 12:13 PM, Taco Hoekwater t...@elvenkind.com wrote: Alan Stone wrote: Hi, Thanks a lot to Taco for the very handy lettrine module. How do you make it automatically drop cap the first word of each chapter ? I don't think you can. How about cooking up something

Re: [NTG-context] Can't compile LuaTeX beta 0.35.0 (on OS X)

2009-02-26 Thread Alan Stone
On Wed, Feb 25, 2009 at 12:15 PM, Thomas A. Schmitz thomas.schm...@uni-bonn.de wrote: It compiles normally here (10.5.6, Intel). Hasn't Mojca added the binary to the minimals? We really should cut her bonus at the end of the year :-) Mojca, if I may, a precious tip regarding your end of

[NTG-context] \usemodule question

2009-02-26 Thread Alan Stone
Doesn't \usemodule issue a search in parent directories when the module is not found in the working directory ? \usemodule[t-lettrine] \starttext \lettrine{A}{bc} defgh \stoptext When putting t-lettrine.tex in the same directory as the above test file it works, when putting it in the parent

Re: [NTG-context] \usemodule question

2009-02-26 Thread Alan Stone
-lettrine.tex READY luatools.cmd --locate t-lettrine.tex READY Alan On Thu, Feb 26, 2009 at 12:11 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 26.02.2009 um 11:55 schrieb Alan Stone: Doesn't \usemodule

Re: [NTG-context] slower access to ConTeXt generated pdfs in Windows Vista

2009-02-25 Thread Alan Stone
It was an Adobe Reader issue. This helped eliminating the nagging window... Cancel preparing untagged document for reading http://www.acrobatusers.com/forums/aucbb/viewtopic.php?id=2478 Alan On Tue, Feb 24, 2009 at 10:34 PM, Alan Stone software.list.1e...@gmail.comwrote: On Tue, Feb 24, 2009

Re: [NTG-context] slower access to ConTeXt generated pdfs in Windows Vista

2009-02-24 Thread Alan Stone
It's a portable with Intel Core Duo CPU P8400 2.26 GHz, 4Gb memory. Alan On Tue, Feb 24, 2009 at 12:30 AM, Hans Hagen pra...@wxs.nl wrote: Alan Stone wrote: When opening ConTeXt generated pdf's in Windows Vista, a message window pops up saying something as (translated to english

Re: [NTG-context] slower access to ConTeXt generated pdfs in Windows Vista

2009-02-24 Thread Alan Stone
On Tue, Feb 24, 2009 at 2:23 PM, Hans Hagen pra...@wxs.nl wrote: Alan Stone wrote: It's a portable with Intel Core Duo CPU P8400 2.26 GHz, 4Gb memory. hm, then rendering shoul dbe ok; maybe there is something special with your documents Wouldn't know what's so special about them: picture

[NTG-context] (Lua)TeX runs

2009-02-23 Thread Alan Stone
Hello, Where can I find a description of what happens between (Lua)TeX runs ? Thanks, Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] (Lua)TeX runs

2009-02-23 Thread Alan Stone
On Mon, Feb 23, 2009 at 3:58 PM, Hans Hagen pra...@wxs.nl wrote: Alan Stone wrote: Hello, Where can I find a description of what happens between (Lua)TeX runs ? in mtx-context.lua Euh... I meant: in english. ;O) Alan

[NTG-context] reducing compile time

2009-02-23 Thread Alan Stone
- does using \doifundefined{myMacro}{...} shorten tex runs/compile time ? - what are the features to avoid for shortest compile times ? -- Alan ___ If your question is of interest to others as well, please add an

[NTG-context] slower access to ConTeXt generated pdfs in Windows Vista

2009-02-23 Thread Alan Stone
When opening ConTeXt generated pdf's in Windows Vista, a message window pops up saying something as (translated to english): - title: preparation of document contents - message: please wait while the contents of your document is being prepared + progress bar page x of total pages This doesn't

Re: [NTG-context] reducing compile time

2009-02-23 Thread Alan Stone
On Mon, Feb 23, 2009 at 6:54 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 23.02.2009 um 18:16 schrieb Alan Stone: - does using \doifundefined{myMacro}{...} shorten tex runs/compile time ? In which way? As I don't know/understand what happens between (Lua)TeX runs

Re: [NTG-context] reducing compile time

2009-02-23 Thread Alan Stone
On Mon, Feb 23, 2009 at 8:57 PM, Alan Stone software.list.1e...@gmail.comwrote: On Mon, Feb 23, 2009 at 6:54 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 23.02.2009 um 18:16 schrieb Alan Stone: - does using \doifundefined{myMacro}{...} shorten tex runs/compile time

Re: [NTG-context] strange fontswitching error

2009-02-20 Thread Alan Stone
is blank bodyfont size = 14pt, headfont size 14 pt = chapter head is blank (2) what to use instead of \definetypeface[myFont][...] to be able to write \setupbodyfont[myFont,...] and/or \switchtobodyfont[myFont,...] ? Alan On Thu, Feb 19, 2009 at 10:36 PM, Hans Hagen pra...@wxs.nl wrote: Alan

Re: [NTG-context] strange fontswitching error

2009-02-20 Thread Alan Stone
On Thu, Feb 19, 2009 at 10:36 PM, Hans Hagen pra...@wxs.nl wrote: Alan Stone wrote: Hi, BF = body font HF = head font A = arial T = times new roman V = verdana OT = 12 = 12pt OF = 14 = 14pt See comments in fontswitch.tex In attachment... - fontswitch.tex: minimal example

Re: [NTG-context] Inverted exclamation / question marks

2009-02-19 Thread Alan Stone
On Thu, Feb 19, 2009 at 12:42 AM, Pau vim.u...@googlemail.com wrote: Can you please try this? \language[es] \mainlanguage[es] \enableregime[utf-8] \starttext ¡Hola! ¿Me ves bien? \stoptext Works fine

Re: [NTG-context] TOC question

2009-02-17 Thread Alan Stone
On Mon, Feb 16, 2009 at 11:28 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 16.02.2009 um 19:22 schrieb Alan Stone: How do you get the chapter number in front of the chapter heading in the TOC, in the following example with \setuphead[chapter][number=no] ? \setuphead

Re: [NTG-context] TOC question

2009-02-17 Thread Alan Stone
On Tue, Feb 17, 2009 at 10:29 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 17.02.2009 um 09:44 schrieb Alan Stone: With number=no the current section is no longer written to the utility file and there is no way to get it in the toc. What you can do is to enable section

[NTG-context] TOC question

2009-02-16 Thread Alan Stone
Hi, How do you get the chapter number in front of the chapter heading in the TOC, in the following example with \setuphead[chapter][number=no] ? \setuplist[chapter][% alternative=b, numbercommand={\headnumber[chapter]},% this has no effect % criterium=local] criterium=chapter]

Re: [NTG-context] chapter page question

2009-02-15 Thread Alan Stone
On Sun, Feb 15, 2009 at 11:04 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: You can format the text in \definetext. \startsetups header:chapter:middle \startcolor[red] \it Chapter page \stopcolor \stopsetups

[NTG-context] chapter page question

2009-02-14 Thread Alan Stone
Hi, What's the way to test whether a page is a (start of a new) chapter page ? Didn't find it onoffline. -- Best, Alan ___ If your question is of interest to others as well, please add an entry to the Wiki!

Re: [NTG-context] chapter page question

2009-02-14 Thread Alan Stone
On Sat, Feb 14, 2009 at 11:57 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 14.02.2009 um 11:46 schrieb Alan Stone: What's the way to test whether a page is a (start of a new) chapter page ? Didn't find it onoffline. Why and for what do you need this information

Re: [NTG-context] chapter page question

2009-02-14 Thread Alan Stone
14.02.2009 um 14:14 schrieb Alan Stone: \setupheadertexts[\doifoddpageelse{right page}{left page}] \definetext[chapter][header][chapter page] % The \definetext command works like \setup(header/footer/...)texts and % has 3–7 arguments, the first argument is a keyword (you can use whatever

Re: [NTG-context] chapter page question

2009-02-14 Thread Alan Stone
schuster.wolfg...@googlemail.com wrote: Am 14.02.2009 um 15:33 schrieb Alan Stone: Ahaaa... thanks for clearing up the mist. So that makes... \definetext[text for header/text/footer area][header/text/footer][edge/margin/text][left][right] What are arguments 6 and 7 for ? To set

Re: [NTG-context] chapter page question

2009-02-14 Thread Alan Stone
The underneath example works with \def\myHeader{\iftuut chapter\else high\fi} How do you make it work with\def\myHeader{\doifmodelse{a}{chapter}{high}} ? ( without resorting to \doifmodeelse{a}{\tuuttrue}{\tuutfalse} ) \showframe \newif\iftuut %\tuuttrue \tuutfalse

Re: [NTG-context] chapter page question

2009-02-14 Thread Alan Stone
schrieb Alan Stone: The underneath example works with \def\myHeader{\iftuut chapter\else high\fi} How do you make it work with\def\myHeader{\doifmodelse{a}{chapter}{high}} ? ( without resorting to \doifmodeelse{a}{\tuuttrue}{\tuutfalse} ) [...] ! Undefined control sequence. \myHeader

Re: [NTG-context] chapter page question

2009-02-14 Thread Alan Stone
, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 14.02.2009 um 12:57 schrieb Alan Stone: What's the way to test whether a page is a (start of a new) chapter page ? Didn't find it onoffline. Why and for what do you need this information? To put different text in the margin/edge

[NTG-context] centering fit question

2009-02-13 Thread Alan Stone
Hello, In the underneath example, the only way I found to have everything horizontally and vertically centered in the text and margin header, as well as fit into the margin header, is as follows: \setuplayout[margin=3cm] \showframe \def\myText{% % \hfill some text \hfill} %\starthiding

Re: [NTG-context] centering fit question

2009-02-13 Thread Alan Stone
On Fri, Feb 13, 2009 at 8:21 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 13.02.2009 um 16:03 schrieb Alan Stone: Hello, In the underneath example, the only way I found to have everything horizontally and vertically centered in the text and margin header, as well

[NTG-context] \doif(not)empty(else)

2009-02-08 Thread Alan Stone
Hi, Re: http://wiki.contextgarden.net/System_Macros/Branches_and_Decisions What kind of emptyness do \doifempty, \doifnotempty, \doifemptyelse test ? \def\ISay{} %\def\ISay{Boe!} \starttext \doifemptyelse{\ISay}{I say sht}{I say \ISay} \blank \doif{\ISay}{}{I say sht}

[NTG-context] setuphead question

2009-01-29 Thread Alan Stone
Hello, In the example below... %\def\myCommand#1#2{} \def\myCommand#1#2{#1 #2} %\def\myCommand{} \setuphead[chapter] [number=yes, align=middle, % anyotherparameter=whatever, command=\myCommand] %command=] \starttext

Re: [NTG-context] Dimensions

2009-01-27 Thread Alan Stone
On Mon, Jan 26, 2009 at 9:32 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 26.01.2009 um 20:12 schrieb Alan BRASLAU: The syntax of \dimexpr and \numexpr is subtle and mysterious. For example, \framed[width=.61\textwidth,height=\dimexpr.61\textwidth*1486/1200\relax]{}

Re: [NTG-context] [Fwd: PV126: typographic programming course info (fwd)]

2009-01-26 Thread Alan Stone
Hi, Just in case... has this nevertheless been recorded ? If not, is there another way to access this course ? Thanks, Alan On Mon, Dec 1, 2008 at 12:09 PM, Yue Wang yuleo...@gmail.com wrote: On Mon, Dec 1, 2008 at 5:22 PM, Hans Hagen pra...@wxs.nl wrote: Yue Wang wrote: Great. will the

[NTG-context] replacing words by underlines

2009-01-24 Thread Alan Stone
Hi, In the underneath example, how do you get each word replaced by an underline ? Or, if not possible, underlined word groups with correct underline breaks for multi-line phrases. \def\UnderlineA#1% {\underbars{#1}} \def\UnderlineB#1% {\underbars{\phantom{#1}}} %{\underbar{\phantom{#1}}}

Re: [NTG-context] replacing words by underlines

2009-01-24 Thread Alan Stone
Mein Hut ab für den Künstler :O) Alan On Sat, Jan 24, 2009 at 8:07 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 24.01.2009 um 19:00 schrieb Alan Stone: Hi, In the underneath example, how do you get each word replaced by an underline ? Or, if not possible

[NTG-context] number of lines ?

2009-01-22 Thread Alan Stone
Hi, Is there a command which returns the number of lines for a given portion of text ? -- Best, Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] number of lines ?

2009-01-22 Thread Alan Stone
On Thu, Jan 22, 2009 at 12:22 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: On Thu, Jan 22, 2009 at 12:02 PM, Alan Stone software.list.1e...@gmail.com wrote: Hi, Is there a command which returns the number of lines for a given portion of text ? \starttext \setbox

Re: [NTG-context] number of lines ?

2009-01-22 Thread Alan Stone
Try: Your text has {\the\noflines} lines. Your text has \the\noflines\ lines. % works also Thanks. -- Best, Alan * TeX engine = LuaTeX * ConTeXt minimals ver: 2009.01.18 14:39 MKIV fmt: 2009.1.22 int: english/english * Ubuntu 8.04 Hardy Heron, Windows XP SP3 Home

Re: [NTG-context] number of lines ?

2009-01-22 Thread Alan Stone
On Thu, Jan 22, 2009 at 3:54 PM, Alan Stone software.list.1e...@gmail.comwrote: Try: Your text has {\the\noflines} lines. Your text has \the\noflines\ lines. % works also Thanks. How do you substract/add a number from/to \noflines ? I tried \thinrules[n=\advance\the\noflines by -2

Re: [NTG-context] number of lines ?

2009-01-22 Thread Alan Stone
PM, Otared Kavian ota...@gmail.com wrote: On 22 janv. 09, at 15:39, Alan Stone wrote: On Thu, Jan 22, 2009 at 12:22 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: On Thu, Jan 22, 2009 at 12:02 PM, Alan Stone software.list.1e...@gmail.com wrote: Hi, Is there a command

Re: [NTG-context] number of lines ?

2009-01-22 Thread Alan Stone
Thanks a lot Wolfgang the Wise Wizard of TeX. :O) Alan On Thu, Jan 22, 2009 at 7:53 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 22.01.2009 um 19:35 schrieb Alan Stone: How do you make the attached example work (see comments at the beginning of the file) ? \long

Re: [NTG-context] number of lines ?

2009-01-22 Thread Alan Stone
On Thu, Jan 22, 2009 at 5:54 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 22.01.2009 um 17:20 schrieb Alan Stone: On Thu, Jan 22, 2009 at 3:54 PM, Alan Stone software.list.1e...@gmail.com wrote: Try: Your text has {\the\noflines} lines. Your text has \the\noflines

Re: [NTG-context] ctx files

2009-01-06 Thread Alan Stone
What tool do you use to validate ctx files ? On Fri, Dec 19, 2008 at 6:01 PM, Alan STONE software.list.1e...@gmail.comwrote: Has there been any progress regarding the issues/inquiries of this thread ? If none, what is/are the alternative(s) ? -- Best, Alan

Re: [NTG-context] line spacing in frame with centered text

2009-01-05 Thread Alan STONE
...@googlemail.com wrote: Am 04.01.2009 um 20:30 schrieb Alan STONE: On Sun, Jan 4, 2009 at 6:35 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 04.01.2009 um 18:26 schrieb Alan STONE: \starttext \setbox\scratchbox\hbox{\switchtobodyfont[38pt]Text In A Frame} \the\htdp

  1   2   3   4   >