[NTG-context] Figure libraries

2006-01-14 Thread David Arnold
All, After you run: figures $ texexec --pdf --use=fig-make --mode=letter figlibSection3.xml are the figures embedded in figlibSection3.pdf? That is, could you now remove the files used to create figlibSection3.pdf? ___ ntg-context mailing list ntg-

[NTG-context] texexec and missing file

2006-01-14 Thread David Arnold
All, If the file doesn't exist, here is what happens: figures $ texexec --pdf --use=fig-make --mode=letter figlibSection3.xml TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 fixing engine variable : pdfetex total run time : 1 seconds figures $ Would it not be better if texexec reporte

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 with --mode,

Re: [NTG-context] multiple backgrounds

2006-01-14 Thread Henning Hraban Ramm
Am 2006-01-15 um 01:23 schrieb Mojca Miklavec: I don't know if this works, but the only thing I can think of is setting \setupbackgrounds[rightpage][page][state=start, background={logolayer,sendlayer}] I guess I must use that, but it's not flexible enough (e.g. you can't *add* some backgro

[NTG-context] multiple backgrounds

2006-01-14 Thread Henning Hraban Ramm
I'm playing around with layers and try to rewrite the letter style in a cleaner way. How can I use several layers as page backgrounds and switch them on and off independently from each other? With \setupbackgrounds[rightpage][page][state=start, background=logolayer] \setupbackgrounds[rightp

Re: [NTG-context] indenting in XML environment

2006-01-14 Thread Taco Hoekwater
Christopher G D Tipper wrote: Ok, after taking deep breath I'll try this issue again. I got indenting to work after putting \noindenting inside its own environment. However, the following code block stopped working recently and I don't know why: \defineXMLenvironment[body] {\bgroup \r

Re: [NTG-context] mode dependend character handling

2006-01-14 Thread Mojca Miklavec
Taco Hoekwater wrote: > Henning Hraban Ramm wrote: > >> \startencoding[ec] > >> \startmode[swiss] > >> \definecharacter ssharp {ss} > >> \stopmode > >> \stopencoding > >> than the order of commands doesn't matter any more (but then the > >> automatic conversion will only work for th

Re: [NTG-context] mode dependend character handling

2006-01-14 Thread Taco Hoekwater
Henning Hraban Ramm wrote: \startencoding[ec] \startmode[swiss] \definecharacter ssharp {ss} \stopmode \stopencoding than the order of commands doesn't matter any more (but then the automatic conversion will only work for the ec encoding). mode processing is based on modes that

[NTG-context] layer question

2006-01-14 Thread Henning Hraban Ramm
Consider this example: \definelayer[extras] [width=\paperwidth, height=\paperheight] \setlayer [extras] [x=2cm, y=5cm] {something} \setupbackgrounds[page][background=extras] This is ok, the placement is relative to the upper left edge of the paper. But following the Details

Re: [NTG-context] mode dependend character handling

2006-01-14 Thread Henning Hraban Ramm
Am 2006-01-14 um 20:35 schrieb Mojca Miklavec: Since Taco's proposal is OK, you don't need this, but I'll reply anyway. The problem is caused by "wrong order" of commands. If you load ec encoding AFTER this command, your new definition of ssharp will be overridden by the encoding definition again

Re: [NTG-context] Keep framed on the baseline

2006-01-14 Thread David Arnold
Mojca et al, This seems to do what I want. I wanted the strikeout just a bit longer. \startuniqueMPgraphic{strikeme} draw (-1,-1)--(OverlayWidth+1,OverlayHeight+1) withpen pencircle scaled 1pt withcolor red; \stopuniqueMPgraphic \defineoverlay[strikeme][\uniqueMPgraphic{strikeme}] \def\stri

Re: [NTG-context] Keep framed on the baseline

2006-01-14 Thread Mojca Miklavec
David Arnold wrote: > All, > > I have: > > \placeformula[-] > \startformula >\eqalign{ >&\text{Divisors of 12}: \framed{1},\ \framed{2},\ \framed{3},\ 4,\ > \framed{6},\ 12\cr >&\text{Divisors of 18}: \framed{1},\ \framed{2},\ \framed{3},\ > \framed{6},\ 9,\ 18} > \stopformula > > But I

Re: [NTG-context] Canceling common primes with strikeout

2006-01-14 Thread Mojca Miklavec
David Arnold wrote: > All, > > Anyone have a nice technique to "strike out" the common primes using > the color red? > > \placeformula[-] > \startformula >\frac{12}{18}=\frac{2\cdot2\cdot3}{2\cdot3\cdot3}=\frac23 > \stopformula A simple solution: \defineoverlay[strikeme][{\color[red]{\bf/}}]

Re: [NTG-context] mode dependend character handling

2006-01-14 Thread Mojca Miklavec
Henning Hraban Ramm wrote: > Mojca's proposal: > > > \startmode[swiss] > > \definecharacter ssharp {ss} > > \stopmode > > unfortunately doesn't work, at least not with utf regime and ec > encoding. Since Taco's proposal is OK, you don't need this, but I'll reply anyway. The problem is caused by "

Re: [NTG-context] some small questions

2006-01-14 Thread Peter Münster
On Mon, 9 Jan 2006, Mojca Miklavec wrote: > \definecharacter texteuro {{\ss\symbol[euro]}} Yes, this is nice! Thanks, Peter -- http://pmrb.free.fr/contact/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-contex

[NTG-context] strange stretching with \blank[...]

2006-01-14 Thread Peter Münster
Hello, please consider the following example file: \setupalign[line] \starttext \input knuth \blank[big] \input knuth \blank[2*big] % 2*big is much smaller than simple big ! \input knuth \placetable{bla}{\vbox to 18cm{bla}} \stoptext But \blank[big,big] is working right. It seems, that we shoul

Re: [NTG-context] Reg. fonts and math

2006-01-14 Thread Aditya Mahajan
<--- On Jan 14, Adam Duck wrote ---> Just to give you some hints what's already there... Aditya Mahajan <[EMAIL PROTECTED]> writes: < 63 lines deleted by Adam Duck > 1. Have align support with variable number of columns. a &= b &= c &+ d &&+ e should be typeset as a = b = c +

Re: [NTG-context] Reg. fonts and math

2006-01-14 Thread Adam Duck
Just to give you some hints what's already there... Aditya Mahajan <[EMAIL PROTECTED]> writes: < 63 lines deleted by Adam Duck > > 1. Have align support with variable number of columns. > a &= b >&= c &+ d >&&+ e > > should be typeset as > > a = b >= c + d >+ e At least

[NTG-context] indenting in XML environment

2006-01-14 Thread Christopher G D Tipper
Ok, after taking deep breath I'll try this issue again. I got indenting to work after putting \noindenting inside its own environment. However, the following code block stopped working recently and I don't know why: \defineXMLenvironment[body] {\bgroup \rm\setupwhitespace[none] \set

[NTG-context] columns issues

2006-01-14 Thread Henning Hraban Ramm
Hello wizards! The \startcolumns ... \column ... \stopcolumns block handling seems somewhat broken. Maybe these "old" columns are deprecated, but I guess they should work. (And I would like to document them.) Consider this: \starttext \input ward \startcolumns \input ward \column \input

Re: [NTG-context] mode dependend character handling

2006-01-14 Thread Henning Hraban Ramm
Sorry for answering that late. The correct way would be to define swiss as a language, because then you can put a suitable redefinition inside the language specifics, but the following hack will work as well and is a lot faster to implement (please don't tell anyone I proposed this): \enabler

Re: [NTG-context] Keep framed on the baseline

2006-01-14 Thread Johan Sandblom
Outside math I think the solution is \inframed, but I don't know if that works here. Johan 2006/1/14, David Arnold <[EMAIL PROTECTED]>: > All, > > I have: > > \placeformula[-] > \startformula >\eqalign{ >&\text{Divisors of 12}: \framed{1},\ \framed{2},\ \framed{3},\ 4,\ > \framed{6},\ 12

[NTG-context] linenumbering

2006-01-14 Thread Thomas A. Schmitz
All, I have a document with several sections and would like to have lines numbered consecutively across all sections. However, when the \startlinenumbering ... stoplinenumbering spans a \section command, it doesn't work any longer; lines are not numbered. Is there a solution or a workarou

Re: [NTG-context] Reg. fonts and math

2006-01-14 Thread Tobias Burnus
Hello, %D \startbuffer %D \placeformula \startformula \startalign %D \NC a \NC \eq b \NR[+] %D \NC c \NC \neq d \NR %D \NC\NC \neq f \NR[for:hans] %D \NC\NC \geq g \NR[for:whoelse][a] %D \NC\NC \leq h \NR[for:whomore][b] %D \NC\NC \neq i \NR %D \stopalign \stopformula %D \stop

Re: [NTG-context] Reg. fonts and math

2006-01-14 Thread Aditya Mahajan
<--- On Jan 13, Aditya Mahajan wrote ---> <--- On Jan 13, Hans Hagen wrote ---> Aditya Mahajan wrote: No, I mean the complicated math is much harder in context. Consider \begin{align} a &= b \\ c &= d \notag \\ &= f \notag \\ &= g \end{align} which will typeset as a = b(1