Re: [NTG-context] Pagesize papersize: Writing jobname/date outside page area

2007-04-17 Thread Thomas A. Schmitz
][\reuseMPgraphic{Cross}] \defineoverlay[Camera][\reuseMPgraphic{Camera}] \defineoverlay[Info][{\getbuffer[info]}] \startbuffer[info] \vbox to \paperheight \bgroup \vskip -1 cm \framed[frame=off,align=high]{\tt \tx \jobname - \currentdate [y,/,mm,/,dd]\ - \currenttime\ - \realfolio

Re: [NTG-context] framed getbuffer

2007-04-11 Thread Aditya Mahajan
On Thu, 22 Mar 2007, Taco Hoekwater wrote: Wolfgang Werners-Lucchini wrote: Hallo! The following simple example doesn't compile (ConTeXt ver. 2007.01.02 and Live ConTeXt). What am I doing wrong? Diagnostics: The problem is not caused by the \framed, but by the (lack of) parsing done

Re: [NTG-context] framed getbuffer

2007-04-11 Thread luigi scarso
This is a serious bug. Even a simple example fails with the same error. \starttext \framed{ \startformula x^2 = x\cdot x \stopformula} \stoptext A quick workaround is to use frametext instead of framed, but I am pretty sure that the above example used to work at some stage. hmm, I can

Re: [NTG-context] framed getbuffer

2007-04-11 Thread Wolfgang Schuster
\startbuffer \startformula x^2 = x\cdot x \stopformula \stopbuffer \framed[width=6cm,height=4cm]{\getbuffer} Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] framed getbuffer

2007-04-11 Thread Taco Hoekwater
On Thu, 22 Mar 2007, Taco Hoekwater wrote: Diagnostics: The problem is not caused by the \framed, but by the (lack of) parsing done by the buffering routines. Because the \startformula is not expanded, TeX does not realise you are in math mode, so it objects to the ^ character.

Re: [NTG-context] framed getbuffer

2007-04-11 Thread Aditya Mahajan
On Wed, 11 Apr 2007, Wolfgang Schuster wrote: 2007/4/11, Aditya Mahajan [EMAIL PROTECTED]: On Thu, 22 Mar 2007, Taco Hoekwater wrote: Wolfgang Werners-Lucchini wrote: Hallo! The following simple example doesn't compile (ConTeXt ver. 2007.01.02 and Live ConTeXt). What am I

Re: [NTG-context] framed getbuffer

2007-03-22 Thread Taco Hoekwater
Wolfgang Werners-Lucchini wrote: Hallo! The following simple example doesn't compile (ConTeXt ver. 2007.01.02 and Live ConTeXt). What am I doing wrong? Diagnostics: The problem is not caused by the \framed, but by the (lack of) parsing done by the buffering routines. Because the

[NTG-context] framed getbuffer

2007-03-21 Thread Wolfgang Werners-Lucchini
Hallo! The following simple example doesn't compile (ConTeXt ver. 2007.01.02 and Live ConTeXt). What am I doing wrong? \starttext \startbuffer \startformula x^2 = x\cdot x \stopformula \stopbuffer \framed{\getbuffer} \stoptext Wolfgang ___ ntg

[NTG-context] XeConTeXt and Euler

2007-03-18 Thread nicola
here, but formulas do not: \startformula \breve x^n + \bar y^n = \hat z^n. \stopformula \stopbuffer \starttext \switchtobodyfont[Charis] \getbuffer \switchtobodyfont[Doulos] \getbuffer \switchtobodyfont[Gentium] \getbuffer \showmathcharacters \stoptext \end

Re: [NTG-context] Problems with mathalign

2007-02-19 Thread Wim Neimeijer
Aditya Mahajan wrote: \startbuffer \placeformula \startformula \startalign[m=2,distance=3cm] \NC a \NC =b \NC A \NC =B \NR[+] \NC c \NC =d \NC C \NC =D \NR[+] \stopalign \stopformula \stopbuffer \typebuffer \getbuffer I can confirm that there is an extra number. I do not know what

Re: [NTG-context] Problems with mathalign

2007-02-19 Thread Aditya Mahajan
On Mon, 19 Feb 2007, Wim Neimeijer wrote: Aditya Mahajan wrote: \startbuffer \placeformula \startformula \startalign[m=2,distance=3cm] \NC a \NC =b \NC A \NC =B \NR[+] \NC c \NC =d \NC C \NC =D \NR[+] \stopalign \stopformula \stopbuffer \typebuffer \getbuffer I can

[NTG-context] buffer error

2007-02-16 Thread Idris Samawi Hamid
test test test test test \footnote{This is another basic footnote. \metanote{This is another footnote to a footnote.}} test test test test test test test test test test test test test. \stoplinenumbering% \stopbuffer {\typebuffer[footnote] \getbuffer[footnote]} \page

Re: [NTG-context] buffer error

2007-02-16 Thread Aditya Mahajan
example the group is being created by the braces in {\typebuffer \getbuffer}) Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] buffer error

2007-02-16 Thread Hans Hagen
] \getbuffer[footnote]} \page works, but \startbuffer[footnote] \definenote[metanote][conversion=set 2] test test test test test test test test \footnote{This is a basic footnote. \metanote

[NTG-context] \start-\stop footnotes

2007-02-16 Thread Idris Samawi Hamid
\stopbuffer {\typebuffer[footnote] \getbuffer[footnote]} \page But this does nothing. [before=\footnote{, after=}] does not work either (and is not equivalent to (b/e}group). Please advise! Best Idris -- Professor Idris Samawi Hamid Department of Philosophy

Re: [NTG-context] creating environments

2007-02-05 Thread Wolfgang Schuster
this: \starttext \placefigure {} {\startbuffer{mybuffer} Floating text from a buffer \stopbuffer \getbuffer{mybuffer}} \stoptext with content saved in a buffer. no, there is \setbuffer but in general (at least not in context mkii) buffers are to be defined at the outer level

Re: [NTG-context] creating environments

2007-01-31 Thread Wolfgang Schuster
to keep track of the buffer numbers on your own. Aditya Hi Aditya, I tried to use a buffer but you cannot make something like this: \starttext \placefigure {} {\startbuffer{mybuffer} Floating text from a buffer \stopbuffer \getbuffer{mybuffer}} \stoptext with content saved in a buffer

Re: [NTG-context] creating environments

2007-01-31 Thread Hans Hagen
\getbuffer{mybuffer}} \stoptext with content saved in a buffer. no, there is \setbuffer but in general (at least not in context mkii) buffers are to be defined at the outer level It's not a real problem but I wanted to know if it is possible to define a environment in the way I wanted

Re: [NTG-context] creating environments

2007-01-31 Thread Wolfgang Schuster
usage, you will have to keep track of the buffer numbers on your own. Aditya Hi Aditya, I tried to use a buffer but you cannot make something like this: \starttext \placefigure {} {\startbuffer{mybuffer} Floating text from a buffer \stopbuffer \getbuffer{mybuffer}} \stoptext

Re: [NTG-context] setup linecorrection

2007-01-20 Thread Taco Hoekwater
David Arnold wrote: All, How do you set up: \startlinecorrection[blank] \midaligned{\getbuffer[table]} \stoplinecorrection so ensuing lines are not indented? There is not actual support for that, but this should work: \let\MYstoplinecorrection\stoplinecorrection \def

[NTG-context] setup linecorrection

2007-01-19 Thread David Arnold
All, How do you set up: \startlinecorrection[blank] \midaligned{\getbuffer[table]} \stoplinecorrection so ensuing lines are not indented? ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

[NTG-context] Problems with mathalign

2007-01-03 Thread Mojca Miklavec
This is almost OK, but has one formula number too much here: \startbuffer \placeformula \startformula \startalign[m=2,distance=3cm] a =b A =B \\ c =d C =D \\ \stopalign \stopformula \stopbuffer \typebuffer \getbuffer This results in a very weird formula

Re: [NTG-context] Problems with mathalign

2007-01-03 Thread Aditya Mahajan
\typebuffer \getbuffer Do not use the latex syntax. This results in a very weird formula numbering Something is broken. AFAIK, this should not give you any number. \startbuffer \placeformula \startformula \startalign[m=2,distance=3cm] \NC a \NC =b \NC A \NC =B \NR \NC c

[NTG-context] Help --- Arithmetic Overflow: Weird error

2007-01-03 Thread David Arnold
{\getbuffer[combined]} \stoplinecorrection %\startlinecorrection[blank] %\midaligned{\processMPbuffer[two]} %\stoplinecorrection \stoptext I am getting this error: ! Arithmetic overflow. recently read \@@raggedskipb \setraggedness ...e \@@raggedskipa \@@raggedskipb

Re: [NTG-context] Header number separator

2006-11-14 Thread Aditya Mahajan
which gives the output o the next page %D \getbuffer %D \chapter[chap new]{First Chapter} %D \section[sec new]{First Section} %D \subsection[subsec new]{First Subsection} %D As you may have noticed, \in[subsec new] is the first subsubsection of %D \in[sec new], which in turn is the first section

[NTG-context] beta: bug with transparent colors in fields

2006-11-13 Thread Peter Rolf
\SomeNote{[[tufte]]} {\input tufte \relax} \input tufte \blank \input bryson \SomeNote{[[bryson]]}{\input bryson\relax} \input bryson \blank \stopbuffer \dorecurse{10}{\getbuffer} \stoptext ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl

Re: [NTG-context] formula, bookmarks and misc

2006-10-29 Thread Aditya Mahajan
] \section{conversion} \setupformulas [conversion=character] \setupsubformulas [conversion=n] \getbuffer \startsubformulas[subformula] \dorecurse{2}{\getbuffer} \placeformula[my x formula] \startformula x \stopformula \stopsubformulas \placeformula[my y formula] \startformula y

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

2006-10-18 Thread Vit Zyka
as \dochar {225} This seems to be a bug. In utf-8 encoding, if an accented character is the first character of a buffer, it gets typed correctly. All other accented charaters come out as \dochar {225}. \getbuffer works fine. I forgot to attach the test file. I am attaching it, hoping

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

2006-10-16 Thread Aditya Mahajan
. In utf-8 encoding, if an accented character is the first character of a buffer, it gets typed correctly. All other accented charaters come out as \dochar {225}. \getbuffer works fine. I forgot to attach the test file. I am attaching it, hoping that the encoding will come out correctly. Can TeX

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

2006-10-16 Thread Hans Hagen
} This seems to be a bug. In utf-8 encoding, if an accented character is the first character of a buffer, it gets typed correctly. All other accented charaters come out as \dochar {225}. \getbuffer works fine. I forgot to attach the test file. I am attaching it, hoping that the encoding will come out

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

2006-10-16 Thread Hans Hagen
-8 encoding, if an accented character is the first character of a buffer, it gets typed correctly. All other accented charaters come out as \dochar {225}. \getbuffer works fine. Can TeX choose the input encoding while writing files? If not, there may be really no robust way to solve

Re: [NTG-context] Fielstack and Layers for Presentation

2006-10-14 Thread Peter Rolf
][] \definelayer[layer2][] \definelayer[layer3][] \setlayer[layer1][x=.05\textwidth,y=.05\textheight,location=br]{\getbuffer[buf1]} \setlayer[layer2][x=.05\textwidth,y=.05\textheight,location=br]{\getbuffer[buf1]} \setlayer[layer2][x=.1\textwidth,y=.1\textheight,location=br]{\getbuffer[buf2

Re: [NTG-context] Fielstack and Layers for Presentation

2006-10-13 Thread Peter Rolf
Hi Renaud, Renaud AUBIN wrote: Hi all, I would use fieldstack with \getbuffer and overlays... Why the following code doesn't work ? Is there another way to do that ? \setlayer is breaking the fields here, so that they become normal, inactive content (dunno why). If you remove it, the fields

Re: [NTG-context] Fielstack and Layers for Presentation

2006-10-13 Thread Renaud AUBIN
\textheight,location=br]{\getbuffer[buf1]} \setlayer[layer2][x=.05\textwidth,y=.05\textheight,location=br]{\getbuffer[buf1]} \setlayer[layer2][x=.1\textwidth,y=.1\textheight,location=br]{\getbuffer[buf2]} \setlayer[layer3][x=.05\textwidth,y=.05\textheight,location=br]{\getbuffer[buf1]} \setlayer[layer3][x

[NTG-context] Fielstack and Layers for Presentation

2006-10-12 Thread Renaud AUBIN
Hi all, I would use fieldstack with \getbuffer and overlays... Why the following code doesn't work ? Is there another way to do that ? TIA Renaud %%% stack.tex \setupcolors[state=start] \usemodule[pre-original] \defineoverlay[FunnyFrame][\useMPgraphic{FunnyFrame}] \defineframedtext

Re: [NTG-context] Working example for correspondence

2006-09-23 Thread r . ermers
] \setvariables[letter:address][line=6, hoffset=100mm,width=70mm] \setvariables [letter:data] [address=\XMLflush{address}, prefix=\XMLflush{prefix}, initials=\XMLflush{initials}, formalname=\XMLflush{formalname}, %informalname=\XMLflush{informalname} %content={\getbuffer[texletter]}, %,content

[NTG-context] How to make \placelistoffigures separate figures by chapter

2006-09-19 Thread Renaud AUBIN
}{\externalfigure[testfig]} \placefigure[here]{test 3}{\externalfigure[testfig]} \stopbuffer \dorecurse{3}{ \chapter{A Chapter} \getbuffer } \stoptext I want to obtain: 1.1 test 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.2 test

Re: [NTG-context] How to make \placelistoffigures separate figures by chapter

2006-09-19 Thread Wolfgang Schuster
\placefigure[here]{test 1}{\externalfigure[testfig]} \placefigure[here]{test 2}{\externalfigure[testfig]} \placefigure[here]{test 3}{\externalfigure[testfig]} \stopbuffer \dorecurse{3}{ \chapter{A Chapter} \getbuffer } \stoptext I want to obtain: 1.1 test 1

Re: [NTG-context] ConTeXt problem on Mac mini

2006-09-16 Thread Mojca Miklavec
] does not work getbuffer produce the table I always thought that only \externalfigure[\jobname-buffername.tmp] works properly. But then I figured out that in my MikTeX distribution \externalfigure[buffername.tmp] works and \externalfigure[\jobname-buffername.tmp] doesn't

Re: [NTG-context] Templates and official documents

2006-09-16 Thread Willi Egger
\stoptabulate}} \stopbuffer \setupheadertexts[{\hfill{\bfa Agrupamento de Escolas do Concelho de AlFândega da Fé}\hfill}] \setupfootertexts[{\getbuffer[Footer]}] \starttext %\showframe %% \placelogos \startalignment[middle] \cap{UNIDADE DIDÁCTICA

[NTG-context] ConTeXt problem on Mac mini

2006-09-15 Thread Bernd Militzer
.8 \stopListeR ? after that I changed in my table-macro first row: \NC\AR to \NC\FR last row: : \NC\AR to \NC\LR running texexec --pdf TestFile2.tex I get no error, but 1. placetable ... \externalfigure[buffername.tmp] does not work getbuffer produce the table 2. the running

Re: [NTG-context] \bar missing in euler

2006-09-12 Thread Aditya Mahajan
\startmathcollection[euler:texnansi] \definemathsymbol [breve] [accent] [tf] [15] \stopmathcollection \startmathcollection[euler:ec] \definemathsymbol [breve] [accent] [tf] [08] \stopmathcollection $\breve e$ \stopbuffer Testing for code in \filename{cont-new.tex} \start \getbuffer\typebuffer \stop

[NTG-context] Homogeneous captions for figures

2006-09-08 Thread Renaud AUBIN
caption}} {\useMPgraphic{dummy}}{\placefloatcaption[figure]{A \dorecurse{20}{very\ } long caption}} \stopcombination \stopbuffer \placefigure[page]{none}{\getbuffer} \stoptext leads to 1 output file written: caption-mpgraph.1 Transcript written on caption-mpgraph.log. [MP to PDF] (./caption

Re: [NTG-context] New math feature requests

2006-08-26 Thread Aditya Mahajan
!conversion=\v!character, \c!separator=\@@fmseparator, \c!indentnext=\@@fmindentnext] \protect %D The test cases \startbuffer \placeformula \startformula a^2 + b^2 = c^2 \stopformula \stopbuffer \startsetups[test] \dorecurse{3}{\getbuffer} Lets start subformulas \startsubformulas \dorecurse

Re: [NTG-context] New math feature requests

2006-08-24 Thread Aditya Mahajan
\stopformula \stopbuffer \starttext \dorecurse{3}{\getbuffer} Lets start subformulas \startsubformulas \dorecurse{3}{\getbuffer} \stopsubformulas Also works inside alignments \startsubformulas \placeformula \startformula \startalign \NC A \EQ B + C \NR[first] \NC D \EQ E + F \NR

Re: [NTG-context] counting the words in a TeX document

2006-08-07 Thread Mojca Miklavec
\startstatistics {\dodoubleempty\dostartstatistics} \def\dostartstatistics[#1][#2]#3\stopstatistics {\setbuffer[#1]#3\endbuffer \executesystemcommand{ruby wordcount.rb \jobname-#1.tmp}% \getbuffer[#1]} \protect \doifnotmode{demo}{\endinput} ... but a friend who asked me for a favour actually

Re: [NTG-context] buffers

2006-08-07 Thread Aditya Mahajan
On Mon, 31 Jul 2006, Aditya Mahajan wrote: On Mon, 31 Jul 2006, Hans van der Meer wrote: The ConTeXt manual tells me on page 237: You can define your own buffer with: \definebuffer[...] ... name After this command /getbuffer and \typebuffer are available where buffer

Re: [NTG-context] counting the words in a TeX document

2006-08-07 Thread Aditya Mahajan
token as mathord and allow it to break %but that will not give any better results. \startbuffer This is a test \stopbuffer \ShowStats{\getbuffer} \ShowStats{\startformula a = b + c \stopformula} \ShowStats{\framed{This is a test}} \ShowStats{\starthiding Another test \stophiding

Re: [NTG-context] counting the words in a TeX document

2006-08-05 Thread Aditya Mahajan
|letters|lines] maps to \startbuffer[\jobname-statistics-filename] and \stopstatistics maps to \stopbuffer \getbuffer[\jobname-statistics-filename] \executesystemcommand{detex \jobname-statistics-filename.tmp | wc flags correspondingto words|lines|letters } and possibly prettify output

Re: [NTG-context] counting the words in a TeX document

2006-08-05 Thread Mojca Miklavec
|lines] maps to \startbuffer[\jobname-statistics-filename] and \stopstatistics maps to \stopbuffer \getbuffer[\jobname-statistics-filename] \executesystemcommand{detex \jobname-statistics-filename.tmp | wc flags correspondingto words|lines|letters } I took a look, but it merely looks

[NTG-context] Indentation bug ? Sample

2006-08-02 Thread Renaud AUBIN
\bTR \bTD 2 \eTD \bTD 3 \eTD \eTR \bTR \bTD 2 \eTD \bTD 3 \eTD \eTR \bTR \bTD[nc=3] 1/2/3 \eTD \bTD 4 \eTD \eTR \bTR \bTD 1 \eTD \bTD 2 \eTD \bTD 3 \eTD \bTD 4 \eTD \eTR \eTABLE \stopbuffer \section{bottom option} \input knuth \placetable[bottom]{none}{\getbuffer} \input knuth \page \section

Re: [NTG-context] Indentation bug ? Sample

2006-08-02 Thread Alan Bowen
{bottom option} \input knuth \placetable[bottom]{none}{\getbuffer} \input knuth \page \section{here option} \input knuth \placetable[here]{none}{\getbuffer} \input knuth \page \section{top option} \input knuth \placetable[top]{none}{\getbuffer} \input knuth \page \section

Re: [NTG-context] Figure number off one time

2006-08-01 Thread Hans Hagen
Aditya Mahajan wrote: On Mon, 31 Jul 2006, David Arnold wrote: All, I would like to use: \placefigure [right][fig:pythagoras] {An early portrait of Pythagoras.} {\getbuffer[figure]} And I would like to turn off the figure number in this caption, but just for this graphic

Re: [NTG-context] buffers

2006-08-01 Thread Hans van der Meer
On Aug 1, 2006, at 0:21, Aditya Mahajan wrote: On Mon, 31 Jul 2006, Hans van der Meer wrote: The ConTeXt manual tells me on page 237: You can define your own buffer with: \definebuffer[...] ... name After this command /getbuffer and \typebuffer are available where

Re: [NTG-context] Figure number off one time

2006-08-01 Thread David Arnold
On Aug 1, 2006, at 1:01 AM, Hans Hagen wrote: Aditya Mahajan wrote: On Mon, 31 Jul 2006, David Arnold wrote: All, I would like to use: \placefigure [right][fig:pythagoras] {An early portrait of Pythagoras.} {\getbuffer[figure]} And I would like to turn off the figure number

[NTG-context] buffers

2006-07-31 Thread Hans van der Meer
The ConTeXt manual tells me on page 237: You can define your own buffer with: \definebuffer[...] ... name After this command /getbuffer and \typebuffer are available where buffer is the name of the buffer.I do: \definebuffer[left] \startbuffer[left] left\crlf \stopbuffer \typeleftand it gives me

Re: [NTG-context] buffers

2006-07-31 Thread Aditya Mahajan
On Mon, 31 Jul 2006, Hans van der Meer wrote: The ConTeXt manual tells me on page 237: You can define your own buffer with: \definebuffer[...] ... name After this command /getbuffer and \typebuffer are available where buffer is the name of the buffer. I do

[NTG-context] Figure number off one time

2006-07-31 Thread David Arnold
All, I would like to use: \placefigure [right][fig:pythagoras] {An early portrait of Pythagoras.} {\getbuffer[figure]} And I would like to turn off the figure number in this caption, but just for this graphic, not for any other I place. I want the number off, but I want to keep the caption

Re: [NTG-context] Figure number off one time

2006-07-31 Thread Aditya Mahajan
On Mon, 31 Jul 2006, David Arnold wrote: All, I would like to use: \placefigure [right][fig:pythagoras] {An early portrait of Pythagoras.} {\getbuffer[figure]} And I would like to turn off the figure number in this caption, but just for this graphic, not for any other I place. I want

Re: [NTG-context] Figure number off one time

2006-07-31 Thread David Arnold
Aditya, Most excellent. Thanks. On Jul 31, 2006, at 7:17 PM, Aditya Mahajan wrote: On Mon, 31 Jul 2006, David Arnold wrote: All, I would like to use: \placefigure [right][fig:pythagoras] {An early portrait of Pythagoras.} {\getbuffer[figure]} And I would like to turn off the figure

Re: [NTG-context] align question

2006-07-18 Thread Aditya Mahajan
Context supports everything that latex array provides, with a slightly different syntax. Some extract from the update on myway on alignment (I am still working on it) % \def\ShowExample % {\hairline %\typebuffer %\hairline %\getbuffer} \CONTEXT\ provides \tex{startmatrix} for generic

Re: [NTG-context] align question

2006-07-18 Thread Bruce H. Wagner
array provides, with a slightly different syntax. Some extract from the update on myway on alignment (I am still working on it) % \def\ShowExample % {\hairline %\typebuffer %\hairline %\getbuffer} \CONTEXT\ provides \tex{startmatrix} for generic alignment mechanism. \startbuffer

[NTG-context] control the number of items in the startitemize environment

2006-07-18 Thread batela
SmallList:make \getbuffer[LargeList] \stopsetups \starttext \startbuffer[LargeList] \startitemize[1,random,packed][items=5] %%% -- this d'ont work. Why? \startitem item 1 \stopitem \startitem item 2 \stopitem \startitem item 3 \stopitem \startitem item 4 \stopitem \startitem item 5 \stopitem

Re: [NTG-context] control the number of items in the startitemize environment

2006-07-18 Thread Hans Hagen
:-(( % \startsetups SmallList:make \getbuffer[LargeList] \stopsetups \starttext \startbuffer[LargeList] \startitemize[1,random,packed][items=5] %%% -- this d'ont work. Why? items=... has to do with questionares, not with randomize of course such a feature can be added but where does adding

Re: [NTG-context] linecorrection

2006-07-17 Thread Taco Hoekwater
David Arnold wrote: All, I've been using this construct a lot. \startlinecorrection[blank] \midaligned{\getbuffer[table]} \stoplinecorrection My thinking was that it put a blank before and after, but now I am not sure. It is my understanding that the baselinecorrection

[NTG-context] linecorrection

2006-07-16 Thread David Arnold
All, I've been using this construct a lot. \startlinecorrection[blank] \midaligned{\getbuffer[table]} \stoplinecorrection My thinking was that it put a blank before and after, but now I am not sure. Am I missing something? ___ ntg-context mailing

Re: [NTG-context] ConTeXt, Charts, and transparency

2006-07-12 Thread Idris Samawi Hamid
\stopbuffer \getbuffer \startnarrower \getbuffer \stopnarrower \placefigure[left]{}{} \getbuffer \stoptext = log file: = (chart-test-mpgraph.mp (c:\ConTeXt\tex\texmf-local/metapost/context/base/mp-step .mp) (0.5,0.5,0.5) 2.5

[NTG-context] Tough one to debug in figure library

2006-07-05 Thread David Arnold
)$ \eTD \eTR \eTABLE \stopbuffer \startbuffer[figure] \startcombination[2*1] {\externalfigure[sec5scaling5]}{(a)} {\getbuffer[table]}{(b)} \stopcombination \stopbuffer \placefigure [][fig:scaling5] {The points in the table are points on the graph of $y=f((1/2)x)$.} {\getbuffer[figure

[NTG-context] textbackground trouble

2006-06-28 Thread Aditya Mahajan
={\blank[small]}, before={\blank[small]}] \def\ShowExample {\startexample % \nobreak \typebuffer \stopexample \getbuffer} \setvariables [magazine] [title={Using \textbackslash startalign and friends}, author=Aditya Mahajan, date=\currentdate, ] \starttext \setups

Re: [NTG-context] reference formatting

2006-06-22 Thread Aditya Mahajan
\stopcombination} %D %D \startbuffer %D \in figure[fig:three calls] %D \in{figure}[fig:three calls] %D \in figure a[fig:three calls] %D \in{figure}{a}[fig:three calls] %D figure~\in[fig:three calls] %D \stopbuffer %D %D \typebuffer %D %D This turns up as: %D %D \startlines %D \getbuffer %D \stoplines I

Re: [NTG-context] making multiple choice questions exams

2006-05-28 Thread Hans Hagen
ID\EQ \NC \NR \NC Version \EQ \recurselevel \NC \NR \stoptabulate \blank[2*big] \getbuffer[examn] \stopsetups \startsetups examn:ok \doifmode {answers} { \inleft{\symbol[star]} } \ignorespaces \stopsetups \starttext \startbuffer[examn

Re: [NTG-context] Making posters with ConTeXT

2006-05-24 Thread Johan Sandblom
%\showframe %\showgrid \setlayer[text] [x=-10mm, y=1030mm] { \framed[backgroundcolor=tlightred, width=820mm] { \tfxx \getbuffer[References]}} \setlayer[text] [x=0mm, y=780mm] { \framed[backgroundcolor=twhite, width=350mm] { \tfx \getbuffer[Methods]}} \setlayer[text] [x

[NTG-context] Table nesting

2006-05-15 Thread nico
size between the cell rules and the cell content? Regards, BG \starttext \startbuffer[2] \bTABLE[align=lohi,width=.5\hsize] \bTR\bTD c \eTD\bTD d\eTD\eTR \bTR\bTD c \eTD\bTD d\eTD\eTR \eTABLE \stopbuffer \startbuffer \bTABLE[align=lohi,width=.5\hsize] \bTR\bTD \getbuffer[2

Re: [NTG-context] Duplicate names in figure libraries

2006-05-03 Thread Willi Egger
attempts to draw a continuous function when it shouldn't.} {\getbuffer[figure]} Section2.tex does: \usefigurebase[figures/figlibSection2] And later: \placefigure [][fig:rat1] {The numerator is zero at $x=-2$. This is an $x$-intercept of the graph. The denominator is zero at $x=3

[NTG-context] Duplicate names in figure libraries

2006-05-01 Thread David Arnold
]}{(a)} {\externalfigure[rat2][width=.2\textwidth]}{(b)} {\externalfigure[rat3][width=.2\textwidth]}{(c)} \stopcombination \stopbuffer \placefigure [][fig:rat] {The calculator attempts to draw a continuous function when it shouldn't.} {\getbuffer[figure]} Section2.tex does: \usefigurebase[figures

Re: [NTG-context] textbackground exceeds its scope

2006-04-23 Thread Hans Hagen
occurs at some other place. If it is important, I can try to make a minimal file to reproduce the problem with latest stable release. there is a dangling line of the background due to a break \def\ShowExample {\startexample \nobreak \typebuffer \stopexample \getbuffer

[NTG-context] Table width trouble

2006-04-22 Thread nico
\bTABLE[frame=on,width=3em] \getbuffer \eTABLE % nok, messy table \bTABLE[frame=on] \setupTABLE[c][each][width=3em] \getbuffer \eTABLE % ok, width=3em for each column \bTABLE[frame=on,width=0.1pt] \setupTABLE[c][each][width=3em] \getbuffer \eTABLE % ok \bTABLE[frame=on] \getbuffer \eTABLE

Re: [NTG-context] Inconsistent behaviour of placefigure[left] for math and text

2006-04-14 Thread Hans Hagen
to support a little bit of math to show the trouble with placefigure This is a dummy paragraph to support a little bit of math to show the trouble with placefigure} \stopbuffer \starttext \getbuffer[figure] \getbuffer[test] \page \getbuffer[figure] \getbuffer[mathtest] \stoptext

Re: [NTG-context] Changing page orientation - Landscape/Portrait

2006-04-13 Thread Hans Hagen
Miguel Queiros wrote: \placetable{Just an example}{\externalfigure[teste.tmp]} This is what I call 'creative usage' of a feature :) Better use \getbuffer for this. I was using \externalfigure because I saw that on the manual, and because I wanted to scale down the table

Re: [NTG-context] Changing page orientation - Landscape/Portrait

2006-04-13 Thread Peter Rolf
Miguel Queiros wrote: \placetable{Just an example}{\externalfigure[teste.tmp]} This is what I call 'creative usage' of a feature :) Better use \getbuffer for this. I was using \externalfigure because I saw that on the manual, and because I wanted to scale down the table to the width

[NTG-context] Inconsistent behaviour of placefigure[left] for math and text

2006-04-13 Thread Aditya Mahajan
the trouble with placefigure This is a dummy paragraph to support a little bit of math to show the trouble with placefigure} \stopbuffer \starttext \getbuffer[figure] \getbuffer[test] \page \getbuffer[figure] \getbuffer[mathtest] \stoptext Thanks, Aditya -- Aditya Mahajan, EECS Systems

Re: [NTG-context] Changing page orientation - Landscape/Portrait

2006-04-12 Thread Miguel Queiros
\placetable{Just an example}{\externalfigure[teste.tmp]} This is what I call 'creative usage' of a feature :) Better use \getbuffer for this. I was using \externalfigure because I saw that on the manual, and because I wanted to scale down the table to the width of the page. :) Can I do

Re: [NTG-context] Changing page orientation - Landscape/Portrait

2006-04-11 Thread Peter Rolf
the % % \start % \startlocal \placetable{Just an example}{\externalfigure[teste.tmp]} This is what I call 'creative usage' of a feature :) Better use \getbuffer for this. \setuppapersize[A4,landscape][A4,landscape] % \stoplocal % \stop \page \setuppapersize[A4][A4] P�gina 3. \page

Re: [NTG-context] Changing page orientation - Landscape/Portrait

2006-04-11 Thread Hans Hagen
and \stoplocal and \stop % It wont work without the % % \start % \startlocal \placetable{Just an example}{\externalfigure[teste.tmp]} This is what I call 'creative usage' of a feature :) Better use \getbuffer for this. \setuppapersize[A4,landscape][A4,landscape] % \stoplocal

Re: [NTG-context] Curious blank page

2006-04-09 Thread Hans Hagen
\stopexample \getbuffer \blank[small]} - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma

Re: [NTG-context] Metafun - Metapost capacity exceeded

2006-04-05 Thread Thomas Engel
\quad Customer: \OCustomer \quad Offer-No.: \ONr \quad Date: \ODate \qquad Page: \pagenumber/\lastpage } \setlayer[s1][x=1.95cm,y=27cm]{\useMPgraphic{ruler}} \strut \stopbuffer \getbuffer[rahmen] \setlayer[s1][x=3cm,y=5cm]{Layout MCC OCC6} \setlayer[s1][x=2cm,y=15.6cm]{\useMPgraphic{lcm800

Re: [NTG-context] Two figures side-by-side ?

2006-04-02 Thread David Arnold
$.}{\getbuffer[figure]}On Mar 31, 2006, at 3:33 PM, Renaud AUBIN wrote: Hi all, What's the best (i.e. the CLEANEST ?) solution to put two figures side-by-side ? (use of placefigure startcombination ?) Cheers, Renaud ___ntg-context mailing listntg-context

Re: [NTG-context] Guide on align (was Help : Unknown references)

2006-03-24 Thread Aditya Mahajan
\ShowExample{ \blank \framed[align=normal,width=broad,frame=off,background=screen] {\tfx \typebuffer} \framed[align=normal,width=broad,frame=off, background=color,backgroundcolor=BufferColor] {\getbuffer}} \starttext \section{Basic Alignment} The purpose of this document is to show how to do

[NTG-context] mixed colors in TABLE

2006-03-13 Thread olivier
\ignorespaces \externalfigure[Pachiraaquatica.jpg][width=.5\paperwidth] \unskip \quad \ignorespaces \getbuffer[caracteristiques] \unskip \egroup \stopalignment \stoptext and the answer from texmfstart newtexexec.rb --autopdf --pdf pachira-quest.tex (texexec 5.4.3, texutil 9.0.0

Re: [NTG-context] Follow up: Quote before chapter?

2006-02-17 Thread Hans Hagen
that comes with the� chapter I want to have that appear on the opposing side. G \def\MyChapter[#1]% {\doifsomething{#1} {\page[left] \setupheader[state=empty] \startnarrower[3*left,4*right] \getbuffer[#1]% \stopnarrower \page} \chapter} \setuphead[section

Re: [NTG-context] audio files in pdf

2006-02-10 Thread luigi scarso
Floyd \startTEXpage \button [width=fit,height=fit,align=middle,offset=1em, frame=off,foregroundcolor=middleblue, background=color,backgroundcolor=middleyellow] {\nohyphens \getbuffer[text]} [JS(SpeakToMe{{\directsetup{text}}}] \stopTEXpage \stoptext

Re: [NTG-context] last natural table column longer

2006-01-21 Thread Vit Zyka
]}]\bTD between \eTD\eTR \dorecurse{100}{\bTR\bTD cell #1\eTD\eTR} \eTABLE \stopbuffer \starttext \startcolumns \getbuffer[table] \stopcolumns \stoptext -- Vit ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo

Re: [NTG-context] Figures in a table?

2006-01-20 Thread Hans Hagen
,\infty)$ \eTD \eTR \bTR \bTD \externalfigure[realline7] \eTD \bTD $\{x:\,x\le3\}$ \eTD \bTD $(-\infty,3]$ \eTD \eTR \eTABLE \stopbuffer \placefigure[][tbl:numlines] {Table} {\getbuffer[table]} However, two things: 1. My figures are not centered in their first column. somehow strut=no does

Re: [NTG-context] [Fwd: after=\page in natural tables]

2006-01-20 Thread Vit Zyka
\eTR \eTABLE \stopbuffer \starttext \getbuffer[table3] \stoptext --- does not work. Here is a log from live-wiki: (./texweb-table3.tmp ! Use of \dododecrement doesn't match its definition. \doifnextcharelse ...token =#1\def \!!stringa {#2

Re: [NTG-context] math

2006-01-20 Thread David Arnold
% % \def\stopsplit % {\doalignNR[+][]\crcr % for a number on last line %\stopalign} %D \startbuffer %D \placeformula \startformula \eqalignno { %D a = b \formulanumber \cr %D c = d \cr %D= e \cr %D= f \formulanumber %D } \stopformula %D \stopbuffer %D %D \typebuffer \getbuffer %D %D

[NTG-context] xml and buffers

2006-01-19 Thread Junod Antoine
]\XMLpar{meta}{content}{}\stopbuffer}{} \XMLifequalelse{meta}{name}{date} {\startbuffer[date]\XMLpar{meta}{content}{}\stopbuffer}{} \defineXMLenvironment [title] {\startstandardmakeup \getbuffer[course_name

Re: [NTG-context] xml and buffers

2006-01-19 Thread Hans Hagen
[course_name]\XMLpar{meta}{content}{}\stopbuffer}{} \XMLifequalelse{meta}{name}{date} {\startbuffer[date]\XMLpar{meta}{content}{}\stopbuffer}{} \defineXMLenvironment [title] {\startstandardmakeup \getbuffer[course_name

[NTG-context] \getbuffer question

2006-01-19 Thread David Arnold
All, If you do something like: \startbuffer \setupYadaYada . . . . \stopbuffer Then you do: \getbuffer will the setup be in a group, and only pertain to the stuff set with \getbuffer? ___ ntg-context mailing list ntg-context@ntg.nl http

Re: [NTG-context] Figures in a table?

2006-01-19 Thread David Arnold
\bTD \externalfigure[realline7] \eTD \bTD $\{x:\,x\le3\}$ \eTD \bTD $(-\infty,3]$ \eTD \eTR \eTABLE \stopbuffer \placefigure[][tbl:numlines] {Table} {\getbuffer[table]} However, two things: 1. My figures are not centered in their first column. 2. I'd like to add a little height to the last four

Re: [NTG-context] xml and buffers

2006-01-19 Thread Junod Antoine
] {\startstandardmakeup \getbuffer[course_name] \getbuffer[date]}{\stopstandardmakeup} But it does not print anything else than the title. buffers serve a different purpose and are part if a text flow \starttext

<    4   5   6   7   8   9   10   >