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] Creating a folded meander book - imposition problem

2013-01-26 Thread Wolfgang Schuster
ndlearrangedpageXandY{#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=o

Re: [NTG-context] Cut-Space

2013-01-26 Thread Wolfgang Schuster
Am 25.01.2013 um 11:57 schrieb 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? You can use the “oversized” paper wh

[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] Is it possible to arrange pages so that they fall alternating on two sides of the sheet?

2012-11-19 Thread Willi Egger
wrote: > 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] > \se

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
here a way 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,

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

[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

[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,

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

2012-10-23 Thread Hans Hagen
ation=] \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[

[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

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=on

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

2012-08-09 Thread Stefan Müller
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 on

[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] 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]

[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 \

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

2012-07-31 Thread Otared Kavian
("env.tex", "w") > fp:write([[ > \startenvironment env > > \def\ColumnDistance{1cm} > > \startmode[columns] > \definepapersize[columns][ >width=\dimexpr (\textwidth - \ColumnDistance) / 2 \relax, >height=\textheight] > \setuppapers

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

2012-07-31 Thread Peter Münster
format local function create_environment() local fp = io.open("env.tex", "w") fp:write([[ \startenvironment env \def\ColumnDistance{1cm} \startmode[columns] \definepapersize[columns][ width=\dimexpr (\textwidth - \ColumnDistance) / 2 \relax, heigh

Re: [NTG-context] ntg-style error

2012-06-06 Thread Taco Hoekwater
%%% additional 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=688

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

2012-05-29 Thread Willi Egger
#x27;t understand where the > sequence of the pages is defined. the \pusharrangedpageSCHEMA seems just > to define the position inside the page, not the sequence of the shipped > out page. Also, what are \c_page_marks_nx and \c_page_marks_ny? Any > hint about how this machinery works?

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

2012-05-29 Thread Marco Pessotto
inery works? Thanks Best wishes % start draft \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] \s

Re: [NTG-context] pushing margintext up

2012-05-29 Thread Philipp Gesang
t; >> +1, I’m curious too whether this can be done. > > > > maybe some day when I'm looking into the page builder code > > > > Hans > > Is it possible, as a workaround for now, to make every > \margintext call to virtually occur at the first line of the >

Re: [NTG-context] pushing margintext up

2012-05-28 Thread Philipp Gesang
other margintexts > > upwards while doing so? +1, I’m curious too whether this can be done. Regards Philipp > > > > example: > > > > \definepapersize[wissenschaft][width=170mm,height=240mm] > > \setuppapersize [wissenschaft] > > > > \s

Re: [NTG-context] pushing margintext up

2012-05-27 Thread Andy Thomas
r 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, > header=0pt, > headerdist

[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 [top

Re: [NTG-context] doublesided wider paragraphs

2012-05-22 Thread Andy Thomas
t appears at the start of a new page. > > \definepapersize[wissenschaft][width=170mm,height=240mm] > \setuppapersize [wissenschaft] > > \setuplayout > [topspace=40pt, > header=0pt, > headerdistance=0pt, > backspace=42pt, > leftmargin=0pt, > width=280pt, > height=56

Re: [NTG-context] doublesided wider paragraphs

2012-05-22 Thread Wolfgang Schuster
et 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[wissenschaft][width=170mm,height=240mm] \setuppapersize [wissenschaft] \setuplayout [topspac

Re: [NTG-context] doublesided wider paragraphs

2012-05-22 Thread Andy Thomas
lso 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 pa

Re: [NTG-context] doublesided wider paragraphs

2012-05-22 Thread Wolfgang Schuster
t; [location=inner], 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][wi

[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

[NTG-context] stack marginals: text and figures

2012-05-21 Thread Andy Thomas
verlap. I 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,

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

2012-04-25 Thread Steffen Fritzsche
Have a look 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 \definepapersi

[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 Wolfgang Schuster
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,

Re: [NTG-context] footnotes

2012-04-02 Thread Steffen Fritzsche
owing code is on the wiki. 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 >

[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 \foo

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

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 The

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 wrote: > Answering my own question, quite simple with ConTeXt: > > \definepapersize[a3landscape][A3,landscape] > \definepapersize[a4portrait][A4,portrait] > \setuppapersize[a4portrait] > \starttext > \externalfigure[foo.pdf] &

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

[NTG-context] Page Size to Figure Size

2011-12-29 Thread Kip Warner
page 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\FullPageLandscapeDiagra

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

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 Henning Hraban Ramm
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] 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

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

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

2011-12-06 Thread Pablo Rodríguez
the example doesn't load system fonts, only Latin Modern. 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 com

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[locati

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 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] > \definesimplefon

[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 This is

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

2011-11-30 Thread Raymond LeClair
\pdfminorversion=5 \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, backs

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

2011-11-07 Thread Marco Pessotto
Aditya Mahajan 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] &g

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

2011-11-07 Thread Aditya Mahajan
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
] \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 on \dontleavehmode

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

2011-11-03 Thread Philipp Gesang
set and to what value? Just to let you know, I worked around that by locally rotating the pages instead (== there is no spoon): :: \definepapersize[exception][A4] \setuppapersize [exception,90,landscape][exception] and switching back to

[NTG-context] \setuplayout and splitted rotated tables

2011-08-29 Thread Jaroslav Hajtmar
y put 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[paperlandscap

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 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]

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

2011-08-16 Thread Wolfgang Schuster
od. > > Am I miss-understanding the differences in capability between pdfTeX 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] \definepap

[NTG-context] Tracking in MKII and MKIV

2011-08-15 Thread Raymond LeClair
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] arranging and cut marks

2011-07-29 Thread Willi Egger
n > replace it with "XY" like this: > > My setup is: > \definepapersize[filius][width=92mm, height=172mm] > \setuppapersize [filius][A4,landscape] > \setuppaper [nx=3, ny=1, dx=0mm, dy=0mm, topspace=19mm, backspace=10.5mm] > \setuplayout[page] [to

[NTG-context] arranging and cut marks

2011-07-29 Thread Henning Hraban Ramm
deleted "3SIDE" from http://wiki.contextgarden.net/Imposition - I can replace it with "XY" like this: My setup is: \definepapersize[filius][width=92mm, height=172mm] \setuppapersize [filius][A4,landscape] \setuppaper [nx=3, ny=1, dx=0mm, dy=0mm, topspace=19mm, backspace=10.5mm] \setuplayo

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

2011-06-27 Thread Aditya Mahajan
ayout[] \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]

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

2011-06-27 Thread Kip Warner
nment source and copied 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,la

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

2011-06-27 Thread Wolfgang Schuster
lpage] > [\c!backspace=0pt, > \c!topspace=0pt, > \c!width=\v!middle, > \c!height=\v!middle, > \c!header=0pt, > \c!footer=0pt] > > \definepapersize[main][A4][A4] > \definepapersize[diagram][A4,landscape][A4,landscape] > > And the actual image in my co

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

2011-06-26 Thread Aditya Mahajan
r=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.} {\externalfigure[MyImage][factor=max]} \page \setuppapersize

[NTG-context] Large Figure on Landscape Orientation

2011-06-26 Thread Kip Warner
r=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.} {\externalfigure[MyImage][factor=max]} \page \setuppapersize[main] The doc

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

2011-06-26 Thread Steffen Wolfrum
\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=22.3cm] \setuppapersize[stw][stw] \setuplayout [width=113mm,height=5

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

2011-06-26 Thread Steffen Wolfrum
Space] > {\spaceskip3.02pt plus1.99998pt minus1.0pt\relax} > > \setupalign[line,block,hanging] > \setuptolerance[MySpace] > > \setupindenting[10pt,yes] > > \definepapersize[stw][width=14.7cm,height=22.3cm] > \setuppapersize[stw][stw] > > \setuplayout > [width=113m

[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] 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

Re: [NTG-context] bug with showlayout

2011-05-16 Thread Hans Hagen
o] {\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 {\f

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

2011-05-15 Thread Steffen Wolfrum
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
his job: So I write: \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

[NTG-context] Error with \section

2011-04-08 Thread Herbert Voss
uth \section{A long title} \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 \dohandlestructure

Re: [NTG-context] Feature request: setuppapersize

2011-03-20 Thread C.
8:59 > 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: > >&

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 luigi scarso
er, chapternumber etc. > > 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,tops

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

2011-03-10 Thread Steffen Wolfrum
ou see the problem? the "getmarking" behaves correctly (one/one/two) >>>> while the "headnumber" is confused (1.1/1.2/1.2))! >>> >>> >>> >>> Could some maybe please have look at my test file (see original post): >>> Is this "as

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

2011-03-10 Thread Willi Egger
is confused (1.1/1.2/1.2))! >> >> >> >> Could some maybe please have look at my test file (see original post): >> Is this "asynchronous"head a bug or am I simply doing something wrong?? > I don't know, but with > > \dorecurse{2}{\input tu

[NTG-context] header entries semi-wrong

2011-03-06 Thread Steffen Wolfrum
:03 MKIV \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,headerdistan

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

2011-03-04 Thread John Haltiwanger
ode 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]

[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] \setu

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

2011-02-28 Thread Willi Egger
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 Ian Lawrence
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? > \defi

Re: [NTG-context] Screen document design

2011-02-24 Thread luigi scarso
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] \setuppapersize[Screen][Screen] You should check if it&

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

2011-02-15 Thread Steffen Wolfrum
pages also footnotes and stuff are involved I managed to cook down a minimal that shows the mistake: please run attached example. On page 3 it is header = 1.2 One section = 1.1 One (On page 4 starts a new section "1.2 Two"!) Thanks, Steffen --- \showframe \setupbodyfont[postscript

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

2011-01-31 Thread John Culleton
gt; simplefonts is mkiv only, so remove this or don’t use simplefonts > > > \definepapersize[bok][width=7.0in,height=10.0in] > > \setuppapersize[bok][bok] > > \usemodule [simplefonts] > > \setmainfont [georgia] > > \starttext > > Here is ``foo''. >

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]

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

2011-01-30 Thread John Culleton
nt macros > > > \usemodule [simplefonts] > > \setmainfont [calibri] > > \starttext > > \input body.tex > > \stoptext > > > > and macros.tex looks like this: > > \startenvironment macros > > > \setupoutput[pdftex] > > \definepapersiz

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

2011-01-30 Thread Wolfgang Schuster
gt; \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]% > \setupwhitespac

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

2011-01-30 Thread John Culleton
rterbt). So this defect is not limited to one font. My main file is as follows: \input macros.tex \usemodule [simplefonts] \setmainfont [calibri] \starttext \input body.tex \stoptext and macros.tex looks like this: \setupoutput[pdftex] \definepapersize[bok][width=7.0in,height=10.0in] %\setuppape

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

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

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 to

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

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

<    1   2   3   4   5   6   >