[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

[NTG-context] Labels, offsetting the layout...

2011-02-28 Thread Willi Egger
the prints correct I wanted to move the layout 8 mm to the right and 21 mm down... I had no success to complete this. Could someone enlighten me what I am doing wrong? Willi I have the following setup for testing: \definepapersize[Label][height=42.3mm,width=97mm] \definepapersize[Mypaper][A4

Re: [NTG-context] Screen document design

2011-02-24 Thread luigi scarso
to work in pixels (I have swfs / images to embed, and these come in x by y pixels). Anyone have an easy answer? \definepapersize[Screen][width=1024px,height=768px] \setuppapersize[Screen][Screen] You should check if it's ok, I'm not sure. -- luigi

Re: [NTG-context] Screen document design

2011-02-24 Thread Ian Lawrence
work in pixels as units, and not mm / cm. I know pdfs are scalable and about \setuppapersize[S6][S6], but I'd prefer to work in pixels (I have swfs / images to embed, and these come in x by y pixels). Anyone have an easy answer? \definepapersize[Screen][width=1024px,height=768px

Re: [NTG-context] running headers on postponed makeup

2011-02-15 Thread Steffen Wolfrum
starts a new section 1.2 Two!) Thanks, Steffen --- \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

Re: [NTG-context] Curly quotes was TTF fonts and MKIV

2011-01-31 Thread John Culleton
\definepapersize[bok][width=7.0in,height=10.0in] \setuppapersize[bok][bok] \usemodule [simplefonts] \setmainfont [georgia] \starttext Here is ``foo''. \stoptext - I still get the same wrong results. In a ttf font like georgia the close quote looks OK

Re: [NTG-context] Curly quotes was TTF fonts and MKIV

2011-01-30 Thread John Culleton
and macros.tex looks like this: \setupoutput[pdftex] \definepapersize[bok][width=7.0in,height=10.0in] %\setuppapersize[bok][letter] \setuppapersize[bok][bok] \setuplayout[location=middle,marking=on]% \setupwhitespace[line] \setuptyping[style=small] Anyone else have this problem? -- John Culleton

Re: [NTG-context] Curly quotes was TTF fonts and MKIV

2011-01-30 Thread Wolfgang Schuster
this: \startenvironment macros \setupoutput[pdftex] \definepapersize[bok][width=7.0in,height=10.0in] %\setuppapersize[bok][letter] \setuppapersize[bok][bok] \setuplayout[location=middle,marking=on]% \setupwhitespace[line] \setuptyping[style=small] \stopenvironment Anyone else have this problem

Re: [NTG-context] Curly quotes was TTF fonts and MKIV

2011-01-30 Thread John Culleton
\input body.tex \stoptext and macros.tex looks like this: \startenvironment macros \setupoutput[pdftex] \definepapersize[bok][width=7.0in,height=10.0in] %\setuppapersize[bok][letter] \setuppapersize[bok][bok] \setuplayout[location=middle,marking=on]% \setupwhitespace[line

Re: [NTG-context] Curly quotes was TTF fonts and MKIV

2011-01-30 Thread Wolfgang Schuster
of the file when you use context’s document structure. Let me simplify the example: --- \setupoutput[pdftex] simplefonts is mkiv only, so remove this or don’t use simplefonts \definepapersize[bok][width=7.0in,height=10.0in] \setuppapersize[bok

Re: [NTG-context] Pdfselect in texexec not working!?

2011-01-27 Thread Hans Hagen
] \setupexternalfigures [interaction=yes] } \setupexternalfigures [directory=] \doifelse {\getdocumentargument{paperformat_paper}} {fit} { \doifdocumentfilename {1} { \getfiguredimensions [\getdocumentfilename{1}] \definepapersize [fit

Re: [NTG-context] Feature request: setuppapersize

2011-01-23 Thread Hans Hagen
On 22-1-2011 5:34, 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 Can this also be added to page

Re: [NTG-context] Feature request: setuppapersize

2011-01-22 Thread Aditya Mahajan
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 Can this also be added to page-lay.mkii. Will make it much easier

Re: [NTG-context] Feature request: setuppapersize

2011-01-10 Thread Hans Hagen
? more elegant and downward compatible is this: \definepapersize [samesized] [ \c!width=\paperwidth, \c!height=\paperheight] \setuppapersize [A4][samesized] in page-lay.mkiv - Hans

Re: [NTG-context] Feature request: setuppapersize

2011-01-10 Thread Aditya Mahajan
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 fine. Thanks, Aditya

[NTG-context] TT font disregards margins

2011-01-05 Thread Tom
on a Windows system). Example follows: \definepapersize[6X9][width=6.0in, height=9.0in] \setuppapersize[6X9][6X9] \setuplayout[ width=middle, height=middle, backspace=.75 in, topspace=.5 in, header=.25 in, footer=0 in, headerdistance=.25 in, footerdistance=0 in, bottomspace=0.9

[NTG-context] problem with setupwhitespace

2010-12-18 Thread Achim Jander
\setupwhitespace[3pt plus 2pt minus 1pt] but in fact, that seems to have no effect, the page ist not filled. The Reference-Manual doesnt mention this form, but states that there is some stretchability. How can I define the stretchability? My simple Example: \definepapersize [NomosLexSozA] [width

Re: [NTG-context] font, line spacing issues

2010-11-18 Thread Wolfgang Schuster
. See my example, i set the font switch with \starttextbox or to be true with \framed[foregroundstyle={...}]. \definepapersize[card][width=792pt,height=612pt] \setuppapersize[card][card] \definetypeface[impact][rm][specserif][Impact][default] %\definetypeface[minion][rm][specserif][Minion Pro

[NTG-context] font, line spacing issues

2010-11-17 Thread Peter Davis
very weird. It's an address, and the bottom line is much too high relative to the spacing of the other lines. Here's the file: \definepapersize[card][width=792pt,height=612pt] \setuppapersize[card][card] \definetypeface[impact[rm][serif][mpact regular][default] \definetypeface[minion][rm

Re: [NTG-context] print many cards (pages) on one A4 paper

2010-10-31 Thread Mojca Miklavec
on one side? Here is one option from one of my recent documents ... Document A (badges.tex) creates badges: \definepapersize [badge] [width=8.5cm,height=5cm] \setuppapersize [badge][badge] \setuplayout [backspace=1cm,width=middle,topspace=1cm,height=middle

[NTG-context] header setting

2010-10-20 Thread Herbert Voss
in my example I have set the numbers in the margin. In fact of using the twoside layout I get the numbers only for odd pages in the margin. Is this also possible for the even pages, just like header 1.2 instead of 1.2 header? Herbert \definepapersize[DE][width=10cm,height=12cm] \setuppapersize

<    1   2   3   4   5   >