[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

Re: [NTG-context] header setting

2010-10-20 Thread Andreas Harder
\definepapersize[DE][width=10cm,height=12cm] \setuppapersize [DE][DE] \setuplayout[width=8cm,height=10cm] \setuparranging[doublesided] \setuppagenumbering[alternative=doublesided] % \setupheads[alternative=margin,align=outer] \setupheads[command=\MyHeadCMD] \def\MyHeadCMD#1#2

Re: [NTG-context] Temporary landscape

2010-10-13 Thread Aditya Mahajan
] test \page \PopPaperSize test \page \stoptext From my to be completed TUGboat article: \section {Changing paper size within a document} To get one page (containing a table or a figure) in landscape mode, you can use \type{\adaptpapersize}. For example, \starttyping \definepapersize[main

Re: [NTG-context] Temporary landscape

2010-10-13 Thread Procházka Lukáš Ing . - Pontex s . r . o .
test \page \stoptext From my to be completed TUGboat article: \section {Changing paper size within a document} To get one page (containing a table or a figure) in landscape mode, you can use \type{\adaptpapersize}. For example, \starttyping \definepapersize[main] [A4] [A4] \definepapersize

[NTG-context] columnset - float vertical spacing

2010-09-30 Thread Jan Pohanka
the columns even without the figures. regards Jan \definepapersize[poster][width=73cm,height=73cm] \setuppapersize[poster][oversized] \setuplayout[ header=0cm,footer=0cm, backspace=2.54cm,topspace=1.5cm, width=middle,height=middle, location=middle,marking=on] \setuppagenumbering

Re: [NTG-context] columnset - float vertical spacing

2010-09-30 Thread Jan Pohanka
have read the columns.pdf manual, but I don't understand it clearly. [balance=yes] does not balance the columns even without the figures. regards Jan \definepapersize[poster][width=73cm,height=73cm] \setuppapersize[poster][oversized] \setuplayout[ header=0cm,footer=0cm, backspace

[NTG-context] Impostion to make a scroll

2010-09-15 Thread Arild Syme
tried using a tex file like the following: \definepapersize [scroll][width=1480mm, height=210mm] \setuppapersize[A5][scroll] \setuppaper [topspace=0mm, backspace=0mm, dx=1mm, dy=0mm, nx=1, ny=10, margin=0, width=148mm, height=210mm] \setuplayout [topspace=0mm, backspace=0mm, margin

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

2010-09-15 Thread Wolfgang Schuster
I make a custom page size 1480mm x 210 mm? I've also tried using a tex file like the following: \definepapersize [scroll][width=1480mm, height=210mm] \setuppapersize[A5][scroll] \setuppaper [topspace=0mm, backspace=0mm, dx=1mm, dy=0mm, nx=1, ny=10, nx=10, ny=1 margin=0, width

[NTG-context] urgent bottom line problem (thin paper)

2010-09-13 Thread Steffen Wolfrum
: at least 1mm. Is there a ...skip that's needs to be adjusted? (using grid mode is a no-go!) Help please!! Steffen [2010.09.05 13:23 MKIV] === \definepapersize[stw][width=15.7cm,height=23.2cm] \setuppapersize[stw][stw]% - Format \usetypescript[postscript] \definetypeface[postscript][rm

[NTG-context] layer problem

2010-09-07 Thread Andrea Valle
Hi to all, I'm using this code to insert a page from pdf into a layer: \enableregime[utf8] \mainlanguage[it] \setupinteraction[state=start] \setupcolors[state=start] \setuppagenumbering[state=stop] %%% Colors %%% %\definepapersize [flyer][width=99mm, height=210mm

Re: [NTG-context] Different printing positions on cards

2010-07-23 Thread Jaroslav Hajtmar
\countofvert=4 \newdimen\paperedge\paperedge=0.5cm \newdimen\disthor\disthor=2mm \newdimen\distvert\distvert=2mm \newdimen\cardheight\newdimen\cardwidth \newcount\countofcardsonpage\countofcardsonpage=\countofhor \multiply\countofcardsonpage\countofvert \definepapersize[BC][width=\cardwidth,height

Re: [NTG-context] Different printing positions on cards

2010-07-23 Thread Jaroslav Hajtmar
\paperedge\paperedge=0.5cm \newdimen\disthor\disthor=2mm \newdimen\distvert\distvert=2mm \newdimen\cardheight\newdimen\cardwidth \newcount\countofcardsonpage\countofcardsonpage=\countofhor \multiply\countofcardsonpage\countofvert \definepapersize[BC][width=\cardwidth,height=\cardheight] % neměnit

[NTG-context] Different printing positions on cards

2010-07-22 Thread Jaroslav Hajtmar
\definepapersize[BC][width=\cardwidth,height=\cardheight] % not change! %\setuppapersize [BC][A4] \setuppapersize [BC][A4,landscape] % Calculate only: \cardheight=\dimexpr((\printpaperheight-2\paperedge-\distvert*(\countofvert-1))/\countofvert) \cardwidth=\dimexpr((\printpaperwidth-2\paperedge

Re: [NTG-context] Different printing positions on cards

2010-07-22 Thread Jaroslav Hajtmar
=2mm \newdimen\distvert\distvert=2mm \newdimen\cardheight\newdimen\cardwidth \newcount\countofcardsonpage\countofcardsonpage=\countofhor \multiply\countofcardsonpage\countofvert \definepapersize[BC][width=\cardwidth,height=\cardheight] % not change! %\setuppapersize [BC][A4] \setuppapersize [BC

Re: [NTG-context] Setuparranging[XY] and arrangement of labels

2010-07-04 Thread Wolfgang Schuster
print to the labels (but otherwise I find it quite helpful as I could keep my original gear mechanism). This isn't possible with the XY arrangement but when you use two documents, one with the labels and another one where you arrange them. Document 1: \definepapersize[label][width=30mm,height

Re: [NTG-context] Setuparranging[XY] and arrangement of labels

2010-07-04 Thread Jaroslav Hajtmar
mechanism). This isn't possible with the XY arrangement but when you use two documents, one with the labels and another one where you arrange them. Document 1: \definepapersize[label][width=30mm,height=20mm] \setuppapersize [label][label] \starttext ... \stoptext Document 2: \definemeasure

[NTG-context] Large paper dimensions detecting

2010-07-03 Thread Jaroslav Hajtmar
calculations) Thanx, Jaroslav My min. example: \definepapersize[MyPap][width=300pt,height=200pt] \definepapersize[MyPaper][width=1000pt,height=500pt] \setuppapersize [MyPap][MyPaper] \starttext Small paper dimensions: MyPap paper width - \the\paperwidth MyPap paper height - \the\paperheight

Re: [NTG-context] Large paper dimensions detecting

2010-07-03 Thread luigi scarso
want get dimensions of large papers too. (I need this dimensions for next calculations) Thanx, Jaroslav My min. example: \definepapersize[MyPap][width=300pt,height=200pt] \definepapersize[MyPaper][width=1000pt,height=500pt] \setuppapersize [MyPap][MyPaper] \starttext Small paper

Re: [NTG-context] Large paper dimensions detecting

2010-07-03 Thread Jaroslav Hajtmar
a small page to large paper ?? When I use \paperwidth and \paperheight commands, then I get dimensions of small paper, but I want get dimensions of large papers too. (I need this dimensions for next calculations) Thanx, Jaroslav My min. example: \definepapersize[MyPap][width=300pt,height=200pt

[NTG-context] Setuparranging[XY] and arrangement of labels

2010-07-03 Thread Jaroslav Hajtmar
\countvert=10 \definepapersize[label][width=\labelwidth,height=\labelheight] \setuppapersize [label][A4] \definemeasure[topspace] [\dimexpr(\printpaperheight-(\labelheight + \distvert)*\countvert+\distvert)/2\relax] \definemeasure[backspace] [\dimexpr(\printpaperwidth-(\labelwidth + \disthor)*\counthor

[NTG-context] Centering labels on A4 page

2010-07-02 Thread Jaroslav Hajtmar
H..All..o... I am trying centering (horizontaly and verticaly too) labels on the A4 paper, but without success. Is there any possibility make it? Here is example code (see [NTG-context] XY arranging ignores dx/dy Angus Lees): \definepapersize[label][width=30mm,height=20mm] \setuppapersize

Re: [NTG-context] Centering labels on A4 page

2010-07-02 Thread Wolfgang Schuster
Am 02.07.10 12:56, schrieb Jaroslav Hajtmar: H..All..o... I am trying centering (horizontaly and verticaly too) labels on the A4 paper, but without success. Is there any possibility make it? Here is example code (see [NTG-context] XY arranging ignores dx/dy Angus Lees): \definepapersize

Re: [NTG-context] Centering labels on A4 page

2010-07-02 Thread Jaroslav Hajtmar
on the A4 paper, but without success. Is there any possibility make it? Here is example code (see [NTG-context] XY arranging ignores dx/dy Angus Lees): \definepapersize[label][width=30mm,height=20mm] \setuppapersize[label][A4] \setuppaper[dx=1mm,dy=1mm,nx=5,ny=10] \setuplayout[location=middle

Re: [NTG-context] Centering labels on A4 page

2010-07-02 Thread Wolfgang Schuster
Am 02.07.10 13:07, schrieb Jaroslav Hajtmar: Thanx Wolfgang, This option I tried first, this is without effect. Is there problem with \setuparranging ??? You have to set backspace and topspace values for the layout. \definepapersize[label][width=30mm,height=20mm] \setuppapersize [label][A4

Re: [NTG-context] Centering labels on A4 page

2010-07-02 Thread Jaroslav Hajtmar
GREAT!!!... It is OK now... I thought it would be much easier :-) Your example is for me very very instructive... thanx for it.. Thanx... Jaroslav Dne 2.7.2010 13:28, Wolfgang Schuster napsal(a): \definepapersize[label][width=30mm,height=20mm] \setuppapersize [label][A4] \definemeasure

[NTG-context] Title page layout

2010-05-31 Thread Scott Steele
, which makes both the metrics and the expression of the problem slightly different. Also, are there max/min functions for dealing with dimexpr's? %\definetypeface[jenson][rm][Xserif][Adobe Jenson Pro] %\setupbodyfont[jenson, 11pt] \definepapersize[pocket][width=4.25in, height=6.875in

[NTG-context] Multiple pleas for help (long)

2010-04-26 Thread Scott Steele
apologies for those answers that I failed to find, and thanks reading the whole message, Scott See my current preämble below: \version[final] \definepapersize[pocket][width=4.25in, height=6.875in] \setuppapersize[pocket][pocket] \setuplayout[location=middle, width=0.815\paperwidth

[NTG-context] table, setuptable, TWO

2010-04-20 Thread R. Bastian
] \setupindenting[yes, 3mm] \setupwhitespace[6mm] \mainlanguage[fr] \setupbodyfont[sansserif, 12pt] \definepapersize[monpapier][width=210mm, height=297mm] \definebodyfont[10pt][tt][bf=cmbtt10] \setuplines[space=on] \setupheadertexts[chapter] \setuppagenumbering[alternative=doublesided,location={footer

Re: [NTG-context] table, setuptable, TWO

2010-04-20 Thread Wolfgang Schuster
] \setupindenting[yes, 3mm] \setupwhitespace[6mm] \mainlanguage[fr] \setupbodyfont[sansserif, 12pt] \definepapersize[monpapier][width=210mm, height=297mm] \definebodyfont[10pt][tt][bf=cmbtt10] \setuplines[space=on] \setupheadertexts[chapter] \setuppagenumbering[alternative=doublesided,location={footer

Re: [NTG-context] page layout

2010-04-06 Thread Sebastien Mengin
Le 02 avril 2010 à 01:56, Wolfgang Schuster a écrit: Am 02.04.10 12:13, schrieb Sebastien Mengin: Hi, Say I want to typeset a 10 x 18 cm book and print proofs on a A4 paper. Margins : top = 1cm bottom = 1.5cm left right = 1cm I'd like crop marks to. \definepapersize[book][width

Re: [NTG-context] page layout

2010-04-06 Thread Willi Egger
a 10 x 18 cm book and print proofs on a A4 paper. Margins : top = 1cm bottom = 1.5cm left right = 1cm I'd like crop marks to. \definepapersize[book][width=10cm,height=18cm] \setuppapersize[book][A4] \setuplayout [backspace=1cm, width=middle, topspace=1cm, bottomspace=1.5cm

Re: [NTG-context] page layout

2010-04-06 Thread Willi Egger
. Margins : top = 1cm bottom = 1.5cm left right = 1cm I'd like crop marks to. \definepapersize[book][width=10cm,height=18cm] \setuppapersize[book][A4] \setuplayout [backspace=1cm, width=middle, topspace=1cm, bottomspace=1.5cm, %header=..., %headerdistance=..., %footer

Re: [NTG-context] page layout

2010-04-06 Thread Sebastien Mengin
misleaded by the (my) confusion between margins and edges. Here's what I use, it's almost satisfying but I've a small amount of space at the left edge of each pages and the whole layout isn't double-side. \definepapersize[book][width=10cm,height=18cm] \setuppapersize[book][A4] \setuplayout

Re: [NTG-context] page layout

2010-04-06 Thread Willi Egger
at the left edge of each pages and the whole layout isn't double-side. \definepapersize[book][width=10cm,height=18cm] \setuppapersize[book][A4] \setuplayout [%backspace=1cm, % am I right to comment out this line? leftedge=1cm, rightedge=2cm, leftedgedistance=0cm, rightedgedistance=0cm

[NTG-context] minimal example of some problems

2010-04-03 Thread Michael Saunders
] \setupbodyfont[MTbook,12pt]% \mainlanguage[en-us] \definepapersize[MTS][width=823pt,height=462pt] \definepapersize[MTA][width=823pt,height=462pt] \setuppapersize[MTA][MTS] \setuplayout[width=604.46pt,height=462pt,% topspace=3pt,bottomspace=0pt,lines=30,header=21.4pt,footer=21.4pt,% headerdistance

Re: [NTG-context] page layout

2010-04-02 Thread Wolfgang Schuster
Am 02.04.10 12:13, schrieb Sebastien Mengin: Hi, Say I want to typeset a 10 x 18 cm book and print proofs on a A4 paper. Margins : top = 1cm bottom = 1.5cm left right = 1cm I'd like crop marks to. \definepapersize[book][width=10cm,height=18cm] \setuppapersize[book][A4] \setuplayout

[NTG-context] Incorrect font size in captions

2010-03-23 Thread Tom
Captions for individual figures display in the proper (9 pt) font but those for combinations do not. See example: \definepapersize[6X9][width=6.14in, height=9.21in] \setuppapersize[6X9][6X9] \setuplayout[ width=middle, height=middle, backspace=.75 in, topspace=.5 in, header=.25 in, footer

Re: [NTG-context] \hyphenation problems

2010-03-22 Thread Tom
additional ragged right problems. An unrelated issue is that the leading for the caption is larger than I would like. \definepapersize[6X9][width=6.14in, height=9.21in] \setuppapersize[6X9][6X9] \setuplayout[ width=middle, height=middle, backspace=.75 in, topspace=.5 in, header=.25 in, footer=0

Re: [NTG-context] \hyphenation problems

2010-03-22 Thread Peter Rolf
has its limitations. i finally used a simple macro to get the desired result. \def\RGB(#1,#2,#3){\bgroup\nohyphens rgb\allowbreak (#1,\allowbreak#2,\allowbreak#3)\egroup} best wishes, Peter \definepapersize[6X9][width=6.14in, height=9.21in] \setuppapersize[6X9][6X9] \setuplayout[ width

[NTG-context] not printable pdf

2010-03-13 Thread R. Bastian
by context | texexec. Can you help me? -- René Bastian www.pythoneon.org www.musiques-rb.org http://www.soundsurvey.org.uk/ \enableregime[utf] \parindent 3mm \parskip 6mm \setupbodyfont[sansserif, 12pt] \definepapersize[monpapier][width=170mm,height=235mm] \setuppapersize[monpapier][monpapier

Re: [NTG-context] Magazine imposition.

2010-02-18 Thread Willi Egger
document from the two base-documents. Once the two documents are combined into one you could invoke arranging. You can do things like: \definepapersize [offset=15pt] \setuppapersize [A5,landscape][A4,portrait] \setuplayout [backspace=0pt, topspace=0pt, width=middle, height=middle

Re: [NTG-context] Magazine imposition.

2010-02-18 Thread Hans Hagen
-imp.mkII/mkiv to create a single document from the two base-documents. Once the two documents are combined into one you could invoke arranging. You can do things like: \definepapersize [offset=15pt] \setuppapersize [A5,landscape][A4,portrait] \setuplayout [backspace=0pt, topspace=0pt, width=middle

Re: [NTG-context] Magazine imposition.

2010-02-18 Thread Willi Egger
-documents. Once the two documents are combined into one you could invoke arranging. You can do things like: \definepapersize [offset=15pt] \setuppapersize [A5,landscape][A4,portrait] \setuplayout [backspace=0pt, topspace=0pt, width=middle, height=middle, location=middle, header=0pt, footer=0pt

Re: [NTG-context] embed fonts

2009-10-17 Thread R. Bastian
\setupbodyfont[sansserif, 10pt] \definepapersize[monpapier][width=210mm,height=297mm] \setuppapersize[monpapier][monpapier] % A4 \setuplayout[textwidth=16cm, textheight=25cm, topspace=1cm, leftmargin=5mm, rightmargin=5mm, leftmargindistance=3mm] \setupheadertexts[chapter] % marginedge pousse vers le

Re: [NTG-context] Fwd: \setuppagenumbering[]

2009-07-10 Thread Wolfgang Schuster
Am 08.07.2009 um 05:55 schrieb Ciro Soto: Thank you Wolfgang, here is an example that doesn't work. What am I doing wrong? \definepapersize[CD][width=5.5in,height=8.5in] \setuppapersize[CD][letter] \setuppagenumbering [location=] \setupfootertexts [\pagenumber

[NTG-context] Fwd: Fwd: \setuppagenumbering[]

2009-07-09 Thread Ciro Soto
wrong? \definepapersize[CD][width=5.5in,height=8.5in] \setuppapersize[CD][letter] \setuppagenumbering [location=] \setupfootertexts [\pagenumber] \setupheadertexts [C.S.][Freedom][C.S.][Freedom] \setuppagenumbering [alternative=doublesided] \starttext \tolerance 1

Re: [NTG-context] Fwd: \setuppagenumbering[]

2009-07-07 Thread Ciro Soto
Thank you Wolfgang, here is an example that doesn't work. What am I doing wrong? \definepapersize[CD][width=5.5in,height=8.5in] \setuppapersize[CD][letter] \setuppagenumbering [location=] \setupfootertexts [\pagenumber] \setupheadertexts [C.S.][Freedom][C.S.][Freedom

[NTG-context] Crop marks and \setuplayout[nx,ny]

2009-06-07 Thread Nicolas Girard
not to overlap the pages, or suppress the marks between two columns of pages. What do you think ? Is there currently a solution to this ? Cheers, Nicolas \definepapersize[BC][width=85mm,height=54mm] \definelayer[blocks][width=85mm,height=54mm] \doifmodeelse{print}{ \setuppapersize[BC

Re: [NTG-context] I can't find file `TeXGyreChorus-MediumItalic'.

2009-05-31 Thread Mojca Miklavec
On Sun, May 31, 2009 at 23:10, Ciro Soto wrote: Wolfgang, thank you for your help. Here is a simple example that generates the error. You can copy and paste the following lines into a tex file and run context on it. %  FROM HERE \definepapersize[CD][width=5.5in, height

Re: [NTG-context] I can't find file `TeXGyreChorus-MediumItalic'.

2009-05-31 Thread Ciro Soto
on it. % FROM HERE \definepapersize[CD][width=5.5in, height=8.5in] \setuppapersize[CD][letter] \usetypescript[chancery][texnansi] \definetypeface [myfont][cg][calligraphy][chancery][default][encoding=texnansi] You may leave texnansi out. \starttext \dorecurse{2}{\myfont\input tufte \par

Re: [NTG-context] How to make a stretched pdf file

2009-05-22 Thread Wolfgang Schuster
with a rather new mechanism Hans wrote for me. \definepapersize[fake][SW] [SW] \definepapersize[real][A5,landscape][A5,landscape] \setuppapersize[fake] \installpagehandler{deform}% {\dowithnextbox {\setuppapersize[real] \actualshipout{\scale[width=\paperwidth,height=\paperheight

Re: [NTG-context] How to make a stretched pdf file

2009-05-22 Thread Zhichu Chen
for this? That was a nice exercise, here is a solution with a rather new mechanism Hans wrote for me. \definepapersize[fake][SW]          [SW] \definepapersize[real][A5,landscape][A5,landscape] \setuppapersize[fake] \installpagehandler{deform}%  {\dowithnextbox     {\setuppapersize[real

Re: [NTG-context] Short question about big papersize

2009-03-22 Thread Diego Depaoli
behaviour. \definepapersize[manif][width=986mm,height=660mm] \setuppapersize[manif][manif] \showgrid \switchtobodyfont[14pt] \definecolumnset[manif][n=6,distance=1.8cm] \starttext \startcolumnset[manif] \dorecurse{100}{\input knuth} \stopcolumnset \stoptext Why last lines are empty? I must specify

Re: [NTG-context] Short question about big papersize

2009-03-22 Thread Wolfgang Schuster
Am 23.03.2009 um 01:49 schrieb Diego Depaoli: Hi all, before start spend my time, can Context handle 6 (or 8) columns on a 70X100 cm papersize? yes, and if it's about a poster, just use columnsets then many thanks, it works However I get a weird behaviour. \definepapersize[manif][width

Re: [NTG-context] Short question about big papersize

2009-03-22 Thread Diego Depaoli
then many thanks, it works However I get a weird behaviour. \definepapersize[manif][width=986mm,height=660mm] \setuppapersize[manif][manif] \showgrid \switchtobodyfont[14pt] \setupbodyfont[14pt] Re-thanks -- Diego Depaoli

[NTG-context] switching layouts for a float

2009-03-16 Thread Corin Royal Drummond
don't know how to switch to a wide layout with tiny backspace and margin just for the combination floats. I'm trying: ... \definepapersize[wide][width=9in, height=7in] \setuppapersize[wide][wide] \setuplayout [location=middle, marking=on, topspace=.5cm, height=6.5in, width=4.5in, margin

Re: [NTG-context] switching layouts for a float

2009-03-16 Thread Wolfgang Schuster
, have a wide margin to accommodate marginal graphics, and I don't know how to switch to a wide layout with tiny backspace and margin just for the combination floats. I'm trying: ... \definepapersize[wide][width=9in, height=7in] \setuppapersize[wide][wide] \setuplayout [location=middle

[NTG-context] left page / right page layout

2009-02-13 Thread Antoine Junod
to adapt the 'Alternative backgrounds' example on the wiki without any success. When I try to use leftpage (or rightpage) in \setupbackgrounds, the background of the whole left page is colored. Here is what I have right now: Thanks a lot for your reply, -AJ \definepapersize[pca4][width=212mm

Re: [NTG-context] layout problem

2009-02-13 Thread Wolfgang Schuster
: \setuppapersize[A5][A4] Make the resulting page 2mm larger on each side. \definepapersize[A5plus][width=150mm,height=214mm] \definepapersize[A4plus][width=214mm,height=300mm] \setuppapersize[A5plus][A4plus] \setuparranging[2UP,rotated] \setuppagenumbering [alternative=doublesided] \definelayout

Re: [NTG-context] layout problem

2009-02-13 Thread Antoine Junod
to send to the printer. The second one is exactly half size of the first one: \definepapersize[pca4][width=212mm,height=299mm] \definepapersize[pca5][width=149.5mm, height=212mm] Then, I put two pca5 on one pca5: \setuppapersize[pca5][pca4] \setuparranging[2UP,rotated] The only thing I changed

Re: [NTG-context] issue with imposition

2009-01-19 Thread Pablo Rodríguez
beyond the page boundaries (which actually would be empty because of the page margins). In the attached image, it is shown what I intend in the upper figure and what I get in the lower figure. Thanks for your help, Pablo The following code in a tex-file. \definepapersize[Mypaper][height

Re: [NTG-context] issue with imposition

2009-01-19 Thread Henning Hraban Ramm
Am 2009-01-18 um 20:05 schrieb Pablo Rodríguez: I would like to use the imposition capabilities from ConTeXt to be able to print a PDF book in a standard laser printer. To save paper, I use the 2UP arranging option thanks to this code from the wiki: \definepapersize[filius][width

[NTG-context] issue with imposition

2009-01-18 Thread Pablo Rodríguez
Hi there, I would like to use the imposition capabilities from ConTeXt to be able to print a PDF book in a standard laser printer. To save paper, I use the 2UP arranging option thanks to this code from the wiki: \definepapersize[filius][width=135.9mm, height=231.8mm] \setuppapersize

Re: [NTG-context] issue with imposition

2009-01-18 Thread Willi Egger
Hi Pablo, The problem is that the filius-page is higher than the width of an A4. So there is no way other than to scale the original pages down to a height of 210mm. For this action you can use something like The following code in a tex-file. \definepapersize[Mypaper][height=210mm,width

Re: [NTG-context] issue with imposition

2009-01-18 Thread Pablo Rodríguez
center the imposed pages, both vertically and horizontally, to define a The following code in a tex-file. \definepapersize[Mypaper][height=210mm,width=123mm] \setuppapersize [Mypaper][Mypaper] \setuplayout [page] \starttext \copypages [input.pdf] [scale=905, offset=0pt] \stoptext

[NTG-context] Some layout questions

2008-08-26 Thread Ulrich Dirr
Hi, I'm trying to setup context for a book layout but I'm still failing with some basics (hopefully) ... \definepapersize[Lasker][width=21cm,height=28cm] \setuppapersize[Lasker][A4] \setuplayout[width=172.5mm,lines=53,leftmargin=0mm,rightmargin=0mm,header=12 pt,headerdistance=12pt,footer=12pt

Re: [NTG-context] MkIV and DVI output

2008-04-11 Thread Taco Hoekwater
formats (epub, mobipocket) ? Here is the needed support for one ebook format: \definepapersize[iliad] [width=124mm, height=152mm] \setuppapersize[iliad][iliad] \pdfminorversion=4 % officially 3, but 4 works also \setupcolors[state=start,conversion=yes,reduction=yes,rgb

[NTG-context] problem using protrusion and hz

2008-04-08 Thread David C. Walden
Hi, Adytia pointed me to some examples at http://wiki.contextgarden.net/Protrusion I tried the following code with a couple of page test page, - \definepapersize[specialbook][width=5.5in,height=8.5in] \setuppapersize[specialbook][specialbook] \setuplayout[height=7.5in,width=4.5in

[NTG-context] Arrange a pdf file

2008-03-16 Thread Willi Egger
Hi, I do not understand what is going on here: Earlier one could say: texmfstart texexec --arrange --print=2UP --environments=arrange code- review.pdf with in the environment file: \definepapersize [offset=15pt] \setuppapersize [A5,landscape][A4,portrait] \setuplayout [backspace

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
] # \definemeasure # \defineoutput[name][specials] \defineoverlay[names][command] # \definepagebreak \definepalet[name][name] \definepapersize[name][dimenstions] \defineparagraphs[name][options and settings] \defineprofile[names][names] \defineprogram[name][text][text] # \definepushbutton # \definepushsymbol

Re: [NTG-context] Setting up a project

2007-12-21 Thread Hans Hagen
another product \startenvironment env_firefly \definepapersize[sixbynine][width=6in,height=9in] \setuppapersize[sixbynine][sixbynine] \setuplayout[... ...] \stopenvironment Do I need to define name the paper size, or is putting it in the \setuplayout sufficient? looks ok to me

Re: [NTG-context] Setting up a project

2007-12-21 Thread Wolfgang Schuster
the DejaVo fonts with XeTeX but I had a few problems to use them with LuaTeX in the last time. \startenvironment env_firefly \definepapersize[sixbynine][ width=6in,height=9in, offset=???,scale=???] \setuppapersize[sixbynine][sixbynine] \setuplayout[... ...] \stopenvironment

[NTG-context] \setuplayout with marking but WITHOUT number

2007-12-21 Thread Steffen Wolfrum
Hi, see the following example, please: \definepapersize[Small][width=15cm,height=7.5cm] \setuppapersize[Small][A46,landscape] \setuplayout [width=15cm,height=7.5cm,backspace=-0cm, location=middle,marking=on,grid=no] \starttext\setupheadertexts[] \centerline{TEXT} \stoptext How

Re: [NTG-context] \setuplayout with marking but WITHOUT number

2007-12-21 Thread Wolfgang Schuster
On Fri, 21 Dec 2007 18:40:08 +0100 Steffen Wolfrum [EMAIL PROTECTED] wrote: Hi, see the following example, please: \definepapersize[Small][width=15cm,height=7.5cm] \setuppapersize[Small][A46,landscape] \setuplayout [width=15cm,height=7.5cm,backspace=-0cm, location=middle

Re: [NTG-context] Setting up a project

2007-12-21 Thread Joel C. Salomon
evidently not understanding what the various *space values are. Only cutspace seems to work as I expected it to; even the text area isn't the right size (unless the rectangle isn't around the text area itself). \definepapersize[sixbynine][width=6in,height=9in] \setuppapersize[sixbynine][letter

Re: [NTG-context] \setuplayout with marking but WITHOUT number

2007-12-21 Thread Steffen Wolfrum
Or even worse, how do I get rid of those fat white numbers in the nice color fields: \setupcolors[state=start] \definepapersize[Small][width=15cm,height=7.5cm] \setuppapersize[Small][A46,landscape] \setuplayout [width=15cm,height=7.5cm,backspace=-0cm, location=middle,marking

Re: [NTG-context] \setuplayout with marking but WITHOUT number

2007-12-21 Thread Wolfgang Schuster
On Fri, 21 Dec 2007 19:05:04 +0100 Steffen Wolfrum [EMAIL PROTECTED] wrote: Or even worse, how do I get rid of those fat white numbers in the nice color fields: \setupcolors[state=start] \definepapersize[Small][width=15cm,height=7.5cm] \setuppapersize[Small][A46,landscape] \setuplayout

Re: [NTG-context] Setting up a project

2007-12-21 Thread Wolfgang Schuster
). \definepapersize[sixbynine][width=6in,height=9in] \setuppapersize[sixbynine][letter] \setuplayout [marking=on, location=middle, textwidth=288pt, textheight=432pt, header=12pt, headerdistance=12pt, topspace=72pt, footer=12pt, footerdistance=12pt, bottomspace=144pt

Re: [NTG-context] Setting up a project

2007-12-21 Thread Joel C. Salomon
On Dec 21, 2007 2:01 PM, Wolfgang Schuster [EMAIL PROTECTED] wrote: What do you mean by the rectangle around the text area. Here's the project I'm compiling (as it currently stands), condensed into a single file: \definepapersize[sixbynine][width=6in,height=9in] \setuppapersize[sixbynine

Re: [NTG-context] Setting up a project

2007-12-21 Thread Wolfgang Schuster
: \definepapersize[sixbynine][width=6in,height=9in] \setuppapersize[sixbynine][letter] \setuplayout [marking=on, location=middle, textwidth=288pt, textheight=432pt, replace these two lines with width=288pt and height=432pt don't use textwidth and textheight in \setuplayout

Re: [NTG-context] \version[temporary]

2007-12-20 Thread Wolfgang Schuster
, \c!width=12em] \protect \version[temporary][reference=no,distance=-5pt] %\version[temporary] %\version[reference=no] \definepapersize[test][width=157mm,height=232mm] \setuppapersize[test][test] \setuplayout [width=113mm, backspace=20mm, location=middle] %\showframe \starttext

<    1   2   3   4   5   >