[NTG-context] fontserver

2011-03-22 Thread Patrick Gundlach
). The source has a command that is undefined: \starttext \setcharactermirroring[1] \definefontfeature[sample][analyze=yes,mode=node,language=dflt,script=dflt] \definedfont[name:americantypewriter*sample] \startTEXpage[offset=3pt] \detokenize{This is a sample line!} \stopTEXpage

Re: [NTG-context] ... and emoticons

2011-03-19 Thread Wolfgang Schuster
limitedset of black-and-white images a font provides.You can also do a lot with symbol fonts [1]:\startTEXpage[offset=5mm]\definedfont[file:Dingbats2SamplerOT at 80pt]%\dontleavehmode\hsmash{\yellow\fontchar{d.alt001}}\hsmash{\orange\fontchar{d.alt002}}\fontchar{d}\stopTEXpage[1]http

[NTG-context] breaking up long input into metapost pages

2011-03-02 Thread Hans van der Meer
I now have a long input file with many independent sections. For the moment it is processed as follows: \starttext \startTEXpage \startMPcode % variable declarations % macro definitions with drawing code input input_data; \stopMPcode \stopTEXpage \stoptext Now this becomes a bit too large

Re: [NTG-context] Metafun Label and externalfigure Problem

2011-03-01 Thread luigi scarso
as the Label. not here with current version: 2011.02.25 22:03 %%test \starttext \startTEXpage \startMPcode draw origin-(20,0) .. origin+(0,20) .. origin+(20,0) .. origin+(0,-20) .. cycle; label(textext(Test),origin); \stopMPcode \stopTEXpage \stoptext There seems to be a Problem with externalfigure

Re: [NTG-context] Metafun Label and externalfigure Problem

2011-03-01 Thread Lutz Haseloff
not here with current version: 2011.02.25 22:03 %%test \starttext \startTEXpage \startMPcode draw origin-(20,0) .. origin+(0,20) .. origin+(20,0) .. origin+(0,-20) .. cycle; label(textext(Test),origin); \stopMPcode \stopTEXpage \stoptext The problem occures with luatex rev 4088

Re: [NTG-context] Metafun Label and externalfigure Problem

2011-03-01 Thread luigi scarso
On Tue, Mar 1, 2011 at 12:23 PM, Lutz Haseloff lutz.hasel...@googlemail.com wrote: not here with current version: 2011.02.25 22:03 %%test \starttext \startTEXpage \startMPcode draw origin-(20,0) .. origin+(0,20) .. origin+(20,0) .. origin+(0,-20) .. cycle; label(textext(Test),origin

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-23 Thread Hans Hagen
On 23-2-2011 12:11, Curiouslearn wrote: Anyone? If it cannot be done, I would appreciate if someone can say that. I i have no time now, but you can always do \startTEXpage \hskip1cm\externalfigure[...][page=1] \stopTEXpage

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-23 Thread Curiouslearn
again. Context is really awesome. On Wed, Feb 23, 2011 at 6:21 AM, Hans Hagen pra...@wxs.nl wrote: On 23-2-2011 12:11, Curiouslearn wrote: Anyone? If it cannot be done, I would appreciate if someone can say that. I i have no time now, but you can always do \startTEXpage \hskip1cm

Re: [NTG-context] TeX-figures

2011-01-30 Thread Peter Münster
this explicitly: \stopbuffer \savebuffer[mytable][mytable.tmp] \externalfigure[mytable.tmp][width=0.8\textwidth] There is also \typesetbuffer: \starttext \startbuffer[mytable] \startTEXpage bla bla bla \stopTEXpage \stopbuffer \typesetbuffer[mytable][width=0.8\textwidth] \stoptext I'll update section 16.5

Re: [NTG-context] TeX-figures

2011-01-30 Thread Steffen Wolfrum
\eTABLE \stopbuffer \externalfigure[mytable.tmp][width=0.8\textwidth] \stoptext == But the PDF has no the table. I'm wrong somewhere ? I just did it like this: \startbuffer[2f] \startTEXpage[width=0.99\textheight] \placetable{}{ \bTABLE[offset=3pt,align={flushleft,high},option

Re: [NTG-context] TeX-figures

2011-01-30 Thread Peter Münster
Steffen Wolfrum cont...@st.estfiles.de writes: [...] \getbuffer Works great for me ... Sure, but it's really not the same ;) Compare: \starttext \startbuffer \startTEXpage[width=5cm] \input tufte \stopTEXpage \stopbuffer \getbuffer \startbuffer[testbuf] \input tufte \stopbuffer

Re: [NTG-context] TeX-figures

2011-01-30 Thread Hans Hagen
On 30-1-2011 1:10, Peter Münster wrote: Steffen Wolfrumcont...@st.estfiles.de writes: [...] \getbuffer Works great for me ... Sure, but it's really not the same ;) Compare: \starttext \startbuffer \startTEXpage[width=5cm] \input tufte \stopTEXpage \stopbuffer \getbuffer \startbuffer

Re: [NTG-context] How to run Typesetting in MetaPost example (MetaFun)?

2011-01-20 Thread luigi scarso
You can also use mkii as command line drawing tool: # mtxrun texexec test.tex \starttext \startTEXpage \resetMPdrawing \startMPdrawing picture pic[] ; numeric wid[], len[], pos[], n ; wid[0] := len[0] := pos[0] := n := 0 ; \stopMPdrawing \def\whatever#1% {\appendtoks#1\to\MPtoks \setbox\MPbox

Re: [NTG-context] TABLE in a flow chart

2011-01-14 Thread Hans Hagen
[test] \startFLOWcell \name{test} \location{1,1} \shape{action} \text {\bTABLE \bTR \bTD[width=3cm] One \eTD \eTR \bTR \bTD Two \eTD \eTR \eTABLE} \stopFLOWcell \stopFLOWchart \starttext \startTEXpage \FLOWchart[test] \stopTEXpage \stoptext for the moment use \bTD[width=\hsize] what you observe

Re: [NTG-context] TABLE in a flow chart

2011-01-14 Thread Aditya Mahajan
[each][each][height=1cm] \startFLOWchart[test] \startFLOWcell \name{test} \location{1,1} \shape{action} \text {\bTABLE \bTR \bTD[width=3cm] One \eTD \eTR \bTR \bTD Two \eTD \eTR \eTABLE} \stopFLOWcell \stopFLOWchart \starttext \startTEXpage \FLOWchart[test] \stopTEXpage \stoptext for the moment

[NTG-context] TABLE in a flow chart

2011-01-13 Thread Aditya Mahajan
} \location{1,1} \shape{action} \text {\bTABLE \bTR \bTD[width=3cm] One \eTD \eTR \bTR \bTD Two \eTD \eTR \eTABLE} \stopFLOWcell \stopFLOWchart \starttext \startTEXpage \FLOWchart[test] \stopTEXpage \stoptext Thanks

Re: [NTG-context] Replacing a piece of a paper

2011-01-12 Thread Wolfgang Schuster
to the right bottom corner? It's not fatal to know it, as having the PDF size known, I can evaluate 630mm = width.of.A1 - width.of.A4 and 297 = height.of.A1 - height.of.A4; I'm just curious. \define[2]\Replacement {\startTEXpage[background={foreground,replacement}]% \layeredtext

Re: [NTG-context] Replacing a piece of a paper

2011-01-12 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, thanks for the code. On Wed, 12 Jan 2011 10:30:39 +0100, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: \define[2]\Replacement {\startTEXpage[background={foreground,replacement}]% \layeredtext [corner={right,bottom},location={left,top}] [background=color

Re: [NTG-context] Replacing a piece of a paper

2011-01-12 Thread luigi scarso
2011/1/12 Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz: Hello, thanks for the code. On Wed, 12 Jan 2011 10:30:39 +0100, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: \define[2]\Replacement  {\startTEXpage[background={foreground,replacement}]%   \layeredtext

Re: [NTG-context] Replacing a piece of a paper

2011-01-12 Thread Wolfgang Schuster
Am 12.01.2011 um 11:56 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, thanks for the code. On Wed, 12 Jan 2011 10:30:39 +0100, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: \define[2]\Replacement {\startTEXpage[background={foreground,replacement

Re: [NTG-context] \index{…} causes space

2010-12-25 Thread Alan BRASLAU
the correct usage to be: test\index{test} On Friday 24 December 2010 11:54:17 Taco Hoekwater wrote: On 12/24/2010 11:48 AM, Andreas Harder wrote: \startTEXpage[offset=1ex] test test\vl \crlf test \index{test}test\vl \crlf % OK test \index{test} test\vl % not OK \stopTEXpage

[NTG-context] \index{…} causes space

2010-12-24 Thread Andreas Harder
Hi all, is it possible to make \index{…} more robust, so that one could set a space between command an followed word? \startTEXpage[offset=1ex] test test\vl \crlf test \index{test}test\vl \crlf % OK test \index{test} test\vl % not OK \stopTEXpage But more important, even if there isn’t

Re: [NTG-context] \index{…} causes space

2010-12-24 Thread Taco Hoekwater
On 12/24/2010 11:48 AM, Andreas Harder wrote: \startTEXpage[offset=1ex] test test\vl \crlf test \index{test}test\vl \crlf % OK test \index{test} test\vl % not OK \stopTEXpage \ignorespaces could be possibly be added to \index in your case, but that does not solve this conceptual problem

[NTG-context] tiny bug in table (or my code?)

2010-12-10 Thread Mojca Miklavec
\AR} \starttable[|cp(2em)|rp(2em)|rp(2em)|] \HL \VL 1 \NC 2 \NC 3 \VL\AR \mymacro123 \HL \stoptable Mojca PS: \startTEXpage ... \stopTEXpage around the code behaves as if table was infinitely small. Is that OK? table.pdf Description: Adobe PDF document

Re: [NTG-context] Math and bold font

2010-12-05 Thread Florian Wobbe
[xits] \startTEXpage[offset=1ex] This fails: $a=\alpha$ $\fontchar{u1D41A}=\fontchar{u1D6C2}$ $\fontchar{u1D482}=\fontchar{u1D736}$ However, this is OK (unicode inserted directly): $퐚풂$ {\tfx This is small but the math remains unscaled and displays questionmarks: $a=\alpha$ $\fontchar{u1D41A

Re: [NTG-context] Creating graphic file instead of PDF

2010-11-21 Thread luigi scarso
in \startTEXpage ... \stopTEXpage, ie something like this \starttext \startTEXpage Put your flowcharts-code here... \stopTEXpage \stoptext -- luigi ___ If your question is of interest to others as well, please add

Re: [NTG-context] Creating graphic file instead of PDF

2010-11-21 Thread Cecil Westerhof
in jpeg with (for example) ghostscript. This works, but the problem is that I get an image the size of an A4. This is mostly whitespace. Is it not possible to only get the used part? Maybe wrap your flowcharts-code in \startTEXpage ... \stopTEXpage, ie something like this \starttext

Re: [NTG-context] Creating graphic file instead of PDF

2010-11-21 Thread luigi scarso
-code in \startTEXpage ... \stopTEXpage, ie something like this \starttext \startTEXpage Put your flowcharts-code here... \stopTEXpage \stoptext Works like a charm. Thanks. By the way instead of gs from ghostscript, you can also use convert from Image Magick. or GraphicsMagick, but as far

Re: [NTG-context] Scaling with \filterpages not working?

2010-11-20 Thread Hans Hagen
On 20-11-2010 1:37, Procházka Lukáš wrote: - I can't use \externalfigure as it places just ONE specific page to the document. \dostepwiserecurse{3}{5{1}{ \startTEXpage \externalfigure[whatever.pdf][page=\recurselevel] \stopTEXpage

Re: [NTG-context] Animations (again, but different)

2010-11-14 Thread Erik Margraf
} {\startproperty[2]\overlayfigure{mill}\stopproperty} {\startproperty[3]\overlayfigure{hacker}\stopproperty} {\startproperty[4]\overlayfigure{cow}\stopproperty} \stopoverlay \stoptexdefinition \defineoverlay[properties][\properties] \startTEXpage[background={foreground,properties}] \bTABLE

Re: [NTG-context] Animations (again, but different)

2010-11-11 Thread Erik Margraf
] \startTEXpage[background={foreground,properties}] \bTABLE[width=4cm,height=4cm,offset=none] \bTR \bTD \goto{\overlayfigure{cow}}[VideLayer{1}] \eTD \bTD \goto{\overlayfigure{mill}}[VideLayer{2}] \eTD \eTR \bTR \bTD \goto{\overlayfigure{hacker}}[VideLayer{3}] \eTD \bTD \goto

[NTG-context] Formula not in \displaystyle

2010-11-09 Thread Andreas Harder
Hi again, consider the following example: \startTEXpage[offset=1ex] \startformula \lim_{n\rightarrow\infty} \stopformula \stopTEXpage The output is not in \displaystyle. Greeting Andreas ___ If your

Re: [NTG-context] Formula not in \displaystyle

2010-11-09 Thread Aditya Mahajan
On Tue, 9 Nov 2010, Andreas Harder wrote: consider the following example: \startTEXpage[offset=1ex] \startformula \lim_{n\rightarrow\infty} \stopformula \stopTEXpage The output is not in \displaystyle. Works here with MkII and MkIV (on the month old 2010.10.14) Aditya

Re: [NTG-context] Formula not in \displaystyle

2010-11-09 Thread Herbert Voss
Am 09.11.2010 18:49, schrieb Aditya Mahajan: On Tue, 9 Nov 2010, Andreas Harder wrote: consider the following example: \startTEXpage[offset=1ex] \startformula \lim_{n\rightarrow\infty} \stopformula \stopTEXpage The output is not in \displaystyle. Works here with MkII and MkIV

Re: [NTG-context] Animations (again, but different)

2010-11-04 Thread Wolfgang Schuster
]\overlayfigure{cow}\stopproperty} \stopoverlay \stoptexdefinition \defineoverlay[properties][\properties] \startTEXpage[background={foreground,properties}] \bTABLE[width=4cm,height=4cm,offset=none] \bTR \bTD \goto{\overlayfigure{cow}}[VideLayer{1}] \eTD \bTD \goto{\overlayfigure{mill

[NTG-context] \setfontfeature-problem

2010-10-13 Thread Andreas Harder
Hi all, please have a look at my example: \definefontfeature[default][default][mode=node,onum=yes] \definefontfeature[sc][default][smcp=yes] \def\sc{\groupedcommand{\setfontfeature{sc}}{}} \setupbodyfont[palatino] \starttext \startTEXpage[offset=1ex] {\sc Abc} 0369 \crlf \sc{Abc} 0369

Re: [NTG-context] \setfontfeature-problem

2010-10-13 Thread Michael Murphy
On 13/10/10 12:48, Andreas Harder wrote: Hi all, please have a look at my example: \definefontfeature[default][default][mode=node,onum=yes] \definefontfeature[sc][default][smcp=yes] \def\sc{\groupedcommand{\setfontfeature{sc}}{}} \setupbodyfont[palatino] \starttext \startTEXpage[offset=1ex

[NTG-context] OpenType Math

2010-10-13 Thread Andreas Harder
Hi all, there are still some problems with OpenType math. I've collected some: % \setupbodyfont[palatino] % reference % \setupbodyfont[cambria] % \setupbodyfont[euler] \setupbodyfont[asana] \startTEXpage[offset=1ex] $n\choose k$ \crlf $1+\cdots+n$ \crlf $1+\frac{a}{b}$ \crlf $(a+b

Re: [NTG-context] rotated (landscape) pages in portrait document

2010-10-03 Thread Mojca Miklavec
\stopformula \stopbuffer \framed{\rotate[rotation=90]{\externalfigure[\jobname-a.tmp]}} possibly adjusting width of formula to actual width (even if that is done manually)? Something like this? \startbuffer[a] \startTEXpage[width=\textheight] \startformula\startalign \NC a \NC = b \NR

Re: [NTG-context] rotated (landscape) pages in portrait document

2010-10-01 Thread Wolfgang Schuster
]{\externalfigure[\jobname-a.tmp]}} possibly adjusting width of formula to actual width (even if that is done manually)? Something like this? \startbuffer[a] \startTEXpage[width=\textheight] \startformula\startalign \NC a \NC = b \NR \stopalign\stopformula \stopTEXpage \stopbuffer \starttext

Re: [NTG-context] composing characters in MKIV

2010-09-30 Thread Hans Hagen
On 30-9-2010 8:31, Mojca Miklavec wrote: \defč{\buildtextaccent\textcaron c} \defČ{\buildtextaccent\textcaron C} \starttext \definefontfeature[default][default][compose=yes] \setupbodyfont[lucida] \startTEXpage mojča MOJČA \stopTEXpage \stoptext ok, positioning could be improved I

Re: [NTG-context] composing characters in MKIV

2010-09-30 Thread Mojca Miklavec
effect since I used that *after* \setupbodyfont instead of using it before. This was a bit weird since features for OpenType fonts can be switched on and off at any given time and I didn't realize that order was important. \startTEXpage    mojča MOJČA \stopTEXpage \stoptext ok, positioning could

[NTG-context] Cambria/Asana/Neo-Euler (n\choose k)

2010-09-29 Thread Andreas Harder
Hi again. When it comes to OpenType math fonts … % \setupbodyfont[cambria] % \setupbodyfont[asana] \setupbodyfont[euler] \startTEXpage[offset=1ex] $n\choose k$ \stopTEXpage The output ist still wrong with the newest beta. It works ok with Type 1 fonts. Greeting Andreas

Re: [NTG-context] Fwd: Re: New beta 2010-09-22 and xits fonts

2010-09-25 Thread Andreas Harder
a manual correction, but this is not a « solution ». Another problem is \setupbodyfont[xits] \startTEXpage[offset=1ex] $k\choose n$ \stopTEXpage Greeting Andreas ___ If your question is of interest to others

Re: [NTG-context] cow symbols don't work in MkIV

2010-09-22 Thread Hans Hagen
the original position in the font and the assigned position is related, maybe Taco knows a answer. % symbols-001.tex \starttext % for taco \definedfont[file:stmary10 at 100pt] \startTEXpage[offset=50pt] \fontchar{Yright} \stopTEXpage \stoptext So, access them by name

[NTG-context] cow symbols don't work in MkIV

2010-09-18 Thread Henning Hraban Ramm
This works in MkII, but not MkIV. Other symbol sets like mvs work (even with a list of error messages). \starttext \usesymbols[cow] \setupsymbolset[cownormal] \startTEXpage[align={middle,middle},width=210mm,height=297mm] \dontleavehmode\scale[width=\textwidth]{\symbol[CowConTeXt]} Cowboy

Re: [NTG-context] Impostion to make a scroll

2010-09-15 Thread Wolfgang Schuster
the input.pdf pages are stacked on top of one another in a big mess all on the right hand side. This is a alternative solution for your problem: \starttext \startTEXpage \getfiguredimensions[insert.pdf] \dontleavehmode\dorecurse\noffigurepages{\externalfigure[insert.pdf][page=\recurselevel

[NTG-context] Prevent Ligatures

2010-09-10 Thread Andreas Harder
Hi all, I've two questions. 1. Is f|*|f still the right way to prevent a ligature? 2. \setff{noligs} don't seem to have effect, while the defined font is working. What is wrong? \definefontfeature[noligs] [default][liga=no] \definefont[test][Serif*noligs] \startTEXpage[offset=1ex] ff fi

Re: [NTG-context] an issues with punk module

2010-08-06 Thread Hans Hagen
not autokern it very well, so I think artificial slanting in LuaTeX would be better. I think I'm going to upload it to CTAN. [1] http://github.com/khaledhosny/punk-otf % uses otf punk with artificial slanting \setupbodyfont[punknova,32pt] \startTEXpage[offset=1em] \tf All animals are equal

Re: [NTG-context] an issues with punk module

2010-08-06 Thread Khaled Hosny
[punknova,32pt] \startTEXpage[offset=1em] \tf All animals are equal, but some animals are more equal than others.\blank \bf All animals are equal, but some animals are more equal than others.\blank \sl All animals are equal, but some animals are more equal than others.\blank

[NTG-context] Capital Gamma in Cambria

2010-06-23 Thread Aditya Mahajan
Hi, In Cambria $\Gamma$ comes out as black-board bold gamma. I am not sure what is happening. Test file and result attached. Aditya test.pdf Description: Adobe PDF document \usetypescript[cambria] \setupbodyfont[cambria] \starttext \startTEXpage \greekGamma \greekDelta $\Gamma \Delta

Re: [NTG-context] sgf package

2010-06-13 Thread Ivo Solnický
(sorry but i can't give a date), here is a example for the usage: \usemodule[games] \starttext \startTEXpage[offset=5mm] \startgoban[size=small,option=sgf] (;C[First move in game 123]B[aa]AW[aa];W[bb](;B[cc](;B[dd];W[ee][ff](;B[ff]);W[gg]));W[hh]) \stopgoban \stopTEXpage \stoptext

Re: [NTG-context] sgf package

2010-06-10 Thread Wolfgang Schuster
the games module, it's in a beta state since a while but at least i plan to finish it in the future (sorry but i can't give a date), here is a example for the usage: \usemodule[games] \starttext \startTEXpage[offset=5mm] \startgoban[size=small,option=sgf] (;C[First move in game 123]B[aa]AW[aa];W[bb

Re: [NTG-context] PPCHTEX with PSTricks option

2010-05-07 Thread Hans Hagen
by adding some packages in MiKTeX 2.8? Probably a silly question... best start with installing the so called minimals (from contextgarden.net) which will give you an independent tree that does not interfere with anything else btw, an easy test is: \starttext \startTEXpage ... some chemical

Re: [NTG-context] MetaPost Animation

2010-04-16 Thread Boštjan Vesnicer
,-0.5) scaled 75; \stopMPcode} \starttext \dostepwiserecurse{0}{20}{1}{% \startTEXpage \MyGraphics{\recurselevel} \stopTEXpage} \stoptext Regards, Bostjan On Thu, Apr 15, 2010 at 7:53 PM, Troy Henderson thend...@gmail.com wrote: I am trying to create an animation in ConTeXt + MetaPost

Re: [NTG-context] MetaPost Animation

2010-04-16 Thread Hans Hagen
currentpicture to unitsquare shifted (-0.5,-0.5) scaled 75; \stopMPcode} \starttext \dostepwiserecurse{0}{20}{1}{% \startTEXpage \MyGraphics{\recurselevel} \stopTEXpage} \stoptext or, if you want to fool yourself that you're not using tex ... put this in somefile.cld: -- -- local template

[NTG-context] luatex pdf.immediateobj(streamfile error on Mac OS X Intel 64

2010-03-22 Thread Michail Vidiassov
()) -- pdf.immediateobj(stream,test.tex,attr()) \stopluacode \starttext \startTEXpage Test. \stopTEXpage \stoptext complaining MTXrun | fatal error: no return code, message: luatex: execution interrupted and producing PDF file test.pdf where, it seems, luatex has problems with file size. PDF file

Re: [NTG-context] Crop Output

2010-03-06 Thread Aditya Mahajan
MetaPost graphics where the graphic is the only thing in the ConTeXt output. \startTEXpage arbitrary tex code \stopTEXpage \startMPpage arbitrary mp code \stopMPpage both commands take the same arguments as \framed, so you can say \setupMPpage[offset=3mm] .. \stopMPpage to get a slightly loose

Re: [NTG-context] \wordright and line break

2010-02-24 Thread Hans Hagen
\setupframedtexts[width=.65\textwidth,offset=none] \startTEXpage[offset=1ex] \hsize=.65\textwidth \startframedtext test text test text test text test text test text test testtext \wordright{(S.\,3, Z.\,78–97)} \stopframedtext \startframedtext test text test text test text test text test text test test

Re: [NTG-context] Change Font in PDF-fields

2010-02-20 Thread Andreas Harder
] \starttext \startTEXpage[offset=1ex] \field [Email] [E-Mail:] \stopTEXpage \stoptext will be fixed in next beta keep in mind that it's: style=ssbf etc, so [ss|rm|tt][tf|bf|it|bi] Hello Hans, while style=sstf works, the rmtf-switch still shows up mono. How can I change the font size

[NTG-context] Change Font in PDF-fields

2010-02-19 Thread Andreas Harder
Hi all, if I use the following setup \setupfield [ShortLine] [label,frame,horizontal] [height=fit,framecolor=green] [] [height=18pt,type=normal] % - is mono \definefield [Email] [line] [ShortLine] [] [pra...@wxs.nl] \starttext \startTEXpage[offset=1ex] \field [Email] [E-Mail

Re: [NTG-context] Change Font in PDF-fields

2010-02-19 Thread Hans Hagen
On 19-2-2010 10:40, Andreas Harder wrote: \setupfield [ShortLine] [label,frame,horizontal] [height=fit,framecolor=green] [] [height=18pt,type=normal] %- is mono \definefield [Email] [line] [ShortLine] [] [pra...@wxs.nl] \starttext \startTEXpage[offset=1ex] \field [Email] [E

Re: [NTG-context] Magazine imposition.

2010-02-18 Thread luigi scarso
}{\startTEXpage\framed[width=10cm,align=right]{\ss \input knuth\relax}\stopTEXpage} \stoptext \starttext \startTEXpage \dorecurse{5}{% \rotate[rotation=\numexpr 72 * (\recurselevel-1)\relax]{\externalfigure[test-willy][page=\recurselevel]}% } \stopTEXpage \stoptext -- luigi

Re: [NTG-context] Magazine imposition.

2010-02-18 Thread Willi Egger
not know weather the magazine was in context or not. Anyway is there a possibility to rotate pages in a already typeset pdf? like a rolling stone ? %%test-willy \starttext \dorecurse{5}{\startTEXpage\framed[width=10cm,align=right]{\ss \input knuth\relax}\stopTEXpage} \stoptext \starttext

[NTG-context] \wordright and line break

2010-01-21 Thread Andreas Harder
] \startTEXpage[offset=1ex] \hsize=.65\textwidth \startframedtext test text test text test text test text test text test testtext \wordright{(S.\,3, Z.\,78–97)} \stopframedtext \startframedtext test text test text test text test text test text test test- text \wordright{(S.\,4, Z.\,117–121

Re: [NTG-context] ConText and definecolor: undefined control sequence

2010-01-20 Thread Aditya Mahajan
On Tue, 12 Jan 2010, Ben wrote: Dear List, using the pgf build from 20100103 and texlive2009 from the Debian unstable I've just tried to do the following: \enableregime[utf] \usemodule[tikz] \starttext \startTEXpage \pgfu...@definecolor{magenta}{rgb}{1,0,1

Re: [NTG-context] Using Adobe Arno Pro in Mkiv

2009-12-29 Thread Andreas Harder
[libertine][name:linuxlibertineo*default] \starttext \libertine \startTEXpage[offset=1ex] nicht ff fi Th ft ck tt \stopTEXpage \stoptext Greetings, Andreas ___ If your question is of interest to others as well

[NTG-context] mode=node and ligatures

2009-12-21 Thread Andreas Harder
\startTEXpage[offset=1em] \getbuffer \stopTEXpage \stoptext This is LuaTeX, Version beta-0.47.0-2009121822 ConTeXt ver: 2009.12.18 11:12 MKIV fmt: 2009.12.19 Greetings Andreas ___ If your question

Re: [NTG-context] MetaPost integration: default parameters

2009-11-22 Thread luigi scarso
fonts in MetaPost are currently dead with MkIV? %%test-outlined.tex \starttext \startTEXpage \startuseMPgraphic{a} graphictext \bf Fun scaled 4 zscaled (1,1.5) withdrawcolor blue withfillcolor .5white withpen pencircle scaled 5pt \stopuseMPgraphic \useMPgraphic{a} \stopTEXpage \stoptext

Re: [NTG-context] MetaPost integration: default parameters

2009-11-22 Thread Wolfgang Schuster
Am 22.11.2009 um 21:15 schrieb luigi scarso: %%test-outlined.tex \starttext \startTEXpage \startuseMPgraphic{a} graphictext \bf Fun scaled 4 zscaled (1,1.5) withdrawcolor blue withfillcolor .5white withpen pencircle scaled 5pt \stopuseMPgraphic \useMPgraphic{a} \stopTEXpage

Re: [NTG-context] Pstricks and Asymptote

2009-11-17 Thread Curiouslearn
of tikz uncomfortable under ConTeXt. I still sometimes use LaTeX for the submission of articles to scientific journals (in particular using RevTeX), but I now use ConTeXt (\startTEXpage\stopTEXpage) to make the figures (that must be submitted as separate files in any case). Alan P.S. What I

Re: [NTG-context] Pstricks and Asymptote

2009-11-16 Thread Alan BRASLAU
to scientific journals (in particular using RevTeX), but I now use ConTeXt (\startTEXpage\stopTEXpage) to make the figures (that must be submitted as separate files in any case). Alan P.S. What I really liked about tikz is the quality of its documentation, in particular the tutorial

Re: [NTG-context] Drawing rectangles

2009-11-12 Thread Cecil Westerhof
2009/11/12 Taco Hoekwater t...@elvenkind.com: But that is just a joke. Try this: \startTEXpage \setupalign[middle]\offinterlineskip \noindent \framed[width=4cm,height=2cm,offset=none]{} \noindent \dorecurse{2}{\framed[width=4cm,height=2cm,offset=none]{}} \noindent \dorecurse{3}{\framed

[NTG-context] Metapost+mpgraph and mkiv

2009-11-07 Thread Alan BRASLAU
mpgraph does not appear to work properly under mkiv. %% minimal example %% \starttext \startuseMPgraphic{test} input graph draw begingraph(16cm,12cm); setrange(whatever,whatever,whatever,whatever); gdraw (0,0) -- (1,1) ; endgraph; \stopuseMPgraphic \startTEXpage

Re: [NTG-context] Metapost+mpgraph and mkiv

2009-11-07 Thread Alan BRASLAU
\stopMPinclusions \startuseMPgraphic{test} draw begingraph(16cm,12cm); setrange(whatever,whatever,whatever,whatever); gdraw (0,0) -- (1,1) ; endgraph; \stopuseMPgraphic \startTEXpage \useMPgraphic{test} \stopTEXpage \stoptext

[NTG-context] How do you position/move a MPgraphic?

2009-10-25 Thread Daniel Bundzik
(OverlayWidth+.5pt,OverlayHeight+.5pt) ; \stopuseMPgraphic \startuseMPgraphic{somecolorcircle} % How do you move somecolorcircle. I want this to be below sometext colorcircle(2cm,white,.625red,\MPcolor{Orange}) ; \stopuseMPgraphic \startTEXpage \defineoverlay[somebackground][\useMPgraphic

[NTG-context] inserting pdf

2009-10-08 Thread Mohamed Bana
hi folks, assuming x.pdf has more than 1 page, this only inserts the first. i'd like to insert all the pages. how would i do that? startTEXpage \externalfigure[x.pdf] \stopTEXpage \externalfigure[x.pdf][page=1-2] doesn't work either. I have to do; \startTEXpage \externalfigure[x.pdf

Re: [NTG-context] inserting pdf

2009-10-08 Thread luigi scarso
On Thu, Oct 8, 2009 at 2:36 PM, Mohamed Bana mbana.li...@googlemail.comwrote: hi folks, assuming x.pdf has more than 1 page, this only inserts the first. i'd like to insert all the pages. how would i do that? startTEXpage \externalfigure[x.pdf] \stopTEXpage \externalfigure[x.pdf

Re: [NTG-context] inserting pdf

2009-10-08 Thread Peter Rolf
details. Best wishes, Peter startTEXpage \externalfigure[x.pdf] \stopTEXpage \externalfigure[x.pdf][page=1-2] doesn't work either. I have to do; \startTEXpage \externalfigure[x.pdf][page=1] \stopTEXpage \startTEXpage \externalfigure[x.pdf][page=2] \stopTEXpage I'm using $ pdftex

Re: [NTG-context] Upright math

2009-09-08 Thread Hans Hagen
altering existing math formulas. an upcoming beta will provide such a feature \usetypescript[cambria]\setupbodyfont[cambria] \startTEXpage $\alpha \mathgreekupright \alpha \mathgreekitalic \alpha$ \stopTEXpage and also: \setupmathematics[greek=normal|italic|none] but first aditya and i need

Re: [NTG-context] Integration limits with Cambria Math

2009-08-17 Thread Taco Hoekwater
of \usetypescript[cambria] \setupbodyfont[cambria] \starttext \startTEXpage $\displaystyle \int_a^b \int\limits_a^b$ \stopTEXpage \stoptext Aditya

Re: [NTG-context] Integration limits with Cambria Math

2009-08-17 Thread Michail Vidiassov
2009.07.17 and luatex -0.42.0-2009071807 I am attaching the output of \usetypescript[cambria] \setupbodyfont[cambria] \starttext \startTEXpage $\displaystyle \int_a^b \int\limits_a^b$ \stopTEXpage \stoptext

Re: [NTG-context] Integration limits with Cambria Math

2009-08-16 Thread Aditya Mahajan
with limits before, I am new in ConTeXt land. I think that the space is also excessive with context version 2009.07.17 and luatex -0.42.0-2009071807 I am attaching the output of \usetypescript[cambria] \setupbodyfont[cambria] \starttext \startTEXpage $\displaystyle \int_a^b \int\limits_a^b

Re: [NTG-context] from latex pstricks to context

2009-07-13 Thread luigi scarso
\startTEXpage[#1]% \topskip\zeropoint \setbox\scratchbox\hbox{#3}% \saveTEXapplication02% dimensions \box\scratchbox \stopTEXpage \stoptext \endbuffer \egroup \doifelse\jobsuffix{dvi}\donetrue\donefalse \executesystemcommand{texexec \bufferprefix

Re: [NTG-context] Producing EPDF

2009-04-19 Thread Wolfgang Schuster
Am 19.04.2009 um 19:28 schrieb Michail Vidiassov: Dear All, is it possible to and howdoi produce EPDF (in mkiv if it matters). By EPDF I mean EPS like PDF, pagesize == bounding box of what is really printed with minimal or no white border. \startTEXpage foobar \stopTEXpage Wolfgang

Re: [NTG-context] Producing EPDF

2009-04-19 Thread Khaled Hosny
On Sun, Apr 19, 2009 at 09:28:18PM +0400, Michail Vidiassov wrote: Dear All, is it possible to and howdoi produce EPDF (in mkiv if it matters). By EPDF I mean EPS like PDF, pagesize == bounding box of what is really printed with minimal or no white border. try: \startTEXpage \stopTEXpage

Re: [NTG-context] Producing EPDF

2009-04-19 Thread Aditya Mahajan
. \startTEXpage foobar \stopTEXpage For a pre-generated pdf, there is also a perl(?) script pdftrimwhite, that removes extra white space from a pdf file. Aditya ___ If your question is of interest to others as well

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

2009-04-04 Thread Hans Hagen
Khaled Hosny wrote: 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

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

<    5   6   7   8   9   10   11   >