Re: [NTG-context] base- vs. node-kerning

2009-04-04 Thread Hans Hagen
[MinBase][name:minionpro-regular*base] \definefont[MinNode][name:minionpro-regular*node] % \definefont[MinBase][Serif*base] % \definefont[MinNode][Serif*node] \starttext \startbuffer[Kerning] \startlines Wer Tat Ver VAI \stoplines \stopbuffer \startTEXpage \startoverlay {\hbox

Re: [NTG-context] base- vs. node-kerning

2009-04-04 Thread Andreas Harder
\startTEXpage \startoverlay {\hbox to 1cm {\vbox{\MinBase\darkred{\getbuffer[Kerning] {\hbox to 1cm {\vbox{\MinNode{\getbuffer[Kerning] \stopoverlay \stopTEXpage \stoptext ok, fixed in next beta (if your're in a hurry i can send you a patch); bug was introduced when finishing

[NTG-context] \framed (and others) don't honor directional switches

2009-04-03 Thread Khaled Hosny
framed, framedtext, TEXpage (and may be others), no longer honor directional switches. I'm sure TEXpage at least was OK a month ago. \pagedir TRT\bodydir TRT\pardir TRT\textdir TRT \starttext \startTEXpage \input tufte \stopTEXpage \framed{Hello world} \startframedtext \input tufte

Re: [NTG-context] \framed (and others) don't honor directional switches

2009-04-03 Thread Hans Hagen
Khaled Hosny wrote: framed, framedtext, TEXpage (and may be others), no longer honor directional switches. I'm sure TEXpage at least was OK a month ago. \pagedir TRT\bodydir TRT\pardir TRT\textdir TRT \starttext \startTEXpage \input tufte \stopTEXpage \framed{Hello world} \startframedtext

Re: [NTG-context] \framed (and others) don't honor directional switches

2009-04-03 Thread Khaled Hosny
On Fri, Apr 03, 2009 at 02:55:56PM +0200, Hans Hagen wrote: Khaled Hosny wrote: framed, framedtext, TEXpage (and may be others), no longer honor directional switches. I'm sure TEXpage at least was OK a month ago. \pagedir TRT\bodydir TRT\pardir TRT\textdir TRT \starttext \startTEXpage

Re: [NTG-context] \framed (and others) don't honor directional switches

2009-04-03 Thread Hans Hagen
\startTEXpage \input tufte \stopTEXpage \framed{Hello world} \startframedtext \input tufte \stopframedtext \startbackground \input tufte \stopbackground \stoptext if so then it's a side effect of changesin the engine (changes in rl handling are dangerous because macro packages are internally lr

Re: [NTG-context] \framed (and others) don't honor directional switches

2009-04-03 Thread Hans Hagen
\startTEXpage \input tufte \stopTEXpage \framed{Hello world} \startframedtext \input tufte \stopframedtext \startbackground \input tufte \stopbackground \stoptext if so then it's a side effect of changesin the engine (changes in rl handling are dangerous because macro packages are internally lr

[NTG-context] base- vs. node-kerning

2009-04-03 Thread Andreas Harder
-regular*base] \definefont[MinNode][name:minionpro-regular*node] % \definefont[MinBase][Serif*base] % \definefont[MinNode][Serif*node] \starttext \startbuffer[Kerning] \startlines Wer Tat Ver VAI \stoplines \stopbuffer \startTEXpage \startoverlay {\hbox to 1cm {\vbox

Re: [NTG-context] \framed (and others) don't honor directional switches

2009-04-03 Thread Khaled Hosny
On Fri, Apr 03, 2009 at 11:17:25PM +0200, Hans Hagen wrote: a better example of the mess we're dealing with: \starttext \pagedir TRT \bodydir TRT \pardir TRT \textdir TRT \startTEXpage \input tufte \stopTEXpage \pagedir TLT \bodydir TRT \pardir TRT \textdir TRT \startTEXpage \input

[NTG-context] [Fwd: Re: math preview in emacs]

2009-03-05 Thread Mohamed Bana
understood was why it is hard to port preview-latex to ConTeXt, especially for displays. For displays and floats, all preview latex does is create a pdf/png; in ConTeXt, we can get that easily by using \startTEXpage ... \stopTEXpage around the environment. I assume that this would be easy

Re: [NTG-context] mkiv ppchtex greek character bug

2009-02-25 Thread Hans Hagen
Alan BRASLAU wrote: I confirm that this now works using the current --context=alpha \enableregime[utf] mkiv is utf by default -) (But is still necessary to remain compatible with mkii) the \alpha shows up, the α not (not sure why) you need the mathematical alpha \startTEXpage

Re: [NTG-context] mkiv ppchtex greek character bug

2009-02-25 Thread Mojca Miklavec
need the mathematical alpha \startTEXpage        \startchemical[width=fit,height=fit]  \chemical[ONE,Z0,MOV1,SB5,Z0][C_{\alpha},C_{\utfchar{1D6FC}}]        \stopchemical \stopTEXpage OK, I see that TeX input is to be retained... However, note that $K_α$ works, so there must be some

Re: [NTG-context] mkiv ppchtex greek character bug

2009-02-24 Thread Hans Hagen
example (and attached pdf results). \enableregime[utf] \usemodule[chemic] \starttext \startTEXpage \startchemical[width=fit,height=fit] \chemical[ONE,Z0,MOV1,SB5,Z0][C_{\alpha},C_α] \stopchemical \stopTEXpage \stoptext (Under mkiv, the \alpha becomes an ff ligature

Re: [NTG-context] mkiv ppchtex greek character bug

2009-02-24 Thread Hans Hagen
Hans Hagen wrote: the \alpha shows up, the α not (not sure why) you need the mathematical alpha \startTEXpage \startchemical[width=fit,height=fit] \chemical[ONE,Z0,MOV1,SB5,Z0][C_{\alpha},C_{\utfchar{1D6FC}}] \stopchemical \stopTEXpage

[NTG-context] Minimals and dvipng

2009-01-20 Thread Jean Magnan de Bornier
Hi all, My TeX setup: TeXLive (systemwide) for evetything but ConTeXt, and the minimals for ConTeXt, in my userspace. I have some issues using dvipng with minimals. I first compile this file with texexec: .. \setupoutput[dvi] \enableregime[utf] \starttext \startTEXpage $ SP

[NTG-context] Kerning and Minion Pro

2009-01-16 Thread Andreas Harder
=node] \definefontfeature[nonekerned][default][mode=base,kern=no] \starttext \startbuffer[KernTest] \startlines Av, AV, LT, LV, Ly, TA, To, Ty, Te, T. Va, V., Ya, Yo, Y. \stoplines \stopbuffer \startTEXpage % Minion Pro \startoverlay {\vbox{\red \definedfont[name:MinionPro

[NTG-context] trick

2008-12-11 Thread Hans Hagen
The next trick is dedicated to Aditya ... % engine=luatex \unprotect \def\Hack#1#2% {\pdfliteral{/Span /ActualText \ctxlua{pdf.hexify(\!!bs\detokenize{#1}\!!es)} BDC}#2\pdfliteral{EMC}} \protect \def\Formula#1{\Hack{#1}{$#1$}} \startTEXpage[offset=3pt] test \Formula{e + a = mc^2

Re: [NTG-context] \definefont problem with latest beta (mkiv)

2008-11-13 Thread Peter Rolf
] \ifnum\contextmarkmode=4 \usetypescript[tahoma] \else \usetypescript[ms] [tahoma] \fi \setupbodyfont[tahoma] \starttext \startTEXpage \showstruts \tfd \setstrut \framed[strut=no]{\ruledhbox{\begstrut tfd: qgjyQWT\endstrut}} \stopTEXpage \stoptext %% TTF (part of Windows XP) \ifnum

Re: [NTG-context] Has anybody used asymptote without LaTeX?

2008-09-28 Thread Alan BRASLAU
PROTECTED] http://www-dna2006.cea.fr/ .''`. : :' : `. `'` `- that I have adapted to context. (I have put the author on copy.) Basically, the only changes to the latex source are \usepackage{preview} - \startTEXpage \stopTEXpage \begin{tikzpicture} - \starttikzpicture and a few other minor syntax

Re: [NTG-context] Has anybody used asymptote without LaTeX?

2008-09-28 Thread Zhichu Chen
/ .''`. : :' : `. `'` `- that I have adapted to context. (I have put the author on copy.) Basically, the only changes to the latex source are \usepackage{preview} - \startTEXpage \stopTEXpage \begin{tikzpicture} - \starttikzpicture and a few other minor syntax adaptations...) Alan % What

Re: [NTG-context] Has anybody used asymptote without LaTeX?

2008-09-28 Thread Yue Wang
.) Basically, the only changes to the latex source are \usepackage{preview} - \startTEXpage \stopTEXpage \begin{tikzpicture} - \starttikzpicture and a few other minor syntax adaptations...) Alan % What is it % == % % Examples inspired by the thread at comp.text.tex about how to convert some

[NTG-context] IgnoreMarks flag is ignored in contextual chaining substitution OpenType tables

2008-07-03 Thread Khaled Hosny
,fina=yes,isol=yes, liga=yes,dlig=yes,rlig=yes,clig=yes, mark=yes,mkmk=yes,calt=yes, kern=yes,curs=yes] \font\Arabic = arabtype*arab at 100pt \starttext \startTEXpage \relax \setupcolors[state=start]% \textdir TRT\pardir TRT\Arabic \ تثت تَثْتَ \crlf \stopTEXpage \stoptext

Re: [NTG-context] Trivial question about texexec --pdfsplit

2008-07-02 Thread Wolfgang Schuster
page a new tex document in the following form. \starttext \startTEXpage \externalfigure[document][page=...] \stopTEXpage \stoptext It could be possible the resulting pdf file is not renamed and overwritten from the next page and you end with the last page only (untested). If you want to split pdf

Re: [NTG-context] problem with layer: corner doesn't work

2008-06-16 Thread Wolfgang Schuster
parameter but only with numeric placement of the reference point: Another way to get the same result, to get the layout on a A4 page you have to set extra values for TEXpage. \setuppapersize[CD][CD] \starttext \startTEXpage %\startTEXpage[width=210mm,height=297mm,align={middle,lohi}] \bTABLE[width=.5

Re: [NTG-context] clipping bug [or the return of the long cat]

2008-06-11 Thread Wolfgang Schuster
\doifdefinedelse{MPC:#1} {\xdef\MPclippath{\getvalue{MPC:#1}}% \ifx\MPclippath\empty\xdef\MPclippath{#5}\fi \setxvalue{MPC:#1}{\MPclippath}} {\xdef\MPclippath{#5}}% \elabelgroup} there seem to be an ugly sideeffect in combination with \startTEXpage .. \stopTEXpage. I use

Re: [NTG-context] clipping bug [or the return of the long cat]

2008-06-11 Thread Wolfgang Schuster
} {\xdef\MPclippath{\getvalue{MPC:#1}}% \ifx\MPclippath\empty\xdef\MPclippath{#5}\fi \setxvalue{MPC:#1}{\MPclippath}} {\xdef\MPclippath{#5}}% \elabelgroup} there seem to be an ugly sideeffect in combination with \startTEXpage .. \stopTEXpage. I use this to encapsulate

Re: [NTG-context] clipping bug [or the return of the long cat]

2008-06-11 Thread Hans Hagen
\MPclippath{\getvalue{MPC:#1}}% \ifx\MPclippath\empty\xdef\MPclippath{#5}\fi \setxvalue{MPC:#1}{\MPclippath}} {\xdef\MPclippath{#5}}% \elabelgroup} there seem to be an ugly sideeffect in combination with \startTEXpage .. \stopTEXpage. I use this to encapsulate my test

Re: [NTG-context] clipping bug [or the return of the long cat]

2008-06-11 Thread Peter Rolf
:#1} {\xdef\MPclippath{\getvalue{MPC:#1}}% \ifx\MPclippath\empty\xdef\MPclippath{#5}\fi \setxvalue{MPC:#1}{\MPclippath}} {\xdef\MPclippath{#5}}% \elabelgroup} there seem to be an ugly sideeffect in combination with \startTEXpage .. \stopTEXpage. I use

Re: [NTG-context] clipping bug [or the return of the long cat]

2008-06-11 Thread Hans Hagen
Peter Rolf wrote: Hans Hagen schrieb: Peter Rolf wrote: hmmm, another try (but same result) can you try the latest beta? i added some hboxes around the graphics sorry, still not working here. it's not related to mp at all \starttext \startTEXpage \framed[width=10cm,height

Re: [NTG-context] clipping bug [or the return of the long cat]

2008-06-11 Thread Peter Rolf
Hans Hagen schrieb: Peter Rolf wrote: Hans Hagen schrieb: Peter Rolf wrote: hmmm, another try (but same result) can you try the latest beta? i added some hboxes around the graphics sorry, still not working here. it's not related to mp at all \starttext \startTEXpage

Re: [NTG-context] clipping bug [or the return of the long cat]

2008-06-10 Thread Peter Rolf
\xdef\MPclippath{#5}\fi \setxvalue{MPC:#1}{\MPclippath}} {\xdef\MPclippath{#5}}% \elabelgroup} there seem to be an ugly sideeffect in combination with \startTEXpage .. \stopTEXpage. I use this to encapsulate my test graphics. The resulting page is only 1.1mm width (tested

Re: [NTG-context] clipping bug [or the return of the long cat]

2008-06-10 Thread Hans Hagen
\MPclippath\empty\xdef\MPclippath{#5}\fi \setxvalue{MPC:#1}{\MPclippath}} {\xdef\MPclippath{#5}}% \elabelgroup} there seem to be an ugly sideeffect in combination with \startTEXpage .. \stopTEXpage. I use this to encapsulate my test graphics. The resulting page is only

Re: [NTG-context] clipping bug [or the return of the long cat]

2008-06-10 Thread Peter Rolf
{MPC:#1}}% \ifx\MPclippath\empty\xdef\MPclippath{#5}\fi \setxvalue{MPC:#1}{\MPclippath}} {\xdef\MPclippath{#5}}% \elabelgroup} there seem to be an ugly sideeffect in combination with \startTEXpage .. \stopTEXpage. I use this to encapsulate my test graphics

Re: [NTG-context] missing btex ..etex in mp figure

2008-05-17 Thread Hans Hagen
Taco Hoekwater wrote: luigi scarso wrote: In \starttext \startTEXpage \startlua metapost.process(metafun,{beginfig(1);, a=.7in; b=0.5in;, z0=(0,0); z1=(a,0); z2=(0,b);, z0=.5[z1,z3]=.5[z2,z4];, draw z1..z2..z3..z4..cycle;, drawarrow z0..z1;, drawarrow z0..z2;, label.top(btex

Re: [NTG-context] missing btex ..etex in mp figure

2008-05-17 Thread luigi scarso
Ok. In next example, f0 is hide \starttext \startTEXpage\startMPcode %beginfig(2); h=2in; w=2.7in; path p[], q[], pp; for i=1.5,2,4: ii := i**2; p[i] = (w/ii,h){1/ii,-1}...(w/i,h/i)...(w,h/ii){1,-1/ii}; endfor for i=.5,1.5: q[i] = origin..(w,i*h) cutafter p1.5; endfor pp = buildcycle

Re: [NTG-context] missing btex ..etex in mp figure

2008-05-16 Thread Taco Hoekwater
luigi scarso wrote: In \starttext \startTEXpage \startlua metapost.process(metafun,{beginfig(1);, a=.7in; b=0.5in;, z0=(0,0); z1=(a,0); z2=(0,b);, z0=.5[z1,z3]=.5[z2,z4];, draw z1..z2..z3..z4..cycle;, drawarrow z0..z1;, drawarrow z0..z2;, label.top(btex $a$ etex, .5[z0,z1

[NTG-context] missing btex ..etex in mp figure

2008-05-15 Thread luigi scarso
In \starttext \startTEXpage \startlua metapost.process(metafun,{beginfig(1);, a=.7in; b=0.5in;, z0=(0,0); z1=(a,0); z2=(0,b);, z0=.5[z1,z3]=.5[z2,z4];, draw z1..z2..z3..z4..cycle;, drawarrow z0..z1;, drawarrow z0..z2;, label.top(btex $a$ etex, .5[z0,z1]);, label.lft(btex $b$ etex, .5[z0,z2

Re: [NTG-context] Standalone chart

2008-04-26 Thread Peter Rolf
\bodyfontsize, height=7\bodyfontsize, maxwidth=\textwidth] %%% \stopMPinclusions \starttext %%% \startMPpage \startTEXpage \startFLOWchart[SIRS] \stopFLOWchart \FLOWchart[SIRS] %%% \stopMPpage \stopTEXpage \stoptext But I am getting the following error. Any suggestions? i never

Re: [NTG-context] graphictext broken

2008-04-19 Thread Peter Rolf
1.003 (Web2C 7.5.6) (r:/tex/texmf-mswin/web2c/natural.tcx) (graphictext-mpgraph.mp savegraphictext ! Isolated expression. to be read again ( dographictext-...ntgraphictext+1;savegraphictext( \startTEXpage[scale=1... to be read again withdrawcolor l.149

Re: [NTG-context] a sort of marking

2008-04-09 Thread Andrea Valle
1) Why don't you play with \startTEXpage ? Because I don't know how does it work 2) Andare a dormire :) ? Io ci sono andato! :) -a- -- luigi it's new . it's powerful . it's luatex . http://www.luatex.org

Re: [NTG-context] a sort of marking

2008-04-09 Thread luigi scarso
On Wed, Apr 9, 2008 at 9:23 AM, Andrea Valle [EMAIL PROTECTED] wrote: 1) Why don't you play with \startTEXpage ? Because I don't know how does it work $ cd tex/texmf-local/tex/context/base $ grep startTEXpage * (hint: see page-app.tex) Use the source, luke ! -- luigi it's new . it's

Re: [NTG-context] Minimal size of page

2008-02-16 Thread Wolfgang Schuster
: \startMPpage ... \stopMPpage but I guess I can't use that here! \starttext \startTEXpage $$ c^2=a^2+b^2 $$ \stopTEXpage \stoptext The $$ pair give a better result in this case than the normal formula environment. Wolfgang

Re: [NTG-context] Minimal size of page

2008-02-16 Thread Jean Magnan de Bornier
the same thing for a | metapost/fun graphic sometime ago, the answer had been: | \startMPpage | ... | \stopMPpage | | but I guess I can't use that here! | \starttext | \startTEXpage | $$ | c^2=a^2+b^2 | $$ | \stopTEXpage | \stoptext | The $$ pair give a better result in this case than

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
\starttable[text|name] \stoptable \starttables[text|name] \stoptables \starttabulate[text][settings] \stoptabulate # \startTEXpage \stopTEXpage # \starttext \stoptext # \starttextbackground \stoptextbackground # \starttextdata \stoptextdata \starttextrule[top|bottom]{text} \stoptextrule \starttyping

Re: [NTG-context] preview-context

2007-12-24 Thread Gour
as \startTEXpage \startformula formula \stopformula \stopTEXpage. Lilypond and gnuplot modules already do something similar. Then process the temporary tex file. You will get a pdf file with one formula on each page. Convert each page into png, and use some lisp magic to insert the image

Re: [NTG-context] preview-context

2007-12-24 Thread Hans Hagen
Aditya Mahajan wrote: Run context with a custom module, which writes the content of each \startformula formula \stopformula into a temporary file as \startTEXpage \startformula formula \stopformula \stopTEXpage. Lilypond and gnuplot modules already do something similar. Then process

Re: [NTG-context] preview-context

2007-12-23 Thread Aditya Mahajan
, this is how I would do it. Run context with a custom module, which writes the content of each \startformula formula \stopformula into a temporary file as \startTEXpage \startformula formula \stopformula \stopTEXpage. Lilypond and gnuplot modules already do something similar. Then process

Re: [NTG-context] Images centered on page

2007-11-24 Thread Wolfgang Schuster
]{\flushnextbox}}\hss}% \fi \setbox\nextbox\hbox{\clip[\c!width=\paperwidth,\c!height=\paperheight]{\flushnextbox}}% \startTEXpage \flushnextbox \stopTEXpage \egroup} \hbox} \protect \starttext \fullpagebox{\externalfigure[image

Re: [NTG-context] Images centered on page

2007-11-23 Thread Wolfgang Schuster
} \dorecurse{9} {\startTEXpage[width=210mm,height=297mm] \centeredbox{\externalfigure[Image-\fivedigits\recurselevel]} \stopTEXpage} Wolfgang ___ If your question is of interest to others as well, please add

Re: [NTG-context] Images centered on page

2007-11-23 Thread Wolfgang Schuster
\setbox\nextbox\hbox\!!to\paperwidth{\hss\expanded{\scale[\c!height=\paperheight]{\flushnextbox}}\hss}% \fi \setbox\nextbox\hbox{\clip[\c!width=\paperwidth,\c!height=\paperheight]{\flushnextbox}}% \startTEXpage \flushnextbox \stopTEXpage \egroup} \hbox

Re: [NTG-context] Images centered on page

2007-11-23 Thread Idris Samawi Hamid
=\paperheight]{\flushnextbox}}% \startTEXpage \flushnextbox \stopTEXpage \egroup} \hbox} \protect \starttext \fullpagebox{\externalfigure[image]} \stoptext Now THAT's the 1st-class gangster we know and love so much ;-) Question: How can we, if desired, fit

[NTG-context] PNG output

2007-07-12 Thread w . neimeijer
I want to convert my standalone formulas to PNG to display these formulas on my website. What I am doing is the following \starttext \startTEXpage \startformula e^{i x} = \cos x + i \sin x \stopformula \stopTEXpage \stoptext and process this via texexec --pdf to get a PDF file. I tried

Re: [NTG-context] PNG output

2007-07-12 Thread zs
:32 +0200 (CEST) [EMAIL PROTECTED] wrote: I want to convert my standalone formulas to PNG to display these formulas on my website. What I am doing is the following \starttext \startTEXpage \startformula e^{i x} = \cos x + i \sin x \stopformula \stopTEXpage \stoptext and process

Re: [NTG-context] PNG output

2007-07-12 Thread George N. White III
On 7/12/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I want to convert my standalone formulas to PNG to display these formulas on my website. What I am doing is the following \starttext \startTEXpage \startformula e^{i x} = \cos x + i \sin x \stopformula \stopTEXpage \stoptext

Re: [NTG-context] PNG output

2007-07-12 Thread George N. White III
the grays by dithering). On Thu, 12 Jul 2007 21:28:32 +0200 (CEST) [EMAIL PROTECTED] wrote: I want to convert my standalone formulas to PNG to display these formulas on my website. What I am doing is the following \starttext \startTEXpage \startformula e^{i x} = \cos x + i

Re: [NTG-context] PNG output

2007-07-12 Thread w . neimeijer
Are you using the current version of gs? I am using gswin32c 8.53 on Windows What does not so good mean I just discovered the \startTEXpage \stopTEXpage to produce standalone PDF's for all my formulas. Then I took gswin32c to produce PNG's with gswin32c -dNOPAUSE -sDEVICE=png256 -sOutputFile

Re: [NTG-context] PNG output

2007-07-12 Thread Aditya Mahajan
On Thu, 12 Jul 2007, [EMAIL PROTECTED] wrote: I want to convert my standalone formulas to PNG to display these formulas on my website. What I am doing is the following \starttext \startTEXpage \startformula e^{i x} = \cos x + i \sin x \stopformula \stopTEXpage \stoptext and process

Re: [NTG-context] Howto have page size to fit with image size

2007-06-20 Thread Patrick Gundlach
Jean Magnan de Bornier [EMAIL PROTECTED] writes: Hi all, I want to produce a unique metapost image which should be alone on its page and its file, and I want to have a page the size of the image, whichever this size is. use \startTEXpage: \setupcolors[state=start] %\setuplayout[width=fit

Re: [NTG-context] Howto have page size to fit with image size

2007-06-20 Thread Wolfgang Schuster
this size is. use \startTEXpage: \setupcolors[state=start] %\setuplayout[width=fit,height=fit] \starttext \startTEXpage \startuseMPgraphic{dummy} fill fullcircle scaled 5cm withcolor red ; \stopuseMPgraphic \useMPgraphic{dummy} \stopTEXpage \stoptext Patrick we have also

Re: [NTG-context] Howto have page size to fit with image size

2007-06-20 Thread Jean Magnan de Bornier
on its | page and its file, and I want to have a page the size of the image, | whichever this size is. | | use \startTEXpage: | | \setupcolors[state=start] | %\setuplayout[width=fit,height=fit] | \starttext | \startTEXpage | \startuseMPgraphic{dummy} |fill fullcircle scaled 5cm

Re: [NTG-context] hotkey definitions again

2007-05-12 Thread Wolfgang Schuster
%D this feature with \PDF\ specials %D \stopitemize %D %D my first example (and my own testcase) shows all new options: %D %D \starttyping %D \startTEXpage %D %D \framed %D [linestyle=dashed, %D leftrule=\linewidth, %D toprule=2\linewidth, %D rightrule=3\linewidth, %D bottomrule=4

Re: [NTG-context] Relationship among mptopdf, mpost and latex

2007-03-29 Thread luigi scarso
\startuniqueMPgraphic{foo} externalfigure pic.png scaled 15mm shifted origin; label.bot(btex $x$ etex, origin);% \stopuniqueMPgraphic \uniqueMPgraphic{foo} \stoptext $texmfstart texexec --pdf test.tex Variant \starttext \startTEXpage \startuniqueMPgraphic{foo} externalfigure

Re: [NTG-context] including pdf and using the entire page

2007-02-04 Thread Aditya Mahajan
]% \getparameters[\??ip] [\c!n=\noffigurepages, \c!marking=\v!off, \c!scale=\!!thousand, \c!offset=\!!zeropoint, #2]% \dorecurse\@@ipn {\startTEXpage[\c!width=\paperwidth,\c!height=\paperheight,\c!offset=\@@ipoffset] \externalfigure [#1

Re: [NTG-context] including pdf and using the entire page

2007-02-04 Thread Johan Sandblom
=\!!thousand, \c!offset=\!!zeropoint, #2]% \dorecurse\@@ipn {\startTEXpage[\c!width=\paperwidth,\c!height=\paperheight,\c!offset=\@@ipoffset] \externalfigure [#1] [\c!page=\recurselevel,\c!width=\paperwidth,\c!height=\paperheight,\c!factor=\v!max,#2

Re: [NTG-context] rightframe=on

2007-01-10 Thread andrea valle
(it doesn't appears in core-modu.pdf) % \startTEXpage % \dontleavehmode\framed % [corner=0,frame=on,framecolor=green, % background=color,backgroundcolor=yellow]{\tttf TEST \twodigits\recurselevel}% % \vskip1em % \dontleavehmode\dostepwiserecurse {1} {4}{1

Re: [NTG-context] placing a tikz/pgf figure

2007-01-10 Thread Willi Egger
to have the figures prepared in a separate pdf-file by means of \startTEXpage -- \stopTEXpage. Afterwards I include the TEXpages with \externalfigure referencing the page in the file obtained. -- In my experience this makes the runs faster. willy, what do i need to install to get

Re: [NTG-context] placing a tikz/pgf figure

2007-01-09 Thread Willi Egger
prepared in a separate pdf-file by means of \startTEXpage -- \stopTEXpage. Afterwards I include the TEXpages with \externalfigure referencing the page in the file obtained. -- In my experience this makes the runs faster. Kind regards Willi M.J. Kallen wrote: Hi all, I'm trying

Re: [NTG-context] placing a tikz/pgf figure

2007-01-09 Thread Hans Hagen
to have the figures prepared in a separate pdf-file by means of \startTEXpage -- \stopTEXpage. Afterwards I include the TEXpages with \externalfigure referencing the page in the file obtained. -- In my experience this makes the runs faster. willy, what do i need to install to get

Re: [NTG-context] placing a tikz/pgf figure

2007-01-09 Thread Mojca Miklavec
leftaligned. -- In such cases I prefer to have the figures prepared in a separate pdf-file by means of \startTEXpage -- \stopTEXpage. Afterwards I include the TEXpages with \externalfigure referencing the page in the file obtained. -- In my experience this makes the runs faster. willy, what

Re: [NTG-context] rightframe=on

2007-01-09 Thread luigi scarso
Inside last core-rule.tex (it doesn't appears in core-modu.pdf) % \startTEXpage % \dontleavehmode\framed % [corner=0,frame=on,framecolor=green, % background=color,backgroundcolor=yellow]{\tttf TEST \twodigits\recurselevel}% % \vskip1em % \dontleavehmode

Re: [NTG-context] resource libraries

2006-10-25 Thread Hans Hagen
with many nested xforms; think of something \startTEXpage \externalfigure[yourbase.pdf][page=1,object=no] \stopTEXpage another option is to use pdfimages (which can extract bitmaps); it's probably no big deal to extend rlxtools with an option do extract the images and give them their original

Re: [NTG-context] Natural table + interlinespacing

2006-10-11 Thread Hans Hagen
][corner=8] \setupTABLE [last] [2][corner=5] \setupTABLE [first][last] [corner=7] \setupTABLE [last] [last] [corner=6] \startTEXpage \bTABLE[frame=off,align=middle] \bTR \bTD one \eTD \bTD two\eTD \bTD three \eTD \eTR \bTR \bTD first \eTD \bTD second \eTD \bTD third \eTD \eTR \bTR

Re: [NTG-context] beta

2006-09-11 Thread Willi Egger
Hi, without the discussion whether or not to brave ... :-) I tested the new beta on some 50 Metapost/Metafun graphics. In one case I had the figures just placed with \useMPgraphic. In the other case the figures where setup as \startTEXpage. As far as I can see the pictures look ok. Willi

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

2006-09-06 Thread Aditya Mahajan
that you want, setupheaders and footers in a mirror manner. Finally insert a blank page right at the begining; you can use \startTEXpage[width=\paperwidth, height=\paperheight] and this will not affect the normal pagenumbering. Then you can fool context to do what you want. Aditya

Re: [NTG-context] Extra vertical space in intertext

2006-08-16 Thread Mojca Miklavec
. Another example with strange results: \starttext \startTEXpage \chapter{Bla} Hello world!\crlf Hello world! \stopTEXpage \stoptext I guess that \startTEXpage should be fixed before you start hacking any math settings. Mojca ___ ntg-context mailing list ntg

[NTG-context] Extra vertical space in intertext

2006-08-15 Thread Aditya Mahajan
. \setupformulas[align=right,spacebefore=none,spaceafter=none] % There appears to be extra space, even if I put % spacebefore=spaceafter=big % align = right is for visualization purpose only \starttext \startTEXpage \startformula \startalign \NC A \NC B \NR \intertext{test} \NC C \NC D

Re: [NTG-context] staticMPfigure fonts

2006-07-21 Thread Aditya Mahajan
label.top(btex $a$ first etex,origin) ; \stopMPpage \stoptext The same thing happens in The temp file that is created has \loadmapfile[...] in the begining, and with that the following works correctly. \starttext \setupoutput[pdftex] \setupcolors[state=start] \startTEXpage

Re: [NTG-context] infinite paper height

2006-07-18 Thread Taco Hoekwater
Hans Hagen wrote: \starttext \startTEXpage your 4 meter poem \stopTEXpage \stoptext doh! ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] infinite paper height

2006-07-18 Thread Mojca Miklavec
.) \setuplayout [width=8cm] \definepapersize [infinite] [width=12cm, height=100cm] \setuppapersize [infinite] [infinite] \starttext \startTEXpage your 4 meter poem \stopTEXpage \stoptext Thank you, that's great! I knew about

Re: [NTG-context] infinite paper height

2006-07-18 Thread Adam Lindsay
with \startTEXpage . Very handy command, that. :) -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED] Lancaster University, InfoLab21+44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492

Re: [NTG-context] infinite paper height

2006-07-18 Thread Mojca Miklavec
that, but I assume that InDesign should be able to handle that - if not, I'll think about that after the problems arise). Yes. See Hans's reply with \startTEXpage . Very handy command, that. :) He replied faster than I noted ;) Yes, \startTEXpage it's *the* solution that I wanted, only the vertical

Re: [NTG-context] staticMPfigure fonts

2006-07-18 Thread Aditya Mahajan
\starttext \startMPpage label.top(btex $a$ first etex,origin) ; \stopMPpage \stoptext The same thing happens in \starttext \setupoutput[pdftex] \setupcolors[state=start] \startTEXpage \convertMPtoPDF{t1-mpgraph.1}{1}{1} \stopTEXpage \stoptext where t1-mpgraph.1 is the eps file created

Re: [NTG-context] 2006.07.13 release notes (MP-related)

2006-07-18 Thread Aditya Mahajan
. Everything between \startstaticMPfigure{name}...\stopstaticMPfigure is written to \jobname-name.mp. A pdf file is generated using texexec --mpgraphic which creates a temp file in the background with \starttext \setupoutput[pdftex] \setupcolors[state=start] \startTEXpage \convertMPtoPDF{mpfilename}{1

Re: [NTG-context] \pagefigure does not increment page number

2006-05-24 Thread Aditya Mahajan
!overlay,#2]% \startTEXpage[\c!offset=\@@exoffset]% \incrementnumber[page] % Added \externalfigure[#1][#2]\ignorespaces} % so we can put some text below the graphic \def\stopnumpagefigure {\stopTEXpage \egroup} \def\numpagefigure {\dodoubleempty\donumpagefigure} \def

Re: [NTG-context] \setuppapersize and \startMPpage

2006-05-11 Thread Hans Hagen
of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008 \definepapersize[thesis][width=169mm, height=239mm] \setuppapersize[thesis][A4] \definelayer[page][width=\paperwidth,height=\paperheight] \starttext \startTEXpage \setlayer [page] [preset

Re: [NTG-context] \setuppapersize and \startMPpage

2006-05-11 Thread Johan Sandblom
2006/5/11, Hans Hagen [EMAIL PROTECTED]: \definepapersize[thesis][width=169mm, height=239mm] \setuppapersize[thesis][A4] \definelayer[page][width=\paperwidth,height=\paperheight] \starttext \startTEXpage \setlayer [page] [preset=lefttop,x=3cm,y=4cm

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

[NTG-context] betex -etex block parsing bug

2005-12-20 Thread Willi Egger
% then compile and the run will fale! \startuseMPgraphic{TEST} picture Text; Text := \MPbetex{1}; draw Text ; \stopuseMPgraphic \starttext \startTEXpage \useMPgraphic{TEST} \stopTEXpage \stoptext ___ ntg

Re: [NTG-context] color transparency

2005-07-13 Thread Hans Hagen
. \setupcolors[state=start] \definecolor [luigi] [r=1,t=.5,a=1] \definecolor [scarso] [b=1,t=.5,a=1] \starttext \startTEXpage \blackrule[width=2cm,height=2cm,color=luigi]\hskip-1cm \blackrule[width=2cm,height=2cm,color=scarso] \stopTEXpage \stoptext since you could not find the trick

Re: [NTG-context] color transparency

2005-07-13 Thread Brooks Moses
At 12:44 PM 7/13/2005, Hans Hagen wrote: \setupcolors[state=start] \definecolor [luigi] [r=1,t=.5,a=1] \definecolor [scarso] [b=1,t=.5,a=1] \starttext \startTEXpage \blackrule[width=2cm,height=2cm,color=luigi]\hskip-1cm \blackrule[width=2cm,height=2cm,color=scarso] \stopTEXpage \stoptext

Re: [NTG-context] Fonts in Metapost

2005-07-02 Thread Willi Egger
\stopuniqueMPgraphic \starttext \dorecurse{3}{% \startTEXpage \useMPgraphic{\recurselevel} \stopTEXpage} \stoptext Willi Wolfgang Zillig wrote: Hello, I have problems with changeing the font in Metapost. I defined my own typescripts somewhere and I also have a mapfile for that fonts

Re: [NTG-context] metafun not working

2005-06-28 Thread Taco Hoekwater
withfillcolor .7white dashed evenly withpen pencircle scaled 2pt ; endfig; let end=mprunend; end. (if this is wrong, there is a problem in the tex run) MP-mpgraph.mpo file is ok? It should contain: % format=context \global \loadfontfileoncetrue \startTEXpage[scale=1]MP\stopTEXpage

Re: [NTG-context] How to insert a full page pdf.

2005-04-20 Thread luigi.scarso
David Munger wrote: Hi John, John R. Culleton : I need to insert some example pages from one document into another. Both are 8.5 x 11. I have read the old posts about \startTEXpage etc. and looked at the source code. But I still have a few questions: 1. Can I select e.g., just page 2 from

[NTG-context] How to insert a full page pdf.

2005-04-19 Thread John R. Culleton
I need to insert some example pages from one document into another. Both are 8.5 x 11. I have read the old posts about \startTEXpage etc. and looked at the source code. But I still have a few questions: 1. Can I select e.g., just page 2 from the external document to insert in my document? How

Re: [NTG-context] How to insert a full page pdf.

2005-04-19 Thread David Munger
Hi John, John R. Culleton : I need to insert some example pages from one document into another. Both are 8.5 x 11. I have read the old posts about \startTEXpage etc. and looked at the source code. But I still have a few questions: 1. Can I select e.g., just page 2 from the external

Re: [NTG-context] imposition for a pdf file

2005-03-17 Thread Albrecht Kauffmann
-context As usually, not a direct answer... Play with these script %% %% save it as test.tex %% \setupcolors[state=start] \starttext \dorecurse{660}% {\startTEXpage[width=3cm,height=2cm] \vbox to \vsize{\vss \hbox to\hsize{\hss\framed[width=2cm,align={middle,lohi},background=color

Re: [NTG-context] imposition for a pdf file

2005-03-16 Thread luigi.scarso
}% {\startTEXpage[width=3cm,height=2cm] \vbox to \vsize{\vss \hbox to \hsize{\hss\framed[width=2cm,align={middle,lohi},background="" \vss} \stopTEXpage} \stoptext %% %% save as my-imp.tex %% %% \setuplayout here \starttext \centerline{% \externalfigure[test][page=1] \externalfigure[te

Re: [NTG-context] imposition for a pdf file

2005-03-16 Thread Hans Hagen
%% \setupcolors[state=start] \starttext \dorecurse{660}% {\startTEXpage[width=3cm,height=2cm] \vbox to \vsize{\vss \hbox to \hsize{\hss\framed[width=2cm,align={middle,lohi},background=color,backgroundcolor=green]{p.\tfd\recurselevel}\hss} \vss} \stopTEXpage} \stoptext %% %% save as my-imp.tex

Re: [NTG-context] imposition for a pdf file

2005-03-16 Thread Wolfgang Zillig
___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context As usually, not a direct answer... Play with these script %% %% save it as test.tex %% \setupcolors[state=start] \starttext \dorecurse{660}% {\startTEXpage[width=3cm,height=2cm] \vbox to \vsize{\vss

Re: [NTG-context] imposition for a pdf file

2005-03-16 Thread Ciro A. Soto
/listinfo/ntg-context As usually, not a direct answer... Play with these script %% %% save it as test.tex %% \setupcolors[state=start] \starttext \dorecurse{660}% {\startTEXpage[width=3cm,height=2cm] \vbox to \vsize{\vss \hbox to \hsize{\hss\framed[width=2cm,align

<    6   7   8   9   10   11   12   >