Re: [NTG-context] [***SPAM***] \setscript blocking \hskip functionality

2013-04-13 Thread Hans Hagen
.*] \definefont[testfont][ipaexm.ttf][script=kana,language=jan] \startTEXpage \startformula test \stopformula \par \testfont \startscript[nihongo]\ruledhbox{漢字\hskip 2cm 文 書}\stopscript\par \testfont \startscript[nihongo]\ruledhbox to 7cm{漢字\hfill 文 書}\stopscript\par \testfont \startscript

Re: [NTG-context] math: ± and ∓ are shifted

2013-04-05 Thread Hans Hagen
. Experimental in beta: \definefontfeature [lm-math] [mathdimensions=signs] \starttext \startTEXpage[offset=10pt] $x \ruledhbox{$\pm$} x \ruledhbox{$\mp$} x$ \stopTEXpage \stoptext (explanation in font manual, not yet uploaded) Hans

Re: [NTG-context] \startpagefigure[]\stoppagefigure enlarges page by 1 mm

2013-03-25 Thread Wolfgang Schuster
\externalfigureparameter\c!offset uses always the global setting. % \def\page_figures_start[#1][#2]% % {\bgroup %\setupexternalfigure[\v!page:\v!figure][\c!offset=\v!overlay,#2]% %\startTEXpage[\c!offset=\externalfigureparameter\c!offset]% % \externalfigure[#1][\v!page:\v!figure

Re: [NTG-context] Nabla operator appears italic in formula

2013-03-24 Thread Hans Hagen
to be italic or upright in mathematics. That is already there \setupmathematics [lcgreek=italic, ucgreek=normal] (normal, italic, none) I've added sygreek so that one can also influence the nable and differential (default normal). I tested with: \starttext \startTEXpage

Re: [NTG-context] Nabla operator appears italic in formula

2013-03-24 Thread Xenia
with: \starttext \startTEXpage \startlines \type{--}: \mathematics{\nabla \phi = ∇ ϕ = 0} \type{it}: \mathematics{\it \nabla \phi = ∇ ϕ = 0} \type{bf}: \mathematics{\bf \nabla \phi = ∇ ϕ = 0} \type{bi}: \mathematics{\bi \nabla

Re: [NTG-context] wiki page for \feature

2013-03-22 Thread Sietse Brouwer
] \definefontfeature[f:newstylerightsideup] [onum=no,dlig=no] \definefontfeature[f:oldstylewmacron] [ss04=no,onum=yes] \definefontfeature[f:newstylesmallcaps] [smcp=yes,onum=no] \startTEXpage[offset=10pt] \define\SAMPLE{123 Idrīs ?` !` VA fi} \SAMPLE\blank \feature[+][f:oldstyle

[NTG-context] wiki page for \feature

2013-03-21 Thread Idris Samawi Hamid ادريس سماوي حامد
[f:newstylesmallcaps] [smcp=yes,onum=no] \startTEXpage[offset=10pt] \define\SAMPLE{123 Idrīs ?` !` VA fi} \SAMPLE\blank \feature[+][f:oldstyle] \SAMPLE \blank \feature[more][f:thinimacron] \SAMPLE \blank \addfeature[f:upsidedown] \SAMPLE \blank \feature

Re: [NTG-context] new trickery

2013-03-15 Thread Hans Hagen
=no] % \enabletrackers[fonts.features] \startTEXpage[offset=10pt] \start fijn fietsen 123 \type{[+os]}\feature{f:oldstyle} fijn fietsen 123 \type{[+sc]}\feature{f:smallcaps} fijn fietsen 123 \type{[+ns]}\feature{f:newstyle} fijn fietsen 123 \type

[NTG-context] new trickery

2013-03-14 Thread Hans Hagen
] \definefontfeature[f:newstyle] [onum=no] % watch how features accumulate \startTEXpage[offset=10pt] fijn fietsen 123 \feature{f:oldstyle} fijn fietsen 123 \feature{f:smallcaps} fijn fietsen 123 \feature{f:oldstyle} fijn fietsen 123 \start \nl % \feature{nl

[NTG-context] new tricks in beta

2013-02-20 Thread Hans Hagen
Hi Aditya, I made a mathstyle mechanism ... used in fences first: \starttext \startTEXpage[offset=1ex] \def\TestMe#1% {\NC \ttbf #1 \NC \ruledhbox{$\setupmathstyle[#1]x + x_j^2 + x_i^{e^2} + \frac{1}{x}$} \NC \ruledhbox{$\setupmathstyle[#1,small]x + x_j^2 + x_i^{e^2} + \frac{1}{x

Re: [NTG-context] Failing MPruns

2013-02-13 Thread Hans Hagen
as mprun: is a prefix and doesn't mix well with other prefixes (schemes) \starttext \startTEXpage \startMPrun{foo} beginfig(2) ; fill fullcircle scaled 1cm withcolor blue ; endfig ; beginfig(1) ; fill fullcircle scaled 2cm

Re: [NTG-context] Failing MPruns

2013-02-13 Thread Keith J. Schultz
prefixes (schemes) \starttext \startTEXpage \startMPrun{foo} beginfig(2) ; fill fullcircle scaled 1cm withcolor blue ; endfig ; beginfig(1) ; fill fullcircle scaled 2cm withcolor red ; endfig

Re: [NTG-context] Emoticons ;-)

2013-02-12 Thread Hans Hagen
}] \starttext \startTEXpage[width=20em] \dorecurse{100}{\dontleavehmode\symbol[smile] } \stopTEXpage \stoptext - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt

Re: [NTG-context] Layer vs. overlay

2013-01-15 Thread Procházka Lukáš Ing . - Pontex s . r . o .
On Sat, 12 Jan 2013 19:11:47 +0100, Wolfgang Schuster wolfgang.schus...@gmail.com wrote: Move \definelayer and \setupbackgrounds *before* \startTEXpage because the environment creates a local group and you background setup is lost. ... Thanks for the hint - here's my next trial. It should

Re: [NTG-context] Layer vs. overlay

2013-01-15 Thread Wolfgang Schuster
Am 15.01.2013 um 09:04 schrieb Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz: On Sat, 12 Jan 2013 19:11:47 +0100, Wolfgang Schuster wolfgang.schus...@gmail.com wrote: Move \definelayer and \setupbackgrounds *before* \startTEXpage because the environment creates a local group

Re: [NTG-context] [***Spam/VIR***] Re: Layer vs. overlay

2013-01-15 Thread Procházka Lukáš Ing . - Pontex s . r . o .
]}] \startsetups[beforetext] \setlayer[beforetext][preset=righttop]{\framed[width=2in]{BEFORE}} \stopsetups \startTEXpage[background={foreground,beforetext}] \externalfigure[cow][width=30cm] \stopTEXpage Z \stoptext A similar example is also on the wiki: http://wiki.contextgarden.net/Layers

Re: [NTG-context] [***Spam/VIR***] Re: Layer vs. overlay

2013-01-12 Thread Procházka Lukáš
]{\red BEFORE} The Text! \stoptext This works well. The Lay4 differs in one point - it encloses the text into \start/stop-TEXpage: \setupbodyfont[30pt] \starttext \startTEXpage \definelayer[beforetext] \setupbackgrounds [page] [background={foreground

Re: [NTG-context] Layer vs. overlay

2013-01-12 Thread Wolfgang Schuster
[page] [background={foreground,beforetext}] \setlayer[beforetext]{\red BEFORE} The Text! \stoptext This works well. The Lay4 differs in one point - it encloses the text into \start/stop-TEXpage: \setupbodyfont[30pt] \starttext \startTEXpage

Re: [NTG-context] Save/Redraw labels as pictures

2012-12-08 Thread Alan BRASLAU
Hans has be playing with MetaPost instances which got broken. \startMPpage\stopMPpage got the wrong instance whereas \startTEXpage\startMPcode\stopMPcode\stopMPpage correctly got the default instance. Normally, this was fixed, but your minimal example still does not work for me either. Something

Re: [NTG-context] A problem with autopunctuation

2012-12-04 Thread Sietse Brouwer
code below, example output attached, and the behaviour is documented at http://wiki.contextgarden.net/Command/setupmathematics Cheers, Sietse \defineparagraphs[asdf][n=3] \startTEXpage[offset=2mm] \startasdf \setupmathematics[autopunctuation=no] autopunctuation=no \starttabulate[] \NC input

Re: [NTG-context] simple question on kerning activation

2012-11-28 Thread Pablo Rodríguez
][script=latn,calt=yes,ss11=yes] \setmainfont[Theano Didot] \starttext \startTEXpage[offset=10pt] βάρβαροι θαυμασθεὶς \stopTEXpage \stoptext Many thanks again for your help, Pablo -- http://www.ousia.tk ___ If your question

Re: [NTG-context] simple question on kerning activation

2012-11-27 Thread Pablo Rodríguez
On 26/11/12 23:46, Hans Hagen wrote: [...] Sure, kern tables are used and are quite valid in open type as well (open type includes truetype). I see lots of kerns in: \starttext \startTEXpage[offset=10pt] \definedfont[file:freeserif.ttf*default] \showfontkerns \input ward

Re: [NTG-context] simple question on kerning activation

2012-11-27 Thread Pablo Rodríguez
On 27/11/12 18:04, Hans Hagen wrote: I see lots of kerns in: \starttext \startTEXpage[offset=10pt] \definedfont[file:freeserif.ttf*default] \showfontkerns \input ward \stopTEXpage \stoptext Well, I don't see any kern. attached Mine attached to (excluding source

Re: [NTG-context] simple question on kerning activation

2012-11-27 Thread luigi scarso
On Tue, Nov 27, 2012 at 6:36 PM, Pablo Rodríguez oi...@web.de wrote: \starttext \startTEXpage[offset=10pt] \definedfont[file:freeserif.ttf*default] \showfontkerns \input ward \stopTEXpage \stoptext this is mine -- luigi test-3.pdf Description: Adobe PDF document

Re: [NTG-context] simple question on kerning activation

2012-11-27 Thread Pablo Rodríguez
On 27/11/12 18:42, luigi scarso wrote: On Tue, Nov 27, 2012 at 6:36 PM, Pablo Rodríguez oi...@web.de wrote: \starttext \startTEXpage[offset=10pt] \definedfont[file:freeserif.ttf*default] \showfontkerns \input ward \stopTEXpage \stoptext this is mine Something must

Re: [NTG-context] simple question on kerning activation

2012-11-27 Thread luigi scarso
On Tue, Nov 27, 2012 at 6:46 PM, Pablo Rodríguez oi...@web.de wrote: On 27/11/12 18:42, luigi scarso wrote: On Tue, Nov 27, 2012 at 6:36 PM, Pablo Rodríguez oi...@web.de wrote: \starttext \startTEXpage[offset=10pt] \definedfont[file:freeserif.ttf*default] \showfontkerns \input

Re: [NTG-context] simple question on kerning activation

2012-11-27 Thread Hans Hagen
On 11/27/2012 6:36 PM, Pablo Rodríguez wrote: On 27/11/12 18:04, Hans Hagen wrote: I see lots of kerns in: \starttext \startTEXpage[offset=10pt] \definedfont[file:freeserif.ttf*default] \showfontkerns \input ward \stopTEXpage \stoptext Well, I don't see any kern

Re: [NTG-context] simple question on kerning activation

2012-11-27 Thread Pablo Rodríguez
On 27/11/12 18:56, Hans Hagen wrote: On 11/27/2012 6:36 PM, Pablo Rodríguez wrote: I see lots of kerns in: \starttext \startTEXpage[offset=10pt] \definedfont[file:freeserif.ttf*default] \showfontkerns \input ward \stopTEXpage \stoptext Well, I don't see any

Re: [NTG-context] simple question on kerning activation

2012-11-27 Thread Wolfgang Schuster
Am 27.11.2012 um 20:34 schrieb Pablo Rodríguez oi...@web.de: On 27/11/12 18:56, Hans Hagen wrote: On 11/27/2012 6:36 PM, Pablo Rodríguez wrote: I see lots of kerns in: \starttext \startTEXpage[offset=10pt] \definedfont[file:freeserif.ttf*default] \showfontkerns \input

Re: [NTG-context] simple question on kerning activation

2012-11-27 Thread Hans Hagen
On 11/27/2012 8:34 PM, Pablo Rodríguez wrote: On 27/11/12 18:56, Hans Hagen wrote: On 11/27/2012 6:36 PM, Pablo Rodríguez wrote: I see lots of kerns in: \starttext \startTEXpage[offset=10pt] \definedfont[file:freeserif.ttf*default] \showfontkerns \input ward

Re: [NTG-context] simple question on kerning activation

2012-11-26 Thread Hans Hagen
wonder whether at least the TrueType 'kern' table should be used by ConTeXt.) Sure, kern tables are used and are quite valid in open type as well (open type includes truetype). I see lots of kerns in: \starttext \startTEXpage[offset=10pt] \definedfont[file:freeserif.ttf*default

Re: [NTG-context] Creating a background texture with text/graphic

2012-10-29 Thread Marco Patzer
2012-10-29 Mari Voipio: The problem: I don't know how to input the logo graphic into Metapost code. This did not work, even though the pdf is in the same directory: externalfigure vaaka-logo.pdf scaled 1cm; This works here: \startbuffer [image] \useMPlibrary [dum] \startTEXpage

Re: [NTG-context] Creating a background texture with text/graphic

2012-10-29 Thread Wolfgang Schuster
here: \startbuffer [image] \useMPlibrary [dum] \startTEXpage \externalfigure [dummy] \stopTEXpage \stopbuffer \ctxcommand{runbuffer(\jobname.tmp, image, true)} \starttext \startMPcode picture pic; pic = externalfigure \jobname-\jobname.tmp.pdf scaled 1cm; draw pic rotated

Re: [NTG-context] Full page figure

2012-09-25 Thread Sietse Brouwer
figures as their own page in general, (not just PDFs, although that's the example I give), you want \startTEXpage \externalfigure[file.pdf][page=1,width=...] \stopTEXpage Kind regards, Sietse ___ If your question

[NTG-context] tolerance and whitespace settings inside a TEXpage

2012-09-20 Thread Marco Patzer
] \setupbodyfont [mono] \startsetups [myset] \setupwhitespace [big] \setuptolerance [space] \stopsetups \setups{myset} \starttext \startTEXpage [setups=myset] %% \spaceskip .5em plus .25em minus .25em \input knuth \stopTEXpage \input knuth \stoptext Marco

Re: [NTG-context] tolerance and whitespace settings inside a TEXpage

2012-09-20 Thread Wolfgang Schuster
and is there a cleaner solution? Example: \setuplayout [width=8cm] \setupbodyfont [mono] \startsetups [myset] \setupwhitespace [big] \setuptolerance [space] \stopsetups \setups{myset} \starttext \startTEXpage [setups=myset] %% \spaceskip .5em plus .25em minus .25em \input

Re: [NTG-context] Bug in \startitemize[randomize]

2012-08-05 Thread Hans Hagen
) \defineitemgroup[institm] \setupinstitm[1][text, random] \setupinstitm[1][symbol=2, indentnext=no, intro=yes] \starttext \startTEXpage[offset=5mm] \bold{Contributions} \startinstitm \startitem Foo Pvt Ltd {\sc nsw} \stopitem \startitem Bar Pvt Ltd {\sc

[NTG-context] Bug in \startitemize[randomize]

2012-08-04 Thread Aditya Mahajan
] \setupinstitm[1][text, random] \setupinstitm[1][symbol=2, indentnext=no, intro=yes] \starttext \startTEXpage[offset=5mm] \bold{Contributions} \startinstitm \startitem Foo Pvt Ltd {\sc nsw} \stopitem \startitem Bar Pvt Ltd {\sc vic} \stopitem \startitem Baz Pvt Ltd

Re: [NTG-context] Is it possible to generate eps files using metafun and context?

2012-06-18 Thread Hans Hagen
On 14-6-2012 19:07, Hongwen Qiu wrote: Hi, Is it possible to typeset the label with context and generate eps output files using the metafun format? If yes, then how? \startMPpage ... \stopMPpage or \startTEXpage ... \stopTEXpage and then use pstopdf to turn the pdf into an eps Hans

Re: [NTG-context] LuaLaTeX + fontspec: cannot compare documents with Acrobat

2012-06-08 Thread Hans Hagen
is going on and of a possible fix? \documentclass{article} \usepackage{fontspec} \usepackage{lipsum} \begin{document} \lipsum \end{document} I can't process that here. This is a easier test: \nopdfcompression \setupbodyfont[dejavu] \startTEXpage[offset=10pt] a % a \stopTEXpage Even

Re: [NTG-context] LuaLaTeX + fontspec: cannot compare documents with Acrobat

2012-06-08 Thread Jörg Weber
: \nopdfcompression \setupbodyfont[dejavu] \startTEXpage[offset=10pt] a % a \stopTEXpage Even such a minimal document cannot be compared. I have no clue how the compare is supposed to work but if a simple 'a' vs 'aa' document does not work while the files preflight ok it's probably an acrobat issue. Hans

Re: [NTG-context] LuaLaTeX + fontspec: cannot compare documents with Acrobat

2012-06-08 Thread Jörg Weber
? \documentclass{article} \usepackage{fontspec} \usepackage{lipsum} \begin{document} \lipsum \end{document} I can't process that here. This is a easier test: \nopdfcompression \setupbodyfont[dejavu] \startTEXpage[offset=10pt] a % a \stopTEXpage Even such a minimal document cannot be compared

Re: [NTG-context] \externalfigure and factor=max

2012-06-07 Thread Rogers, Michael K
In the following example I expect the third image to have a width of 4cm and a height of 4cm. However, both values are 3cm. The aspect ratio is kept, but “max” and “fit” behave the same. \startbuffer [img] \useMPlibrary [dum] \startTEXpage \externalfigure [dummy] [width=5cm,height=5cm

[NTG-context] \externalfigure and factor=max

2012-06-06 Thread Marco
image to have a width of 4cm and a height of 4cm. However, both values are 3cm. The aspect ratio is kept, but “max” and “fit” behave the same. \startbuffer [img] \useMPlibrary [dum] \startTEXpage \externalfigure [dummy] [width=5cm,height=5cm] \stopTEXpage \stopbuffer \ctxcommand{runbuffer(img

Re: [NTG-context] multitone color problem

2012-05-07 Thread Hans Hagen
,xmagenta=.4,xyellow=.6][c=.2,m=.4,y=.6] \startTEXpage \hbox \bgroup \blackrule[color=scyan, width=1cm,height=1cm,depth=0cm]% \blackrule[color=smagenta,width=1cm,height=1cm,depth=0cm]% \blackrule[color=syellow, width=1cm,height=1cm,depth=0cm]% \blackrule[color

Re: [NTG-context] multitone color problem

2012-05-07 Thread Peter Rolf
[syellow] [xyellow] [p=1] \definemultitonecolor[scombi] [xcyan=.2,xmagenta=.4,xyellow=.6][c=.2,m=.4,y=.6] \startTEXpage \hbox \bgroup \blackrule[color=scyan, width=1cm,height=1cm,depth=0cm]% \blackrule[color=smagenta,width=1cm,height=1cm,depth=0cm]% \blackrule

Re: [NTG-context] doublesided PDF - first and last page singlesided

2012-04-15 Thread Aditya Mahajan
pdf into the above format, you can use the following (pseudo code, untested, and might have typos) get number of pages in the pdf \getfiguredimensions[filename] \edef\NOfPages{\noffigurepages} insert the first page \startTEXpage[height=(A5 height}, width=(A5 width)] \externalfigure

Re: [NTG-context] A question

2012-03-05 Thread Hans Hagen
=resources] \starttext \setlayer[resources]{\placerenderingwindow[example][mysound]} % once \startTEXpage \button{start}[StartSoundTrack] \button{stop}[StopSoundTrack] \stopTEXpage \startTEXpage \button{start}[StartSoundTrack] \button{stop}[StopSoundTrack

[NTG-context] wrong bounding box with \startTEXpage

2012-02-09 Thread Peter Münster
Hello, There is white space above the A and the lower part of the A is cut: \startTEXpage A \stopTEXpage No problem with Aj... -- Peter ___ If your question is of interest to others as well, please

Re: [NTG-context] What’s your favorite command?

2012-01-30 Thread Marco
hesitate: My favourite command is \externalfigure [placeholder] because it produces very pretty colourful graphics (I'm bored to use the dutch cow or the wind mill every time). Example: \useMPlibrary [dum] \starttext \dorecurse{10}{ \startTEXpage \externalfigure

Re: [NTG-context] What’s your favorite command?

2012-01-30 Thread Aditya Mahajan
}{ \startTEXpage \externalfigure [placeholder] \stopTEXpage} \stoptext You can also use my `\externalkitten` macro: http://randomdeterminism.wordpress.com/2011/05/07/images-for-documentation-examples/ \def\externalkitten[#1]% {\getparameters[kitten][width=10pt, height=10pt, #1

[NTG-context] Centring rotated float

2012-01-23 Thread Marco
works. Example: \starttext \startbuffer [fig] \useMPlibrary [dum] \starttext \startTEXpage \externalfigure [placeholder] [width=10cm, height=4cm] \stopTEXpage \stoptext \stopbuffer \savebuffer [fig] [fig

Re: [NTG-context] Merging PDF document of various page sizes. Can ConTeXt help?

2012-01-13 Thread luigi scarso
and orientation - Each page contains a PDF vector image that is not to be converted to pixels So , if you have file-001.pdf, file-002.pdf, file-003.pdf maybe \starttext \startTEXpage\externalfigure[file-001]\stopTEXpage \startTEXpage\externalfigure[file-002]\stopTEXpage \startTEXpage\externalfigure[file-003

Re: [NTG-context] Merging PDF document of various page sizes. Can ConTeXt help?

2012-01-13 Thread Mojca Miklavec
and orientation - Each page contains a PDF vector image that is not to be converted to pixels Yes, this is easy. There are three options: 1.) \startTEXpage\externalfigure[...]\stopTEXpage 2.) same, but with TEXstream 3.) a shortcut for the above, \startpagefigure. See http://wiki.contextgarden.net

Re: [NTG-context] Merging PDF document of various page sizes. Can ConTeXt help?

2012-01-13 Thread Gerben Wierda
fancy ConTeXt trickery I could use to do this? Summary: - One PDF as result - Each page has a different size and orientation - Each page contains a PDF vector image that is not to be converted to pixels Yes, this is easy. There are three options: 1.) \startTEXpage\externalfigure

Re: [NTG-context] Page Size to Figure Size

2011-12-31 Thread Kip Warner
a portrait layout for the page dimension. How can I insert a figure so that it is of a given size, with the page size perfectly cropped around it? \startTEXpage[offset=1mm] \externalfigure[...] \stopTEXpage Aditya Hey Aditya, I've adapted it into the following. % Insert a full page diagram

Re: [NTG-context] Is there a replacement for \tracechinesetrue in mkiv?

2011-12-29 Thread Hans Hagen
[TestFontA][Serif*redboxed] \definefont[TestFontB][Serif*greenboxed] \definefont[TestFontC][Serif*blueboxed] \startTEXpage[offset=10pt] \start \TestFontA \input zapf \stop \blank \start \TestFontB \input zapf \stop \blank \start \TestFontC \input zapf \stop

Re: [NTG-context] Page Size to Figure Size

2011-12-29 Thread Aditya Mahajan
that it is of a given size, with the page size perfectly cropped around it? \startTEXpage[offset=1mm] \externalfigure[...] \stopTEXpage Aditya ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] MetaFUN's \setupMPpage broken? [SOLVED]

2011-12-28 Thread Verhaag, G.C.H.M.
or is this mailing list the only way to find out? It’s already obsolete as you noticed by the “undefined control sequence” warning. The reason for this is that \startMPpage and \startTEXpage are now defined in a different way than they had been in MkII. In MkII both commands are defined

Re: [NTG-context] MetaFUN's \setupMPpage broken? [SOLVED]

2011-12-27 Thread Wolfgang Schuster
already obsolete as you noticed by the “undefined control sequence” warning. The reason for this is that \startMPpage and \startTEXpage are now defined in a different way than they had been in MkII. In MkII both commands are defined with \def\startMPpage{…} and \def\startTEXpage{…} but in MkIV

Re: [NTG-context] Change the gap between image and caption

2011-11-26 Thread Jaroslav Hajtmar
]{Here is farther caption} {\externalfigure[mill][type=jpg,metod=jpg,width=5cm,frame=on]} \input tufte \page \startTEXpage \startcombination[3*1] {\externalfigure[cow][frame=on]}{This caption has to be more distanced.} {\externalfigure[cow][frame

[NTG-context] Change the gap between image and caption

2011-11-25 Thread Jaroslav Hajtmar
} {\externalfigure[mill][type=jpg,metod=jpg,width=5cm,frame=on]} \input tufte \page \startTEXpage \startcombination[3*1] {\externalfigure[cow][frame=on]}{This caption has to be more distanced.} {\externalfigure[cow][frame=on]}{This title has yet to be more distanced.} {\externalfigure

Re: [NTG-context] Change the gap between image and caption

2011-11-25 Thread Christian
={\blank[1cm]}] \setupfloats[spacebefore=none, spaceafter=none] % \input tufte \placefigure[here]{Here is farther caption} {\externalfigure[mill][type=jpg,metod=jpg,width=5cm,frame=on]} \input tufte \page \startTEXpage \startcombination[3*1] {\externalfigure[cow][frame

Re: [NTG-context] Change the gap between image and caption

2011-11-25 Thread Jaroslav Hajtmar
[spacebefore=none, spaceafter=none] % \input tufte \placefigure[here]{Here is farther caption} {\externalfigure[mill][type=jpg,metod=jpg,width=5cm,frame=on]} \input tufte \page \startTEXpage \startcombination[3*1] {\externalfigure[cow][frame=on]}{This caption has to be more distanced

Re: [NTG-context] Change the gap between image and caption

2011-11-25 Thread Christian
\setupcaptions[number=no,style=\ssxx,inbetween={\blank[1cm]}] \setupfloats[spacebefore=none, spaceafter=none] % \input tufte \placefigure[here]{Here is farther caption} {\externalfigure[mill][type=jpg,metod=jpg,width=5cm,frame=on]} \input tufte \page \startTEXpage

Re: [NTG-context] Combinations without any vertical space

2011-11-23 Thread Jaroslav Hajtmar
] \startTEXpage \startcombination[overviewpage][2*1] {\framed{Hello}}{\framed{Hello}} {\framed{Hello}}{\framed{Hello}} \stopcombination \stopTEXpage Thanx Jaroslav Dne 24.11.2011 7:25, Aditya Mahajan napsal(a): On Thu, 24 Nov 2011, Wolfgang Schuster wrote: Am 24.11.2011 um 00:29 schrieb Aditya Mahajan

Re: [NTG-context] No colons with pxmath fonts

2011-11-12 Thread Hans Hagen
On 11-11-2011 13:40, Andreas Harder wrote: Hi, there is (still) no colon if one uses the pxmath fonts. By the way, \setupTEXpage causes an error (Undefined control sequence). \setupbodyfont[palatino] % no colon % \setupbodyfont[asana] % OK % \setupTEXpage[offset=1ex] % error \startTEXpage

[NTG-context] No colons with pxmath fonts

2011-11-11 Thread Andreas Harder
Hi, there is (still) no colon if one uses the pxmath fonts. By the way, \setupTEXpage causes an error (Undefined control sequence). \setupbodyfont[palatino] % no colon % \setupbodyfont[asana] % OK % \setupTEXpage[offset=1ex] % error \startTEXpage % [offset=1ex] % OK $a$:\,$b$\par $a\colon b

[NTG-context] righttoleft pars lost

2011-11-08 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Somewhere in the last few updates righttoleft pars have either changed or are broken: \starttext \startTEXpage[align=r2l] \righttoleft % pardir Here is some text And some more More \stopTEXpage \stoptext r2l textdir is correct but r2l pardir is lost. This worked normally

Re: [NTG-context] righttoleft pars lost

2011-11-08 Thread Hans Hagen
On 8-11-2011 17:49, Idris Samawi Hamid ادريس سماوي حامد wrote: Dear gang, Somewhere in the last few updates righttoleft pars have either changed or are broken: \starttext \startTEXpage[align=r2l] \righttoleft % pardir Here is some text And some more More \stopTEXpage \stoptext r2l

Re: [NTG-context] righttoleft pars lost

2011-11-08 Thread Wolfgang Schuster
Am 08.11.2011 um 17:49 schrieb Idris Samawi Hamid ادريس سماوي حامد: Dear gang, Somewhere in the last few updates righttoleft pars have either changed or are broken: \starttext \startTEXpage[align=r2l] \righttoleft % pardir You don’t need \righttoleft because “‘align=right

[NTG-context] No \colon with pxmath

2011-10-15 Thread Andreas Harder
Hi, the colon sign disappears if one uses pxmath fonts (latest beta MkIV). \setupbodyfont[palatino] % not OK % \setupbodyfont[asana] % OK \startTEXpage $a:b$\par $a\colon b$ \stopTEXpage Regards Andreas

Re: [NTG-context] I don't understand scale value of \scale[scale=700], 700 = 70% ?

2011-10-12 Thread luigi scarso
]{•} \stoptext I don't understand the scale value : * 700 = 70% ? * 1700 = 170% ? yes: see \starttext \startTEXpage A\scale[scale=1000]{A} A\scale[scale=500]{A} A\scale[scale=2000]{A} \stopTEXpage \stoptext -- luigi attachment

Re: [NTG-context] Imposition and repeating pages

2011-08-25 Thread Aditya Mahajan
. For example (untested): \getfiguredimensions[file]% \edef\NOfpages{\noffigurepages}% \dorecurse{\NOfpages} {\dorecurse{4} {\startTEXpage \externalfigure[file][page=\recurselevel]% \stopTEXpage}} and then do the arranging. Aditya

Re: [NTG-context] Imposition and repeating pages

2011-08-25 Thread Marcin Borkowski
} {\startTEXpage \externalfigure[file][page=\recurselevel]% \stopTEXpage}} and then do the arranging. Thanks - but this is exactly what I do *not* want to do. My first idea was to do something like \def\onepageworthofmaterial{whatever\page} \dorecurse{4}{\onepageworthofmaterial

Re: [NTG-context] Imposition and repeating pages

2011-08-25 Thread Aditya Mahajan
times?) You can write a macro that reads a pdf file and outputs each of its page four times. For example (untested): \getfiguredimensions[file]% \edef\NOfpages{\noffigurepages}% \dorecurse{\NOfpages} {\dorecurse{4} {\startTEXpage \externalfigure[file][page=\recurselevel

Re: [NTG-context] metapost question (bug?)

2011-07-22 Thread Peter Rolf
is intersecting with itself, funny things can happen. well, most times not that funny (because unwanted). probably not the best example (not drawn, no special pen), but it gives a first impression of what is going on. \startTEXpage \startMPcode path p[]; p0 := unitcircle scaled 10cm

[NTG-context] metapost question (bug?)

2011-07-21 Thread Alan Braslau
in the 2nd, this is to be expected in this minimal example.) Is the result correct or is this a bug? Alan \starttext \startTEXpage \startMPcode u := 1mm ; path p[] ; p0 := ((0,0)--(1,0)) rotated 45 scaled 20u ; pickup pensquare scaled 10u rotated 45

Re: [NTG-context] metapost question (bug?)

2011-07-21 Thread luigi scarso
to be drawn without the point at (0,0). (Ignore the asymmetry at the end of the path in the 2nd, this is to be expected in this minimal example.) Is the result correct or is this a bug? Alan \starttext \startTEXpage \startMPcode        u := 1mm ;        path p[] ;        p0 := ((0,0)--(1,0

Re: [NTG-context] metapost question (bug?)

2011-07-21 Thread Peter Rolf
would expect. The second graphic seems to be drawn without the point at (0,0). (Ignore the asymmetry at the end of the path in the 2nd, this is to be expected in this minimal example.) Is the result correct or is this a bug? Alan \starttext \startTEXpage \startMPcode u := 1mm

[NTG-context] \start/stopTEXpage resets page layout?

2011-07-19 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, let's have the following code: \setuplayout[page] \starttext AAA \page \copypages[cow.pdf] BBB \startTEXpage \externalfigure[cow] \stopTEXpage \page CCC \stoptext Texts AAA and BBB are written from the strict left top corner of the page - page has

Re: [NTG-context] Changing the colors of a button

2011-07-05 Thread Hans Hagen
} ; \stopuniqueMPgraphic \definepushsymbol [reset] [n] [\uniqueMPgraphic{whatever}{color=red}] \definepushsymbol [reset] [r] [\uniqueMPgraphic{whatever}{color=green}] \definepushsymbol [reset] [d] [\uniqueMPgraphic{whatever}{color=blue}] \starttext \startTEXpage \pushbutton [reset] [page(2

Re: [NTG-context] Cambria: integral sign has wrong size

2011-07-01 Thread Philipp Stephani
wrong here, or how to fix it? Julian \usetypescript[cambria] \setupbodyfont[cambria,10pt] \startTEXpage \startformula \prod_a^b \sum_{n=0}^\infty \int_0^\infty e^{-{\bi\beta}^2}\, {\rm d}^3{\bi \beta} \stopformula \stopTEXpage This is a known bug in the Cambria font, the size of the big

Re: [NTG-context] Sanskrit Devanagari characters

2011-06-24 Thread Aditya Mahajan
ligatures \font\devnagari=Lohit-Hindi at 12pt \starttext \startTEXpage[foregroundstyle=\devnagari] \stopmkiipreamble \startmkiipostamble \stopTEXpage \stoptext \stopmkiipostamble \starttext Check if this works. \startmkii \startlines जाति न पूछो साधु की, पूछ लीजिए ग्‍यान। मोल करो तलवार

Re: [NTG-context] Sanskrit Devanagari characters

2011-06-24 Thread Kip Warner
\startTEXpage[foregroundstyle=\devnagari] \stopmkiipreamble \startmkiipostamble \stopTEXpage \stoptext \stopmkiipostamble \starttext Check if this works. \startmkii \startlines जाति न पूछो साधु की, पूछ लीजिए ग्‍यान। मोल करो तलवार के, पड़ा रहन दो म्‍यान।। \stoplines

[NTG-context] Unwanted change of paper size; extra opt for \externalfigure

2011-06-08 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, see the following example: \starttext AAA \startTEXpage \rotate[rotation=-90]{\externalfigure[Model.pdf]} \stopTEXpage % Paper size is 297 * 297 mm from now?! BBB \stoptext Why the last paper size becomes 297 x 297 mm? Suggestion: Wouldn't be good to have

Re: [NTG-context] Unwanted change of paper size; extra opt for \externalfigure

2011-06-08 Thread luigi scarso
2011/6/8 Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz: Hello, see the following example: \starttext  AAA  \startTEXpage    \rotate[rotation=-90]{\externalfigure[Model.pdf]}  \stopTEXpage  % Paper size is 297 * 297 mm from now?!  BBB \stoptext Why the last

Re: [NTG-context] Unwanted change of paper size; extra opt for \externalfigure

2011-06-08 Thread luigi scarso
Not sure if it's a bug, but this fixes the situation (assuming A4 on A4) \starttext AAA \startTEXpage \rotate[rotation=-90]{\externalfigure[Model.pdf]} \stopTEXpage \setuppapersize[A4][A4] % Paper size is 297 * 297 mm from now?! BBB \stoptext -- luigi

Re: [NTG-context] Unwanted change of paper size; extra opt for \externalfigure

2011-06-08 Thread Marco
On 2011-06-08 Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz wrote: Hello, see the following example: \starttext AAA \startTEXpage \rotate[rotation=-90]{\externalfigure[Model.pdf]} \stopTEXpage % Paper size is 297 * 297 mm from now?! BBB

Re: [NTG-context] Unwanted change of paper size; extra opt for \externalfigure

2011-06-08 Thread Procházka Lukáš Ing . - Pontex s . r . o .
On Wed, 08 Jun 2011 12:01:04 +0200, luigi scarso luigi.sca...@gmail.com wrote: Not sure if it's a bug, but this fixes the situation (assuming A4 on A4) \starttext AAA \startTEXpage \rotate[rotation=-90]{\externalfigure[Model.pdf]} \stopTEXpage \setuppapersize[A4][A4] % Paper size is 297

Re: [NTG-context] math: using bold charaters for number sets

2011-05-24 Thread Hans Hagen
\startTEXpage \startformula \reals {\mathbf R} \utfchar{0211D} \utfchar{1D411} \stopformula \setupmathematics[symbolset=blackboard-to-bold] \startformula \reals {\mathbf R} \utfchar{0211D} \utfchar{1D411} \stopformula \stopTEXpage

Re: [NTG-context] ConTeXt-Artikel im deutschen Linux User 05/2011

2011-04-20 Thread luigi scarso
\startTEXpage{\ss \ConTeXt}\stopTEXpage \stoptext -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg

[NTG-context] margin in TEXpage

2011-04-20 Thread Curiouslearn
Hello All, In the following minimal example there is no whitespace around the figure. Is it possible to add some white space around the figure when using \startTEXpage \stopTEXpage environment. Thank you. \usemodule[tikz] \starttext \startTEXpage \starttikzpicture \draw[fill=blue!20

Re: [NTG-context] margin in TEXpage

2011-04-20 Thread Khaled Hosny
On Wed, Apr 20, 2011 at 10:25:15AM -0400, Curiouslearn wrote: Hello All, In the following minimal example there is no whitespace around the figure. Is it possible to add some white space around the figure when using \startTEXpage \stopTEXpage environment. Thank you. \usemodule[tikz

Re: [NTG-context] margin in TEXpage

2011-04-20 Thread Curiouslearn
space around the figure when using \startTEXpage \stopTEXpage environment. Thank you. \usemodule[tikz] \starttext \startTEXpage   \starttikzpicture       \draw[fill=blue!20] (0,0) rectangle (3,2);   \stoptikzpicture \stopTEXpage \stoptext Try \startTEXpage[offset=1pt] etc. Regards

Re: [NTG-context] Widget and mandatory Rect field?

2011-04-18 Thread Hans Hagen
that its ConTeXt's fault, as It has a Widget annotation without the mandatory Rect field. Is it really so? I couldn't find any threads on this on the list. \nopdfcompression \setupinteraction[state=start] \definefieldbody[email][type=line] \starttext \startTEXpage \fieldbody[email

[NTG-context] beta

2011-03-26 Thread Hans Hagen
\startTEXpage \definedfont[Serif*default at 20pt]fijn\par \definefontfeature[nlddefault][default][script=latn,language=nld] \definedfont[Serif*nlddefault at 20pt]fijn\par \stopTEXpage \stoptext Depending on the font, node mode takes more memory (and a bit more runtime

Re: [NTG-context] Changing the font used in a flowchart

2011-03-26 Thread Wolfgang Schuster
your example without \startTEXpage/\stopTEXpage and you see that the chart won’t fit on the page when you set the fontsize to 24pt. To keep the width of the chart within the allowed width (\textwidth) context reduce the fontsize until the chart fits. Wolfgang

[NTG-context] beta (asana goodies)

2011-03-26 Thread Andreas Harder
Hi Hans, with the latest beta asana-math.lfg don't seem to have any influence of the output. \setupbodyfont[asana] \startTEXpage[offset=1ex] $\binom{n}{k}\quad \dbinom{n}{k}$ \stopTEXpage It used to work with the experimental two or three days ago. Greeting Andreas

Re: [NTG-context] Changing the font used in a flowchart

2011-03-26 Thread Cecil Westerhof
2011/3/26 Wolfgang Schuster schuster.wolfg...@googlemail.com When you use the “maxwidth” or “maxheight” keys context ignores the current bodyfont and also the “bodyfont” key to fit the chart on the page. What is the reason for this? Try your example without \startTEXpage/\stopTEXpage

<    4   5   6   7   8   9   10   11   >