[NTG-context] documents inside documents

2013-06-25 Thread Pablo Rodríguez
the document. Here is a sample of what I want to include scaled (the way an image is included) within another document: \mainlanguage[en] \setuplanguage[en][patterns={en,agr}] \definepapersize[mine][width=6in,height=2in] \setuppapersize[mine] \usemodule[simplefonts] \setmainfont[Theano Didot

Re: [NTG-context] documents inside documents

2013-06-25 Thread Wolfgang Schuster
be much easier for me to be able to have the code inside the main the document. Here is a sample of what I want to include scaled (the way an image is included) within another document: \mainlanguage[en] \setuplanguage[en][patterns={en,agr}] \definepapersize[mine][width=6in,height=2in

Re: [NTG-context] documents inside documents

2013-06-25 Thread Wolfgang Schuster
}] \definepapersize[mine][width=6in,height=2in] \setuppapersize[mine] \usemodule[simplefonts] \setmainfont[Theano Didot] \definelinenote[contxt] \setupnote[contxt][paragraph=yes, inbetween=\hskip1.5em] \setupnotation[contxt][numbercommand=,alternative=serried,distance=1em,compress=yes

Re: [NTG-context] documents inside documents

2013-06-25 Thread Peter Münster
-document] \mainlanguage[en] \setuplanguage[en][patterns={en,agr}] \definepapersize[mine][width=6in,height=2in] \setuppapersize[mine] \usemodule[simplefonts] \setmainfont[Theano Didot] \definelinenote[contxt] \setupnote[contxt][paragraph=yes, inbetween=\hskip1.5em] \setupnotation[contxt

[NTG-context] Using \setupinterlinespace with \setuparranging[XY], and more

2013-06-21 Thread Pavneet Arora
: \definepapersize [Label] [width=4in,height=3.33in] \setuppapersize[Label][letter,portrait] \setuppaper [topspace=0.4688in, backspace=0.1875in, dx=0.1875in, dy=0in, nx=2, ny=3] \setuplayout [topspace=0in, backspace

Re: [NTG-context] Vertically Aligning inmargin Text to Figure

2013-06-18 Thread Hans Hagen
is not---and cannot be---the figure caption (it's providing some explanation with respect to some labels in the figure). I have tried the following based on some other post on the mailing list: \definepapersize[eightsquare][width=8in, height=8in] \setuppapersize[eightsquare] \setuplayout[ location

Re: [NTG-context] Vertically Aligning inmargin Text to Figure

2013-06-17 Thread Malte Stien
is not---and cannot be---the figure caption (it's providing some explanation with respect to some labels in the figure). I have tried the following based on some other post on the mailing list: \definepapersize[eightsquare][width=8in, height=8in] \setuppapersize[eightsquare] \setuplayout

[NTG-context] Adjust font size to cell height in natural table

2013-05-27 Thread H. Özoguz
}] \bTR\bTD[height=2cm] ~\blank[-3.4mm]#1 \eTD\eTR \bTR\bTD[height=3cm] #2\\#3\\#4\\#5\\#6 \eTD\eTR \bTR\bTD[height=2.4cm] #7 \eTD\eTR \eTABLE \stopframed} \setuppagenumbering[location=] \definepapersize[sheet][width=45.5mm,height=74mm] \definepapersize[bigsheet][width=\dimexpr\paperwidth

[NTG-context] [***SPAM***] Re: Understanding the imposing-mechanism

2013-05-25 Thread H. Özoguz
You have to change the size for the page and paper, the first has to be the size of the cards while the second is the size of the paper which you use to print all cards. \definepapersize [card] [width=47.5mm,height=76mm] \definepapersize [sheet] [width=660mm,height=330mm] \setuppapersize [card

Re: [NTG-context] [***SPAM***] Re: Understanding the imposing-mechanism

2013-05-25 Thread Sietse Brouwer
to change the size for the page and paper, the first has to be the size of the cards while the second is the size of the paper which you use to print all cards. \definepapersize [card] [width=47.5mm,height=76mm] \definepapersize [sheet] [width=660mm,height=330mm] \setuppapersize [card][sheet

Re: [NTG-context] [***SPAM***] Re: Understanding the imposing-mechanism

2013-05-25 Thread Wolfgang Schuster
Am 25.05.2013 um 11:15 schrieb H. Özoguz h.oezo...@mmnetz.de: You have to change the size for the page and paper, the first has to be the size of the cards while the second is the size of the paper which you use to print all cards. \definepapersize [card] [width=47.5mm,height=76mm

Re: [NTG-context] Vertically Aligning inmargin Text to Figure

2013-05-24 Thread Malte Stien
caption (it's providing some explanation with respect to some labels in the figure). I have tried the following based on some other post on the mailing list: \definepapersize[eightsquare][width=8in, height=8in] \setuppapersize[eightsquare] \setuplayout[ location=doublesided, marking

[NTG-context] Understanding the imposing-mechanism

2013-05-24 Thread H. Özoguz
: http://wiki.contextgarden.net/Imposition And here my failed try: \definepapersize[sheet][width=660mm,height=330mm] \definepapersize[bigsheet][width=\dimexpr\paperwidth+4mm\relax,height=\dimexpr\paperheight+4mm\relax] \setuppaper[sheet][bigsheet] \setuppaper[nx=13, ny=4] \setuplayout[page][location

Re: [NTG-context] Understanding the imposing-mechanism

2013-05-24 Thread Wolfgang Schuster
nothing reasonable, nor even understandable. The example of the wiki is here: http://wiki.contextgarden.net/Imposition And here my failed try: \definepapersize[sheet][width=660mm,height=330mm] \definepapersize[bigsheet][width=\dimexpr\paperwidth+4mm\relax,height=\dimexpr\paperheight+4mm\relax

[NTG-context] Vertically Aligning inmargin Text to Figure

2013-04-29 Thread Malte Stien
Hi, I need to associate a bit of text with a figure in a book. The text is not---and cannot be---the figure caption (it's providing some explanation with respect to some labels in the figure). I have tried the following based on some other post on the mailing list: \definepapersize

Re: [NTG-context] Vertically Aligning inmargin Text to Figure

2013-04-29 Thread Wolfgang Schuster
on some other post on the mailing list: \definepapersize[eightsquare][width=8in, height=8in] \setuppapersize[eightsquare] \setuplayout[ location=doublesided, marking=on, backspace=43mm, leftmargin=18mm, leftmargindistance=4mm, rightmargin=35mm, rightmargindistance=4mm

Re: [NTG-context] ntg-context Digest, Vol 103, Issue 95

2013-01-31 Thread H. Özoguz
, as follows, but this does not work, what did I forget? \definepapersize[sheet][width=162mm,height=225mm] \setuppapersize[sheet] \setupbackgrounds[page][frame=on,frameoffset=10mm] \setuplayout[location=middle, topspace=17.4mm, header=1.1cm, footer=1.4cm, bottomspace=26mm, width=middle

Re: [NTG-context] ntg-context Digest, Vol 103, Issue 95

2013-01-31 Thread Wolfgang Schuster
and cutting) \definepapersize[sheet] [width=162mm,height=225mm] \definepapersize[bigsheet][width=\dimexpr\paperwidth+6mm\relax,height=\dimexpr\paperheight+6mm\relax] \setuppapersize[sheet][bigsheet] \setupbackgrounds[page][frame=on,frameoffset=0mm] \setuplayout [location=middle

Re: [NTG-context] Cut-Space

2013-01-26 Thread Wolfgang Schuster
Am 25.01.2013 um 11:57 schrieb H. Özoguz h.oezo...@mmnetz.de: Hi there, I am usually using Din A5 with \definepapersize[MyBook][A5] \setuppapersize[MyBook][A5] How to add 3mm cut space (extra space) on all four edges? You can use the “oversized” paper which add 1.5cm

Re: [NTG-context] Creating a folded meander book - imposition problem

2013-01-26 Thread Wolfgang Schuster
{#1}103\arrangedpageA \poparrangedpages \fi} \definepapersize[small][width=6cm,height=6cm] \definepapersize[big][width=30cm,height=30cm] \setuppapersize[small][big] \setuppagenumbering[location=] \setuparranging[MEANDER] \setuplayout [location=middle, marking=on] \starttext

[NTG-context] Cut-Space

2013-01-25 Thread H. Özoguz
Hi there, I am usually using Din A5 with \definepapersize[MyBook][A5] \setuppapersize[MyBook][A5] How to add 3mm cut space (extra space) on all four edges? Thank you. Huseyin ___ If your question is of interest

Re: [NTG-context] Section alone on the page

2012-11-18 Thread H. Özoguz
break. %\setuphead[section][after={\blank[big,preference]}] \starttext \dorecurse{39}{Line \recurselevel\par} \section Another line \stoptext Wolfgang Thanks, but I think this one is not the problem. I have made this minexample: +++ \definepapersize[MyBook][A5] \setuppapersize

[NTG-context] Tolerance and Stretch versus Protrusion and Ugliness

2012-11-15 Thread H. Özoguz
Hi there, at the moment I use for my book \definepapersize[MyBook][A5] \setuppapersize[MyBook][A5] \usemodule [simplefonts][size=11pt] \setmainfont[Times New Roman][expansion=quality,protrusion=quality] \setupalign [hanging] \setuptolerance[stretch] \tolerance 70 Is it suitable to use

[NTG-context] margintext and placefigure

2012-11-11 Thread Andy Thomas
to avoid that and have the figure always placed in the margin? Thanks, Andy -- code starts --- \useMPlibrary[dum] % To get dummy figures \definepapersize[wissenschaft][width=170mm, height=240mm] \setuppapersize [wissenschaft] \setuplayout[topspace=40pt, header=0pt

[NTG-context] Preventing page break in register between reference and page number

2012-11-09 Thread H. Özoguz
Hello there, I am relatively new to ConTeXt, now typing a small book in it. I have a problem with the register (index). This is an example: |\definepapersize[MyBook][A6] \setuppapersize[MyBook][A6] % Prints on paper the size of MyBook \starttext \index{A} blub \index{B} blub \index

Re: [NTG-context] Preventing page break in register between reference and page number

2012-11-09 Thread Hans Hagen
On 11/9/2012 9:08 AM, H. Özoguz wrote: Hello there, I am relatively new to ConTeXt, now typing a small book in it. I have a problem with the register (index). This is an example: |\definepapersize[MyBook][A6] \setuppapersize[MyBook][A6] % Prints on paper the size of MyBook \starttext \index

[NTG-context] Is it possible to arrange pages so that they fall alternating on two sides of the sheet?

2012-11-06 Thread Marcin Borkowski
Hi all, I have something like this: \definepapersize[thin][width=210mm,height=74.25mm] \setuppapersize[thin][A4] \setuppaper[nx=1,ny=4] \setuplayout[topspace=1.5cm,backspace=1.5cm, header=0mm,footer=0mm, width=middle,height=middle] \setuparranging[XY] I'd like to have pages 1, 3, 5, 7

Re: [NTG-context] Serious problems with kerning in setlayerframed

2012-10-23 Thread Hans Hagen
=] \definepapersize [poster] [width=36cm,height=55cm] \starttext \setupbackgrounds[page][background=paper] \definelayer[paper] [width=\paperwidth,height=\paperheight] \startbuffer[title] \definedfont[Bold at 38pt] Kerning Screw Up \stopbuffer \setlayerframed[paper

[NTG-context] Widows: penalty without efffect (ConTeXt iv)

2012-08-10 Thread Jan Dittrich
_ \widowpenalty=9000 \clubpenalty=9000 \definepapersize[janssize][width=190mm, height=245mm] \setuppapersize[janssize][A4] %we can use something like [A5][A4], which is a a5 Page sized Document printed on a A4 sheet \setuplayout[grid=yes, marking=on, location

[NTG-context] [***SPAM***] Widows: penalty without efffect (ConTeXt iv)

2012-08-09 Thread d_jan
_ \widowpenalty=9000 \clubpenalty=9000 \definepapersize[janssize][width=190mm, height=245mm] \setuppapersize[janssize][A4] %we can use something like [A5][A4], which is a a5 Page sized Document printed on a A4 sheet \setuplayout[grid=yes, marking=on, location

Re: [NTG-context] [***SPAM***] Widows: penalty without efffect (ConTeXt iv)

2012-08-09 Thread Stefan Müller
of the documents structure and the placement of the penalty-commands _ \widowpenalty=9000 \clubpenalty=9000 \definepapersize[janssize][width=190mm, height=245mm] \setuppapersize[janssize][A4] %we can use something like [A5][A4], which is a a5 Page sized Document printed

Re: [NTG-context] [***SPAM***] Widows: penalty without efffect (ConTeXt iv)

2012-08-09 Thread d_jan
-commands _ \widowpenalty=9000 \clubpenalty=9000 \definepapersize[janssize][width=190mm, height=245mm] \setuppapersize[janssize][A4] %we can use something like [A5][A4], which is a a5 Page sized Document printed on a A4 sheet \setuplayout[grid=yes, marking

[NTG-context] problem with \setupalign[line]

2012-08-02 Thread Peter Münster
Hi, How could I avoid please, that the lower part of the g gets cut: --8---cut here---start-8--- \definepapersize[test][width=5cm, height=39mm] \setuppapersize[test] \setuplayout[page] \setupalign[line] \setupwhitespace[small] \starttext \dorecurse{10}{ba gla

Re: [NTG-context] problem with \setupalign[line]

2012-08-02 Thread Hans Hagen
On 2-8-2012 10:32, Peter Münster wrote: Hi, How could I avoid please, that the lower part of the g gets cut: --8---cut here---start-8--- \definepapersize[test][width=5cm, height=39mm] \setuppapersize[test] \setuplayout[page] \setupalign[line

Re: [NTG-context] 2 columns: 1 language per column (solved)

2012-07-31 Thread Peter Münster
() local fp = io.open(env.tex, w) fp:write([[ \startenvironment env \def\ColumnDistance{1cm} \startmode[columns] \definepapersize[columns][ width=\dimexpr (\textwidth - \ColumnDistance) / 2 \relax, height=\textheight] \setuppapersize[columns] \setuplayout[page] \setuppagenumbering

Re: [NTG-context] 2 columns: 1 language per column (solved)

2012-07-31 Thread Otared Kavian
-file): --8---cut here---start-8--- local C = context local format = string.format local function create_environment() local fp = io.open(env.tex, w) fp:write([[ \startenvironment env \def\ColumnDistance{1cm} \startmode[columns] \definepapersize

Re: [NTG-context] ntg-style error

2012-06-06 Thread Taco Hoekwater
general typographic details \setupindenting [yes,next,11pt] % indenting after enumerations etc. \definepapersize [maps] [width=21cm,height=26.5cm] \setuppapersize [maps][maps] % parameters: % margin - latex marginparwith \setuplayout[% topspace=40pt, height=688pt, header=33pt

Re: [NTG-context] pushing margintext up

2012-05-29 Thread Philipp Gesang
they occur. Don’t marginblocks behave like that? ···8··· \definepapersize[wissenschaft][width=170mm,height=240mm] \setuppapersize [wissenschaft] \setuplayout [topspace=40pt, header=0pt, headerdistance=0pt, backspace=42pt, leftmargin=0pt

[NTG-context] Is it possible to define a custom imposition schema? (sure it is, but how?)

2012-05-29 Thread Marco Pessotto
\definepapersize[carta][width=320mm,height=440mm] \setuppapersize[carta][carta] \setuplayout [topspace=0pt, backspace=0pt, header=0pt, footer=0pt, margin=0pt, marking=on, width=320mm, height=440mm, location=middle] \setuppagenumbering[alternative=doublesided,location

Re: [NTG-context] Is it possible to define a custom imposition schema? (sure it is, but how?)

2012-05-29 Thread Willi Egger
out page. Also, what are \c_page_marks_nx and \c_page_marks_ny? Any hint about how this machinery works? Thanks Best wishes % start draft \definepapersize[carta][width=320mm,height=440mm] \setuppapersize[carta][carta] \setuplayout [topspace=0pt, backspace=0pt, header=0pt

Re: [NTG-context] pushing margintext up

2012-05-28 Thread Philipp Gesang
curious too whether this can be done. Regards Philipp example: \definepapersize[wissenschaft][width=170mm,height=240mm] \setuppapersize [wissenschaft] \setuplayout [topspace=40pt, header=0pt, headerdistance=0pt, backspace=42pt, leftmargin=0pt, width=280pt

Re: [NTG-context] pushing margintext up

2012-05-27 Thread Andy Thomas
the margintext up, pushing other margintexts upwards while doing so? example: \definepapersize[wissenschaft][width=170mm,height=240mm] \setuppapersize [wissenschaft] \setuplayout [topspace=40pt, header=0pt, headerdistance=0pt, backspace=42pt, leftmargin=0pt, width=280pt, height=560pt

[NTG-context] pushing margintext up

2012-05-23 Thread Andy Thomas
Hello all, is there a way for margintext to 'respect' the lower border of the page and push the margintext up, pushing other margintexts upwards while doing so? example: \definepapersize[wissenschaft][width=170mm,height=240mm] \setuppapersize [wissenschaft] \setuplayout [topspace=40pt

[NTG-context] doublesided wider paragraphs

2012-05-22 Thread Andy Thomas
found \startlocal (\startlokaal) in the ConTeXt getting started pdf, but Mk IV does not know \startlocal (any more?). My example: % setup the page format \definepapersize[wissenschaft][width=170mm,height=240mm] % use the new page format \setuppapersize[wissenschaft] % shape the page \setuplayout

Re: [NTG-context] doublesided wider paragraphs

2012-05-22 Thread Wolfgang Schuster
], but the macros do not seem to be aware of that. I also found \startlocal (\startlokaal) in the ConTeXt getting started pdf, but Mk IV does not know \startlocal (any more?). My example: % setup the page format \definepapersize[wissenschaft][width=170mm,height=240mm] % use the new page format

Re: [NTG-context] doublesided wider paragraphs

2012-05-22 Thread Andy Thomas
pdf, but Mk IV does not know \startlocal (any more?). My example: % setup the page format \definepapersize[wissenschaft][width=170mm,height=240mm] % use the new page format \setuppapersize[wissenschaft] % shape the page \setuplayout[topspace=40pt, header=0pt

Re: [NTG-context] doublesided wider paragraphs

2012-05-22 Thread Wolfgang Schuster
for \doadapt… to a fixed value it will produce the right output but you can get an unexpected output when the fullwidth environment appears at the start of a new page. \definepapersize[wissenschaft][width=170mm,height=240mm] \setuppapersize [wissenschaft] \setuplayout [topspace=40pt, header

Re: [NTG-context] doublesided wider paragraphs

2012-05-22 Thread Andy Thomas
but I used in my example this value to calculate the additional space. When you set the argument for \doadapt… to a fixed value it will produce the right output but you can get an unexpected output when the fullwidth environment appears at the start of a new page. \definepapersize

[NTG-context] stack marginals: text and figures

2012-05-21 Thread Andy Thomas
made a small example to show the behavior: % setup the page format \definepapersize[wissenschaft][width=170mm,height=240mm] % use the new page format \setuppapersize[wissenschaft] % shape the page \setuplayout[topspace=40pt, header=0pt

[NTG-context] Scaling in setuplayout does not work with setuparranging

2012-04-25 Thread Steffen Fritzsche
at the attached minified example below. Without \setuparranging set the slides are scaled an one is put on each A4. As soon as I activate the arraging the scaling does not work anymore. Any ideas how to get this work? Am I doing something wrong? Thanks! Steffen \definepapersize[SPP43][width

[NTG-context] [***SPAM***] Resetting Page Backgrounds

2012-04-18 Thread Raymond LeClair
\definepapersize[LG1][width=8.5in,height=8.5in] \definepapersize[LP1][width=8.5in,height=8.5in] \setuppapersize[LG1][LP1] \definelayout[contents_1] [backspace=3.25in, leftmargin=2.25in, leftmargindistance=0.25in, width=4.75in

Re: [NTG-context] footnotes

2012-04-02 Thread Steffen Fritzsche
. It is supposed to give us the footnote marker aligned with the text area, then some blank space, then the footnote text: \definepapersize[wiki][width=8cm,height=8cm] \setuppapersize[wiki][wiki] \starttext \showframe \setupnote[footnote][margindistance=0em,command=\myfootnotecommand

Re: [NTG-context] footnotes

2012-04-02 Thread Wolfgang Schuster
aligned with the text area, then some blank space, then the footnote text: \definepapersize[wiki][width=8cm,height=8cm] \setuppapersize[wiki][wiki] \starttext \showframe \setupnote[footnote][margindistance=0em,command=\myfootnotecommand] \setupnotation[footnote][location=left,hang=1

[NTG-context] footnotes

2012-04-01 Thread Thomas A. Schmitz
, then the footnote text: \definepapersize[wiki][width=8cm,height=8cm] \setuppapersize[wiki][wiki] \starttext \showframe \setupnote[footnote][margindistance=0em,command=\myfootnotecommand] \setupnotation[footnote][location=left,hang=1] \def\myfootnotecommand#1{\hbox to 1.5em{#1.}} test \footnote

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

2012-01-13 Thread Gerben Wierda
Answering my own question, quite simple with ConTeXt: \definepapersize[a3landscape][A3,landscape] \definepapersize[a4portrait][A4,portrait] \setuppapersize[a4portrait] \starttext \externalfigure[foo.pdf] \page\setuppapersize[a3landscape] \externalfigure[bar.pdf] \stoptext G PS. The solution

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

2012-01-13 Thread luigi scarso
On Fri, Jan 13, 2012 at 4:44 PM, Gerben Wierda gerben.wie...@rna.nl wrote: Answering my own question, quite simple with ConTeXt: \definepapersize[a3landscape][A3,landscape] \definepapersize[a4portrait][A4,portrait] \setuppapersize[a4portrait] \starttext \externalfigure[foo.pdf] \page

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

2012-01-13 Thread Gerben Wierda
It still is weird. It sometimes work (but not completely) and sometimes not. For instance \definepapersize[a3landscape][A3,landscape] \definepapersize[a4portrait][A4,portrait] \setuppapersize[a3landscape] \starttext \externalfigure[foo.pdf] \stoptext foo.pdf is a 18.43x13.88 inch PDF image

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

2012-01-13 Thread Gerben Wierda
Weirder still. \definepapersize[large][a3,landscape] \definepapersize[small][a4,portrait] \setuppapersize[large] \starttext \externalfigure[foo.pdf] \page\setuppapersize[small] \externalfigure[bar.pdf] \stoptext The first page is now 11.69x11.69 inch and the second page is a4, but landscape So

[NTG-context] Page Size to Figure Size

2011-12-29 Thread Kip Warner
size perfectly cropped around it? The closest I have right now is this which is rather awful: \definepapersize[main][A4][A4] \definepapersize[diagram][A4,landscape][A4,landscape] % Insert a full page landscape diagram, parameters are node name, caption, and path... \def\FullPageLandscapeDiagram#1#2

Re: [NTG-context] error in XY imposition

2011-12-19 Thread Henning Hraban Ramm
at all any more: All pages of one sheet are printed on each other. Paper sizes are ignored. e.g. \definepapersize[filius][width=92mm, height=172mm] \setuppapersize [filius][A4,landscape] %\setuppapersize[A7][A4] \setuppaper [nx=2,ny=2] %,dx=0mm,dy

Re: [NTG-context] error in XY imposition

2011-12-19 Thread Henning Hraban Ramm
is fixed, but in latest beta imposition doesn’’t work at all any more: All pages of one sheet are printed on each other. Paper sizes are ignored. The problem is to get the order of the commands right. This works (but is not very intuitive IMO): \definepapersize[filius][width

Re: [NTG-context] error in XY imposition

2011-12-19 Thread Hans Hagen
): \definepapersize [filius][width=92mm, height=172mm] \setuplayout[location=middle,marking=on] \setuppaper [nx=3,ny=1] %,dx=0mm,dy=0mm,topspace=19mm,backspace=10.5mm] \setuppapersize [filius][A4,landscape] \setuparranging [XY] It looks to me like \setuppaper resets paper size. Is this something you can/will fix

[NTG-context] isn't it too slow?

2011-12-06 Thread Pablo Rodríguez
Hi there, compiling this minimal file: \definepapersize[aa][width=2cm,height=1cm] \setuppapersize[aa] \setuppagenumbering[location=] \usemodule[simplefonts][size=12pt] \definesimplefont[amsmile][TeX Gyre Pagella] \starttext \TeX\ \amsmile \TeX \stoptext using

Re: [NTG-context] isn't it too slow?

2011-12-06 Thread Wolfgang Schuster
Am 06.12.2011 um 13:22 schrieb Pablo Rodríguez: Hi there, compiling this minimal file: \definepapersize[aa][width=2cm,height=1cm] \setuppapersize[aa] \setuppagenumbering[location=] \usemodule[simplefonts][size=12pt] \definesimplefont[amsmile][TeX Gyre Pagella] \starttext

Re: [NTG-context] isn't it too slow?

2011-12-06 Thread Hans Hagen
On 6-12-2011 13:22, Pablo Rodríguez wrote: Hi there, compiling this minimal file: \definepapersize[aa][width=2cm,height=1cm] \setuppapersize[aa] \setuppagenumbering[location=] \usemodule[simplefonts][size=12pt] \definesimplefont[amsmile][TeX Gyre Pagella] \starttext

Re: [NTG-context] isn't it too slow?

2011-12-06 Thread Pablo Rodríguez
On 12/06/2011 06:15 PM, Hans Hagen wrote: On 6-12-2011 13:22, Pablo Rodríguez wrote: Hi there, compiling this minimal file: \definepapersize[aa][width=2cm,height=1cm] \setuppapersize[aa] \setuppagenumbering[location=] \usemodule[simplefonts][size=12pt

Re: [NTG-context] isn't it too slow?

2011-12-06 Thread Pablo Rodríguez
cache, because I use OS fonts with simplefonts. But the same should happen to Wolfgang (and I don't think that his computer is ×7 faster than my laptop). But the example doesn't load system fonts, only Latin Modern. Just in case you want to test my minimal sample: \definepapersize[aa][width=2cm

Re: [NTG-context] isn't it too slow?

2011-12-06 Thread Wolfgang Schuster
Am 06.12.2011 um 22:16 schrieb Pablo Rodríguez: Just in case you want to test my minimal sample: \definepapersize[aa][width=2cm,height=1cm] \setuppapersize[aa] \setuppagenumbering[location=] \starttext \TeX\ \sc\word\ \TeX \stoptext But I think that less than a second total compiling

Re: [NTG-context] isn't it too slow?

2011-12-06 Thread Hans Hagen
On 6-12-2011 22:29, Wolfgang Schuster wrote: Am 06.12.2011 um 22:16 schrieb Pablo Rodríguez: Just in case you want to test my minimal sample: \definepapersize[aa][width=2cm,height=1cm] \setuppapersize[aa] \setuppagenumbering[location=] \starttext \TeX\ \sc\word\ \TeX \stoptext But I think

[NTG-context] Escaping a special character in a MetaPost figure within a ConTeXt document fails

2011-11-30 Thread Raymond LeClair
\definepapersize[LG1][width=4.25in,height=6.875in] \definepapersize[LP1][width=4.25in,height=6.875in] \setuppapersize[LG1][LP1] \definelayout[frontmatter] [topspace=0.in,header=0.5556in,height=6.4305556in,footer=0.6944in, backspace=1.056in

Re: [NTG-context] highlight problems on xml export [hacky workaround included]

2011-11-07 Thread Marco Pessotto
[huge] \definepapersize[huge][width=4000mm] \setuppapersize[huge][huge] \setupbodyfont[8pt] \stopmode \starttext \startparagraph Published on \dontleavehmode\emph{Dissonanze} vol. I \stopparagraph \startparagraph Published on vol. I Published on vol. I Published on vol. I Published

Re: [NTG-context] highlight problems on xml export [hacky workaround included]

2011-11-07 Thread Aditya Mahajan
is the maximum dimension TeX can handle. \definepapersize[max][paperwidth=\maxdimen, paperheight=\maxdimen] \setuppapersize[max] Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] highlight problems on xml export [hacky workaround included]

2011-11-07 Thread Marco Pessotto
Aditya Mahajan adit...@umich.edu writes: TeX does finite precision arithematics, so infinity is not possible. But you can set paper width (and paper height) to \maxdimen, which is the maximum dimension TeX can handle. \definepapersize[max][paperwidth=\maxdimen, paperheight=\maxdimen

Re: [NTG-context] width (height?) of 90° rotated tabulate

2011-11-03 Thread Philipp Gesang
): :: \definepapersize[exception][A4] \setuppapersize [exception,90,landscape][exception] and switching back to normal orientation afterwards. Context is great. Philipp Thanks for your time Philipp

[NTG-context] \setuplayout and splitted rotated tables

2011-08-29 Thread Jaroslav Hajtmar
the data at the corresponding position on the page by using layers? Or exist any way to do it using \setuplayout? Thanx Jaroslav Hajtmar Here is my example: % http://source.contextgarden.net/page-lay.mkiv %\showframe \definepapersize[paperportrait][A4] \definepapersize[paperlandscape][A4

Re: [NTG-context] Splitting of rotate table

2011-08-28 Thread Jaroslav Hajtmar
Hello ... To my previous mail I am sending minimal example of strange behavior of splitting rotated table: Can somehow be corrected? Jaroslav Hajtmar \definepapersize[paperportrait][A4] \definelayout[portrait][width=middle, topspace=5mm, header=1cm, footer=1.5cm, height=middle

Re: [NTG-context] Tracking in MKII and MKIV

2011-08-16 Thread Wolfgang Schuster
and LuaTeX in this regard? To place elements on a fixed position on the page you can use layers. It’s also important to disable kerning, ligatures etc. \definepapersize[LG1][width=9.24in,height=6.87in] \definepapersize[LP1][width=9.49in,height=7.12in] \setuppapersize[LG1][LP1] \setuplayout

Re: [NTG-context] Tracking in MKII and MKIV

2011-08-16 Thread Hans Hagen
changed so you might want to wikify it as example (it will confuse mojca's number of hits filters as 'twitter' and 'ladygaga' might lead to false google lookups). \definepapersize[LG1][width=9.24in,height=6.87in] \definepapersize[LP1][width=9.49in,height=7.12in] \setuppapersize[LG1][LP1

[NTG-context] Tracking in MKII and MKIV

2011-08-15 Thread Raymond LeClair
are attached. I processed the following ConTeXt source file using MKII: This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009) (format=cont-en 2011.8.13) ConTeXt ver: 2011.05.18 18:04 MKII fmt: 2011.8.13 int: english/english = START MKII EXAMPLE = \pdfminorversion=5 \definepapersize[LG1

Re: [NTG-context] Large Figure on Landscape Orientation

2011-06-27 Thread Wolfgang Schuster
!middle, \c!header=0pt, \c!footer=0pt] \definepapersize[main][A4][A4] \definepapersize[diagram][A4,landscape][A4,landscape] And the actual image in my component is here: \page \setuppapersize[diagram] \placefigure [force][figure:MyImage] {My image caption

Re: [NTG-context] Large Figure on Landscape Orientation

2011-06-27 Thread Kip Warner
and pasted. I'm new to typesetting with ConTeXt. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com Figure.svg.bz2 Description: application/bzip \starttext \definepapersize[main][A4][A4] \definepapersize[diagram][A4,landscape][A4,landscape

Re: [NTG-context] Large Figure on Landscape Orientation

2011-06-27 Thread Aditya Mahajan
[] \definelayout[fullpage][] \definepapersize[main][A4][A4] \definepapersize[diagram][A4,landscape][A4,landscape] And the actual image in my component is here: You don't switch layout to fullpage! \page \setuppapersize[diagram] \placefigure [force][figure:MyImage] {My image

Re: [NTG-context] where to place \index (again)

2011-06-26 Thread Steffen Wolfrum
] \setupindenting[10pt,yes] \definepapersize[stw][width=14.7cm,height=22.3cm] \setuppapersize[stw][stw] \setuplayout [width=113mm,height=572pt, backspace=17mm,topspace=17mm, header=12pt,headerdistance=6pt, footer=36pt,footerdistance=0pt, location=middle,marking=off

Re: [NTG-context] where to place \index (again)

2011-06-26 Thread Steffen Wolfrum
--- \showframe \setupbodyfont[times,10pt]\setupinterlinespace[line=12pt] \definetolerancemethod [horizontal] [MySpace] {\spaceskip3.02pt plus1.8pt minus1.0pt\relax} \setupalign[line,block,hanging] \setuptolerance[MySpace] \setupindenting[10pt,yes] \definepapersize[stw][width=14.7cm,height

[NTG-context] Large Figure on Landscape Orientation

2011-06-26 Thread Kip Warner
] \definepapersize[main][A4][A4] \definepapersize[diagram][A4,landscape][A4,landscape] And the actual image in my component is here: \page \setuppapersize[diagram] \placefigure [force][figure:MyImage] {My image caption.} {\externalfigure[MyImage][factor=max]} \page \setuppapersize[main] The document

Re: [NTG-context] Large Figure on Landscape Orientation

2011-06-26 Thread Aditya Mahajan
] \definepapersize[main][A4][A4] \definepapersize[diagram][A4,landscape][A4,landscape] And the actual image in my component is here: \page \setuppapersize[diagram] \placefigure [force][figure:MyImage] {My image caption.} {\externalfigure[MyImage][factor=max]} \page \setuppapersize[main

[NTG-context] where to put an \index{foo} ?

2011-05-24 Thread Steffen Wolfrum
, Steffen --- \showframe \setupbodyfont[times,10pt]\setupinterlinespace[line=12pt] \definetolerancemethod [horizontal] [MySpace] {\spaceskip3.02pt plus1.8pt minus1.0pt\relax} \setupalign[line,block,hanging] \setuptolerance[MySpace] \setupindenting[10pt,yes] \definepapersize[stw

Re: [NTG-context] bug with showlayout

2011-05-16 Thread Hans Hagen
!no] {\forgetall \dontcomplain \globaldefs\minusone \dimen\zerocount\pagegoal \definepapersize[X][\c!width=4em, \c!height=6em]% \definepapersize[Y][\c!width=12em,\c!height=14em]% \setuppapersize[#1,X][#2,Y]% \setuplayout[#3]% \setbox\zerocount\vbox {\framed

Re: [NTG-context] Setuplayout bug?

2011-05-16 Thread Alan Braslau
More setupinteraction pagelayout interference: In the example below (compiled using the very latest minimals) the inclusion of \setupinteractionscreen [option=bookmark] shifts the output of the text on the page. Alan % \definepapersize [17x24

[NTG-context] (URGENT) floating objects causing bug

2011-05-15 Thread Steffen Wolfrum
the problem: compare the first lines of page 1 und 3 please. My project is otherwise finished ... :o( Do you think you could manage to write a fast patch for his bug, so I can deliver it tomorrow? Best regards, Steffen --- \showframe \definepapersize[stw][width=14.7cm,height=22.3cm

Re: [NTG-context] Layers again

2011-04-26 Thread Ian Lawrence
: \definepapersize[Screen][width=1024px,height=768px] \setuppapersize[Screen][Screen] \definelayer[SPTinteractivemedium] % name of the layer [x=359px, y=140px, % from upper left corner of paper width=642px, height=492px, repeat=yes] % let the layer be large enough

[NTG-context] Error with \section

2011-04-08 Thread Herbert Voss
} \input knuth 14 \section{A long title} \input knuth \section{A long title} \input knuth 15 16 \stoptext 17 18 19 20 21 %\definepapersize[card][width=792pt,height=612pt] 22 %\setuppapersize[card][card] 23 24 \dohandlestructurehead ...ureheadnumbertext \else \placestructureheadtext \f

Re: [NTG-context] Feature request: setuppapersize

2011-03-20 Thread C.
An: mailing list for ConTeXt users Betreff: Re: [NTG-context] Feature request: setuppapersize On Mon, 10 Jan 2011, Aditya Mahajan wrote: On Mon, 10 Jan 2011, Hans Hagen wrote: more elegant and downward compatible is this: \definepapersize [samesized] [ \c!width=\paperwidth, \c

Re: [NTG-context] Feature request: setuppapersize

2011-03-19 Thread Aditya Mahajan
On Mon, 10 Jan 2011, Aditya Mahajan wrote: On Mon, 10 Jan 2011, Hans Hagen wrote: more elegant and downward compatible is this: \definepapersize [samesized] [ \c!width=\paperwidth, \c!height=\paperheight] \setuppapersize [A4][samesized] in page-lay.mkiv Indeed. This will also work

Re: [NTG-context] header entries semi-wrong

2011-03-10 Thread Willi Egger
}{\input tufte \par} \page \section{Two} things go better. -- luigi \showframe \setupbodyfont[postscript, 10pt]\setupinterlinespace[line=12pt] \definepapersize[Pape][width=14.7cm,height=22.3cm] \setuppapersize[Pape][Pape] \setuplayout [width=113mm,height=572pt\relax, backspace=17mm

Re: [NTG-context] header entries semi-wrong

2011-03-10 Thread Steffen Wolfrum
\showframe \setupbodyfont[postscript, 10pt]\setupinterlinespace[line=12pt] \definepapersize[Pape][width=14.7cm,height=22.3cm] \setuppapersize[Pape][Pape] \setuplayout [width=113mm,height=572pt\relax, backspace=17mm,topspace=17mm, header=12pt,headerdistance=6pt, footer=36pt

Re: [NTG-context] header entries semi-wrong

2011-03-10 Thread luigi scarso
. Wolfgang Right: this works ok. \showframe \setupbodyfont[postscript, 10pt]\setupinterlinespace[line=12pt] \definepapersize[Pape][width=14.7cm,height=22.3cm] \setuppapersize[Pape][Pape] \setuplayout [width=113mm,height=572pt\relax, backspace=17mm,topspace=17mm, header=12pt

[NTG-context] header entries semi-wrong

2011-03-06 Thread Steffen Wolfrum
] \definepapersize[Pape][width=14.7cm,height=22.3cm] \setuppapersize[Pape][Pape] \setuplayout [width=113mm,height=572pt\relax, backspace=17mm,topspace=17mm, header=12pt,headerdistance=6pt, footer=36pt,footerdistance=0pt, location=middle,marking=off] \setupwhitespace[halfline

[NTG-context] Text to edges of page

2011-03-04 Thread John Haltiwanger
Hi all, I would have though the following code would produce text flush to the edges of the paper, but there is significant whitespace on the right and bottom sides. Probably there is an obvious setting, but it eludes me now: \definepapersize[short][width=600px,height=440px] \setuppapersize

Re: [NTG-context] Text to edges of page

2011-03-04 Thread John Haltiwanger
the following code would produce text flush to the edges of the paper, but there is significant whitespace on the right and bottom sides. Probably there is an obvious setting, but it eludes me now: \definepapersize[short][width=600px,height=440px] \setuppapersize[short][short] \setuplayout

<    1   2   3   4   5   >