[NTG-context] no escaping with scite highlighting any more?

2024-08-11 Thread Henning Hraban Ramm
measure[PageHeight][239mm] \definepapersize[DANTE][ /BTEX\hfill{\ss Paper size}/ETEX width=\measure{PageWidth}, height=\measure{PageHeight},] \setuppapersize[DANTE] \stopTEX \stoptext """ Without the scite module, escaping in \startTEX works, but I need the module for some o

[NTG-context] Why is only the first frame protruding into the margin?

2024-05-16 Thread madiazm . eoicc
before the first frame (noindentation, dontleavehmode) because I sometimes read it solves problems, but not the case here. so Why is the first frame protruding and only the first? \definepapersize[vertical][A4, portrait] \definepapersize[horizontal][A4, landscape] \setuppapersize[vertical

[NTG-context] Re: Unknown units es and dk

2024-03-23 Thread Hans Hagen
On 3/23/2024 2:27 PM, Wolfgang Schuster wrote: Jan Ulrich Hasecke via ntg-context schrieb am 23.03.2024 um 13:57: I saw this in (the btw great) bachotex-stepbystep presentation \definepapersize [example] [width=8.5es, height=11es] \setuptextbackground [location=paragraph, backgroundcolor

[NTG-context] Re: Unknown units es and dk

2024-03-23 Thread Wolfgang Schuster
Jan Ulrich Hasecke via ntg-context schrieb am 23.03.2024 um 13:57: I saw this in (the btw great) bachotex-stepbystep presentation \definepapersize [example] [width=8.5es, height=11es] \setuptextbackground [location=paragraph, backgroundcolor=MyColors:4, backgroundoffset=1dk, frame=off] The

[NTG-context] Unknown units es and dk

2024-03-23 Thread Jan Ulrich Hasecke via ntg-context
I saw this in (the btw great) bachotex-stepbystep presentation \definepapersize [example] [width=8.5es, height=11es] \setuptextbackground [location=paragraph, backgroundcolor=MyColors:4, backgroundoffset=1dk, frame=off] The units "es" and "dk" are unknown to me. What d

[NTG-context] Re: Struggling with the distance and right margin text

2024-03-22 Thread Ursula Hermann
res \starttext (most of the time) and \stoptext (mandatory to avoid stupid errors). > \definepapersize[MyBook][width=19cm,height=29.7cm] > \setuppapersize[MyBook][MyBook] % Prints on paper the size of MyBook > %\setuppapersize[MyBook][A4] %Would print MyBook-size pages on A4 paper > \setup

[NTG-context] Re: Struggling with the distance and right margin text

2024-03-15 Thread Pablo Rodriguez via ntg-context
ext (mandatory to avoid stupid errors). > \definepapersize[MyBook][width=19cm,height=29.7cm] > \setuppapersize[MyBook][MyBook] % Prints on paper the size of MyBook > %\setuppapersize[MyBook][A4] %Would print MyBook-size pages on A4 paper > \setupbodyfont[modern, 12.50pt] If these lines are irr

[NTG-context] Struggling with the distance and right margin text

2024-03-15 Thread Ursula Hermann
Dear List, On the first page I had this example: \definepapersize[MyBook][width=19cm,height=29.7cm] \setuppapersize[MyBook][MyBook] % Prints on paper the size of MyBook %\setuppapersize[MyBook][A4] %Would print MyBook-size pages on A4 paper \setupbodyfont[modern, 12.50pt] \definemargindata

[NTG-context] Re: How can I do this?

2024-03-08 Thread Otared Kavian
> I need a tip how to do this: > In the command \definepapersize[Mybook] the height should be not 24 cm, but a > little bit longer. My Problem is, as you can see on the PDF, that there are > troubles with the Gray Background. The Gray Background should begin with : > Mitunt

[NTG-context] How can I do this?

2024-03-06 Thread Ursula Hermann
Dear List, I need a tip how to do this: In the command \definepapersize[Mybook] the height should be not 24 cm, but a little bit longer. My Problem is, as you can see on the PDF, that there are troubles with the Gray Background. The Gray Background should begin with : Mitunter. . I think it

[NTG-context] Re: Asking help for better way to make tickets.

2024-01-12 Thread Marco Patzer
nter of the ticket which is increasing. > > I use the following code to make it. Here's a suggestion: \definepapersize [jeong] [width=67mm, height=73mm] \setuppapersize [jeong] [A4] \setuppaper [nx=3, ny=4, dx=4.4mm, dy=1.5mm] \setuparranging [XY] \setuplayout

[NTG-context] Re: Problem with the paragraph

2023-12-18 Thread Ursula Hermann
anging style so use \bold{this is bold} or {\bf this is bold} but not \bf{this is bold}. \definepapersize[MyBook][width=19cm,height=24cm] \setuppapersize[MyBook][MyBook] % Prints on paper the size of MyBook %\setuppapersize[MyBook][A4] %Would print MyBook-size pages on A4 paper \setupbodyfon

[NTG-context] Re: Problem with the paragraph

2023-12-15 Thread Bruce Horrocks
ions. Also take care over changing style so use \bold{this is bold} or {\bf this is bold} but not \bf{this is bold}. \definepapersize[MyBook][width=19cm,height=24cm] \setuppapersize[MyBook][MyBook] % Prints on paper the size of MyBook %\setuppapersize[MyBook][A4] %Would print MyBook-size pages o

[NTG-context] Re: Problem with the paragraph

2023-12-14 Thread Wolfgang Schuster
Ursula Hermann schrieb am 13.12.2023 um 15:22: Dear list, I have this example. I need the whole paragraph in color. But there is something wrong. \definepapersize[MyBook][width=19cm,height=24cm] \setuppapersize[MyBook][MyBook] % Prints on paper the size of MyBook %\setuppapersize[MyBook

[NTG-context] Problem with the paragraph

2023-12-13 Thread Ursula Hermann
Dear list, I have this example. I need the whole paragraph in color. But there is something wrong. \definepapersize[MyBook][width=19cm,height=24cm] \setuppapersize[MyBook][MyBook] % Prints on paper the size of MyBook %\setuppapersize[MyBook][A4] %Would print MyBook-size pages on A4 paper

[NTG-context] Typing with text wrapping

2023-08-05 Thread Alex Leray
wrap when the lines are too long. The snippets can un over several pages so that recipe[^1] doesn't work for me. [^1]: https://www.contextgarden.net/Verbatim_with_line_breaks> Is there a way to do that? Here is my code: ``` \definepapersize[page][width=105mm,height=148.5mm] \setuppa

[NTG-context] Re: Par Builder Tests

2023-07-21 Thread Hans Hagen
files so that my setup for xml was very simple. Here are my setups for the layout of the novels showing some trackers that were used as well: \definepapersize[pagee][width=5.06in,height=7.81in] \setuppapersize[pagee] % XML setups here \startsetups[grid][mypenalties] \setdefaultpenalties

[NTG-context] Par Builder Tests

2023-07-21 Thread Keith McKay
simple. Here are my setups for the layout of the novels showing some trackers that were used as well: \definepapersize[pagee][width=5.06in,height=7.81in] \setuppapersize[pagee] % XML setups here \startsetups[grid][mypenalties] \setdefaultpenalties \setpenalties\widowpenalties{1}{150

Re: [NTG-context] Layout with equal margins.

2023-05-21 Thread Wolfgang Schuster via ntg-context
around the page for trimming. Does defining a paper size taller and wider than the 6x9 'pawel' paper size you gave in hte example is a solution? For the example purposes: \definepapersize[printing_sheet][width440pt,height=656pt] Then use: \setuppapersize[pawel][printing_sh

Re: [NTG-context] Layout with equal margins.

2023-05-21 Thread Pawel Urbanski via ntg-context
around the page for trimming. Does defining a paper size taller and wider than the 6x9 'pawel' paper size you gave in hte example is a solution? For the example purposes: \definepapersize[printing_sheet][width440pt,height=656pt] Then use: \setuppapersize[pawel][printing_sh

Re: [NTG-context] Layout with equal margins.

2023-05-21 Thread Wolfgang Schuster via ntg-context
backspace and cutspace keys. In the example below you can switch between the layout of the print and screen version by changing modes. \enablemode[print] %\enablemode[screen] \definepapersize [pawel] [width=432pt,height=648pt] \setuppapersize [pawel] \startmode[print] \setuplayout   [back

Re: [NTG-context] Layout with equal margins.

2023-05-21 Thread Wolfgang Schuster via ntg-context
s for the download version. You use the backspace key to set the value for the inner/left margin and the width key for the textwidth. \definepapersize [pawel] [width=432pt,height=648pt] \setuppapersize [pawel] \setuplayout   [backspace=60pt,    width=312pt] \starttext \showlayout \stoptext Wol

Re: [NTG-context] startTEXpage on A4

2022-10-10 Thread Willi Egger via ntg-context
an environment like \startTEXpage? >>>> >>>> Can you be more concrete what your goal is, there are a few ways to solve >>>> your problem but with a few more information we can give you a good >>>> solution. >>> Say I want to print some stickers

Re: [NTG-context] startTEXpage on A4

2022-10-09 Thread Leah Neukirchen via ntg-context
want to print some stickers or paper strips of non-fixed size, >> and get crop marks around them to know where to cut. >> With \setuppapersize and \setuparranging I can do this nicely if I >> know the size in advance, but in some cases I don't. > > \

Re: [NTG-context] startTEXpage on A4

2022-10-09 Thread Hans Hagen via ntg-context
{\unless\ifdim\topoffset=\zeropoint \expandafter\page_boxes_apply_offset_indeed \orunless\ifdim\backoffset=\zeropoint \expandafter\page_boxes_apply_offset_indeed \else \expandafter\gobbleoneargument \fi} \protect \definepapersize [label] [width=6cm, height=25mm]

[NTG-context] ugly bug

2022-06-01 Thread Steffen Wolfrum via ntg-context
[palatino,9.5pt]\setupinterlinespace[13pt] \setuppagenumbering [alternative=doublesided,location=] \setupheader[strut=yes] \setupheadertexts[text][][\blackrule] \definepapersize[stw][width=17cm,height=24cm] \setuppapersize[stw][stw] \setuplayout [width=122mm, backspace=18mm,topspace

Re: [NTG-context] Offseting the baseline grid, and irregular columnsets

2022-05-27 Thread Stefan Nedeljkovic via ntg-context
; > \definemeasure[xheight][0.1in] > > \definemeasure[base][3\measured{xheight}] > > % Since all distances are in terms of base units, specify the paper size > in those > > % terms as well. > > \definepapersize[slide][width=26\measured{base},height=20\measured{base}] > &g

Re: [NTG-context] Offseting the baseline grid, and irregular columnsets

2022-05-27 Thread Rik Kabel via ntg-context
text shifts downwards by two lines. My code: \definemeasure[xheight][0.1in] \definemeasure[base][3\measured{xheight}] % Since all distances are in terms of base units, specify the paper size in those % terms as well. \definepapersize[slide][width=26\measured{base},height=20\measured{base

Re: [NTG-context] Offseting the baseline grid, and irregular columnsets

2022-05-27 Thread Stefan Nedeljkovic via ntg-context
are in terms of base units, specify the paper size in those % terms as well. \definepapersize[slide][width=26\measured{base},height=20\measured{base}] \setuppapersize[slide] \setupinterlinespace[line=\measure{base}] \setuplayout [ topspace=2\measured{base}, header=\zeropoint, headerdistance

Re: [NTG-context] Offseting the baseline grid, and irregular columnsets

2022-05-27 Thread Aditya Mahajan via ntg-context
h is not a multiple of base units. I have tweaked the code below so that it is. \definemeasure[xheight][0.1in] \definemeasure[base][3\measured{xheight}] % Since all distances are in terms of base units, specify the paper size in those % terms as well. \definepapersize[slide][width=26\measu

[NTG-context] Offseting the baseline grid, and irregular columnsets

2022-05-25 Thread Stefan Nedeljkovic via ntg-context
space at the bottom. 2. The number of columns is 21.5, that is the first column is 0.5 units wide and the rest are 1 unit wide. How would I achieve this? Here is what I got right now: \definemeasure[xheight][0.1in] \definemeasure[base][3\measured{xheight}] \definepapersize[slide][width=80

[NTG-context] spooky jumping headerline

2022-05-25 Thread Steffen Wolfrum via ntg-context
][][\blackrule] \definepapersize[stw][width=17cm,height=24cm] \setuppapersize[stw][stw] \setuplayout [width=122mm, backspace=18mm,topspace=10mm, header=7mm,headerdistance=5.969mm, footer=5mm,footerdistance=5mm,height=214.031mm, location=middle

[NTG-context] Help needed with slide grid layout

2022-05-25 Thread Stefan Nedeljkovic via ntg-context
all around the page (see slide_grid_overlay.pdf). Here is my current attempt: %\input fonts \definemeasure[base][0.1in] \definemeasure[zero][0in] \definepapersize[slide][width=80\measure{base},height=60\measure{base}] \setuppapersize[slide] \setuplayout[ leftedge=\measure{zero

Re: [NTG-context] \installpagearrangement doublesided stickers

2022-02-11 Thread Jigé via ntg-context
pages \fi} \definepapersize[Vignette][width=80.0mm,height=50.0mm] \setuppapersize [Vignette][A4] \setuparranging [2*5*double*2*5] \setuplayout [margin=0pt, location=middle, marking=on] \showframe \starttext \dorecurse{20}{\vbox to \textheight{\vfill\midaligned{\tfd ABC}\vfill}\page} \stoptext M

Re: [NTG-context] \installpagearrangement doublesided stickers

2022-01-22 Thread Willi Egger via ntg-context
angedpageA % > \or \handlearrangedpageXandY{#1}003\arrangedpageB % > \or \handlearrangedpageXandY{#1}004\arrangedpageA % > \or \handlearrangedpageXandY{#1}014\arrangedpageB % > \or \handlearrangedpageXandY{#1}014\arrangedpageA % > \or \handlearrangedpageXandY{#1}004\arrange

[NTG-context] \installpagearrangement doublesided stickers

2022-01-16 Thread Jigé via ntg-context
pageB % \or \handlearrangedpageXandY{#1}014\arrangedpageA % \or \handlearrangedpageXandY{#1}004\arrangedpageB % \poparrangedpages \fi} \definepapersize[Etiquette][width=80.0mm,height=50.0mm] \setuppapersize [Etiquette][A4] \setuparranging [2*5*double*2*5] %\setuplayout [margin=0

Re: [NTG-context] Indentation inside \framed won't go away

2021-10-21 Thread Ramkumar KB via ntg-context
her parameter is overriding this. > > > > Any tips would be appreciated. > > > > best regards, > > Ramkumar > > > > \definepapersize[a4-portrait][A4][A4] > > \setuppapersize[a4-portrait] > > > \setuplayout[topspace=10mm,backspace=1

Re: [NTG-context] Indentation inside \framed won't go away

2021-10-21 Thread Hans Hagen via ntg-context
some other parameter is overriding  this. Any tips would be appreciated. best regards, Ramkumar \definepapersize[a4-portrait][A4][A4] \setuppapersize[a4-portrait] \setuplayout[topspace=10mm,backspace=15mm,header=50pt,footer=50pt,textwidth=165mm,height=middle,width=middle] \starttext \offset[x

Re: [NTG-context] Indentation inside \framed won't go away

2021-10-21 Thread mf via ntg-context
\definepapersize[a4-portrait][A4][A4] \setuppapersize[a4-portrait] \setuplayout[topspace=10mm,backspace=15mm,header=50pt,footer=50pt,textwidth=165mm,height=middle,width=middle] \starttext \offset[x=\dimexpr11mm\relax,y=\dimexpr23mm\relax] {\framed[frame=on,offset=none,align=flushleft

Re: [NTG-context] Indentation inside \framed won't go away

2021-10-21 Thread fv leung via ntg-context
> It appears that *\setupindenting[no]* is not playing any role here and > some other parameter is overriding this. > > Any tips would be appreciated. > > best regards, > Ramkumar > > \definepapersize[a4-portrait][A4][A4] > \setuppapersize[a4-portrait] > \setuplayout

[NTG-context] Indentation inside \framed won't go away

2021-10-21 Thread Ramkumar KB via ntg-context
appreciated. best regards, Ramkumar \definepapersize[a4-portrait][A4][A4] \setuppapersize[a4-portrait] \setuplayout [topspace=10mm,backspace=15mm,header=50pt,footer=50pt,textwidth=165mm,height=middle,width=middle] \starttext \offset[x=\dimexpr11mm\relax,y=\dimexpr23mm\relax] {\framed[frame=on

[NTG-context] LMTX: some alignment issues

2021-07-23 Thread Gerben Wierda
al. MVP source: %%% \definepapersize[smallpaperback][width=5in,height=8in] \setuppapersize[smallpaperback][smallpaperback] \setuplayout[location=doublesided] \setuppagenumbering[alternative=doublesided] \setupsectionblock[frontpart][page=no] \setupsectionblock[bodypart][page=no] \setupsectio

Re: [NTG-context] LMTX, BIdi, full paragraph, and spurious empty line

2021-06-23 Thread Rik Kabel
od=unicode] \enabletrackers  [typesetters.directions] %\showmakeup  [glue,dir] \definepapersize [Testing] [width=6.69in] \setuppapersize  [Testing] \setuplayout [width=fit,   backspace=1.4in,   cu

Re: [NTG-context] LMTX, BIdi, full paragraph, and spurious empty line

2021-06-23 Thread Hans Hagen
e same installation./ %% Demonstration of spurious line insertion on full paragraph with bidi active \setupdirections  [bidi=on,method=unicode] \definepapersize  [Testing]   [width=6.69in] \setuppapersize   [Testing] \setuplayout  [wid

[NTG-context] LMTX, BIdi, full paragraph, and spurious empty line

2021-06-21 Thread Rik Kabel
ion of spurious line insertion on full paragraph with bidi active \setupdirections  [bidi=on,method=unicode] \definepapersize  [Testing]   [width=6.69in] \setuppapersize   [Testing] \setuplayout  [width=fit,    backspace

Re: [NTG-context] calculating optimal height of textblock

2021-04-29 Thread denis.maier
One thing, I've noticed: Lines=40 seems to add more space than strictly necessary. Why is that? Example: === \setupbodyfont[10pt] \definepapersize[test][width=140mm,height=208mm] \setuppapersize[test][test] \setuppagenumbering[location={footer,middle}] \setuplayout[

[NTG-context] calculating optimal height of textblock

2021-04-28 Thread denis.maier
Hi, how do you usually calcultate your layouts? For example in this example, the third value for height is not really helpful as there will never be a complete line : = \setupbodyfont[10pt] \definepapersize[test][width=140mm,height=208mm] \setuppapersize[test][test

[NTG-context] About baseline alignment in metapost

2021-01-28 Thread Stefan Nedeljkovic
Dear list, Consider the following example: \definepapersize [custom] [width=20cm, height=15cm] \setuppapersize [custom] \setuplayout [ width=fit, rightmargin=0cm, leftmargin=0cm, leftmargindistance=0pt, rightmargindistance=0pt, height=fit, header=0pt, footer=0pt

Re: [NTG-context] How can I make "natural table" be exactly as wide as the textwidth?

2020-12-08 Thread T. Kurt Bond
ation={footer,middle}] \setupwhitespace[quarterline] \setupbodyfont[pagella,9pt] \definepapersize[digest][width=5.5in,height=8.5in] \setuppapersize[digest] \starttext \startplacetable[location=force,title={Stun Levels}] \definecolor[back-3][r=.8,g=.8,b=.8] \setupTABLE[background=color,frame=off,frame

Re: [NTG-context] question about frames

2020-11-26 Thread Wolfgang Schuster
: \definepapersize [etikett] [width=5cm, height=2cm] \setuppapersize [etikett] [A4] \setuplayout [page] \setuppaper [nx=4, ny=14] \setuppaper [dx=1sp, dy=1sp, backspace=5mm, topspace=10mm] \setuparranging [XY] \setuplayout [location=middle] \starttext \dorecurse{56

Re: [NTG-context] Index formatting difference LMTX and MkIV redux

2020-11-17 Thread Rik Kabel
different results with both engines. This ConTeXt input: \definepapersize [pinched crown quarto] [width=6.69in,   height=9.61in] \setuppapersize  [pinched crown quarto] \setuplayout [width=fit,   backspace=1.4in

Re: [NTG-context] Concerning text backgrounds (and further tuning) in references

2020-10-24 Thread Jairo A. del Rio
te=start] \definetextbackground[MyUrl] [ > > location=text, background=color,backgroundcolor=yellow, frame=off, > > ]\def\myfootnote#1{\MyUrl{\high{#1}}} > > \setupfootnotes[textcommand=\myfootnote] > > \definepapersize[default][A8,portrait] \setuppapersize [default] > > \useU

Re: [NTG-context] Concerning text backgrounds (and further tuning) in references

2020-10-24 Thread Wolfgang Schuster
state=start] \definetextbackground[MyUrl] [ location=text, background=color,backgroundcolor=yellow, frame=off, ]\def\myfootnote#1{\MyUrl{\high{#1}}} \setupfootnotes[textcommand=\myfootnote] \definepapersize[default][A8,portrait] \setuppapersize [default] \useURL[aurl] [https://wiki.contextgarde

[NTG-context] Concerning text backgrounds (and further tuning) in references

2020-10-23 Thread Jairo A. del Rio
=text, background=color, backgroundcolor=yellow, frame=off, ]\def\myfootnote#1{\MyUrl{\high{#1}}} \setupfootnotes[textcommand=\myfootnote] \definepapersize[default][A8,portrait]\setuppapersize [default]\useURL[aurl] [https://wiki.contextgarden.net] [] [\MyUrl{ConTeXt Garden}]\starttext Testing links to same

[NTG-context] Index formatting difference LMTX and MkIV redux

2020-10-21 Thread Rik Kabel
notice that the problem is very sensitive to the width settings, and slight variations in width create different results with both engines. This ConTeXt input: \definepapersize [pinched crown quarto] [width=6.69in,   height=9.61in] \setuppapersize

Re: [NTG-context] Full page image and caption in another page?

2020-09-23 Thread Taco Hoekwater
Problems: > • I can't get # 1 and # 3 at same time > • \setupfloat doesn't have before option, which I could use to change > orientation > • I have no idea how to accomplish # 4 > A minimal working example (PDF in attachment): > > %%%

[NTG-context] Full page image and caption in another page?

2020-09-22 Thread José de Mattos Neto
ion - I have no idea how to accomplish # 4 A minimal working example (PDF in attachment): %%%%%%% \definepapersize[default][A4, portrait] \definelayout[default][topspace=0.6cm, topdistance=0cm, header=1cm, headerdistance=0cm,

[NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Nicola
\setuphead[chapter][after={}] (see below) with an environment setup that applies only to the ToC? Nicola %%% \definepapersize[lsda][width=128.4mm,height=198.3mm] \setuppapersize[lsda] \setuplayout[ backspace=22.9mm, width=90.3mm

Re: [NTG-context] error running wiki example with labels

2020-06-26 Thread Jan-Erik Hägglöf
0 11 \define[1]\Name{{\switchtobodyfont[14pt]#1}} And the code was as following \newdimen\LWidth \newdimen\LHeight \newdimen\LDistanceX \newdimen\LDistanceY \LWidth=75mm \LHeight=30mm \LDistanceX=0mm \LDistanceY=0mm \define[1]\Name{{\switchtobodyfont[14pt]#1}} \define[1]\Title{#1} \mainlang

Re: [NTG-context] paperformat=landscape not working

2020-05-20 Thread Wolfgang Schuster
ument {paperoffset} { - \definepapersize - [offset=\getdocumentargument{paperoffset}] + \setuppaper + [offset=\getdocumentargumentdefault{paperoffset}{0pt}] } Wolfgang ___ If your question is of interest to othe

Re: [NTG-context] image across 2 page spread

2020-04-30 Thread Hans Hagen
r the right-hand page, since there it extends to the outer edge, not the inner edge! The .7\paperheight was to provide room for the caption. But all in all, this is no solution! If it is any help, the setup dimensions for the book are US Digest: \definepapersize   [ACN][width=5.5in,height=

Re: [NTG-context] image across 2 page spread

2020-04-29 Thread Thangalin
; edge! The .7\paperheight was to provide room for the caption. But all in all, > this is no solution! > > If it is any help, the setup dimensions for the book are US Digest: > > \definepapersize > [ACN][width=5.5in,height=8.5in] % w140mm x h216mm > > I then looked

[NTG-context] image across 2 page spread

2020-04-29 Thread jbf
re it extends to the outer edge, not the inner edge! The .7\paperheight was to provide room for the caption. But all in all, this is no solution! If it is any help, the setup dimensions for the book are US Digest: \definepapersize   [ACN][width=5.5in,height=8.5in] %  w140mm x h216mm I then looked u

Re: [NTG-context] Pixels gone wrong?

2020-02-28 Thread Marcus Vinicius Mesquita
Thank you On Fri, Feb 28, 2020, 08:18 Hans Hagen wrote: > On 2/28/2020 11:27 AM, Marcus Vinicius Mesquita wrote: > > The MWE below when compiled with mkiv gives a one page document, whereas > > lmtx gives a blank pdf with 171 pages. > > > > > > \definepape

Re: [NTG-context] Pixels gone wrong?

2020-02-28 Thread Hans Hagen
On 2/28/2020 11:27 AM, Marcus Vinicius Mesquita wrote: The MWE below when compiled with mkiv gives a one page document, whereas lmtx gives a blank pdf with 171 pages. \definepapersize[screen][width=1920px,height=1080px] \setuppapersize [screen][screen] \starttext \input knuth \stoptext

[NTG-context] Pixels gone wrong?

2020-02-28 Thread Marcus Vinicius Mesquita
The MWE below when compiled with mkiv gives a one page document, whereas lmtx gives a blank pdf with 171 pages. \definepapersize[screen][width=1920px,height=1080px] \setuppapersize [screen][screen] \starttext \input knuth \stoptext

Re: [NTG-context] Tent style cards

2019-12-21 Thread Pablo Rodriguez
yikes!). Hi Paavnet, I think this could achieve what you might need: \definepapersize[tblcard][width=4in,height=3in] \setuppapersize[tblcard][letter,portrait] \setuparranging[2TOP] \setuplayout[ height=3in, width=4in, topspace=0in, header

[NTG-context] Tent style cards

2019-12-21 Thread Pavneet Arora
If I use \setuparranging[2*4] mirroring works, but I only need tent style (1*2 head-to-head) so that I can trim to size. Any template that could be suggested would be most helpful as the wedding is on Mon (yikes!). advTHANKSance. >>>MWE<<< \definepapersize[tblcard][width=4in,height=3

Re: [NTG-context] LMTX Tagging and overlay

2019-12-15 Thread Otared Kavian
\setupinterlinespace [2.2ex] >> \definenarrower [MidOneEm] >> [middle=1em] >> \setuplayout [topspace=0.25in, >> footerdistance=0in, >> height=fit, >> width=27em, >>

Re: [NTG-context] LMTX Tagging and overlay

2019-12-15 Thread Rik Kabel
,   width=27em,   footer=0.5in,   bottom=0.25in,   backspace=1.1in] \definepapersize [octavo] [width=6in,   height=9in] \setuppagenumbering  [location

[NTG-context] LMTXL Tagging and overlay

2019-12-10 Thread Rik Kabel
] \setuplayout [topspace=0.25in,   footerdistance=0in,   height=fit,   width=27em,   footer=0.5in,   bottom=0.25in,   backspace=1.1in] \definepapersize

Re: [NTG-context] Suppress blank page in asymmetrical multicolumn layout

2019-12-06 Thread Wolfgang Schuster
e document layout. \definepapersize[BookPaperSize][width=24in, height=12in,] \setuppapersize[BookPaperSize] \definelayout[BookTextLayout][ topspace=.5in, backspace=.5in, header=\zeropoint, footer=\zeropoint, grid=yes, ] \setuplayout[BookTextLayout] \definecolumnset[BookColumns][n=4,dist

[NTG-context] Suppress blank page in asymmetrical multicolumn layout

2019-12-06 Thread Thangalin
Hi there, How do I suppress the blank page in the following document while maintaining the asymmetrical multicolumn layout? The problem centres around "page=yes," whereby removing it eliminates the blank page, but then wreaks havoc on the document layout. \definepapersize[BookPaperS

Re: [NTG-context] A5 != 210mm x 148mm ?

2019-11-03 Thread Kerry Sainsbury
Thank you. That solves the problem. On Sun, 3 Nov 2019 at 22:34, Tomas Hala wrote: > Hi, > > try: > > \definepapersize[myformat][height=210mm, width=148mm] > \setuppapersize[myformat] > > Best wishes, > > Tomáš > > Sun, Nov 03, 2019 ve 09:51:40PM +1300

Re: [NTG-context] A5 != 210mm x 148mm ?

2019-11-03 Thread Tomas Hala
Hi, try: \definepapersize[myformat][height=210mm, width=148mm] \setuppapersize[myformat] Best wishes, Tomáš Sun, Nov 03, 2019 ve 09:51:40PM +1300 Kerry Sainsbury napsal(a): #Hi, #If A5 is 210mm x 148mm (and [1]the internet assures me that it is), then #shouldn't thes

Re: [NTG-context] Unexpected behavior of subsection labels

2019-10-06 Thread Wolfgang Schuster
space=2cm] \definepapersize[nice][width=180mm,height=250mm] \setuppapersize[nice][nice] \setupinteraction[state=start] \placebookmarks[chapter,section,subsection][chapter,section,subsection] \setupinteractionscreen[option=bookmark] \setupindenting[medium,yes] \definestructureconversi

[NTG-context] Unexpected behavior of subsection labels

2019-10-06 Thread Jairo A. del Rio
=2cm] \definepapersize[nice][width=180mm,height=250mm] \setuppapersize[nice][nice] \setupinteraction[state=start] \placebookmarks[chapter,section,subsection][chapter,section,subsection] \setupinteractionscreen[option=bookmark] \setupindenting[medium,yes] \definestructureconversionset

[NTG-context] white space after a float in a column

2019-08-10 Thread Sytse knyps...@home.nl
omitted (i.e. location=none in \setupcaption). My example: 

\definepapersize[square21][width=21cm,height=21cm] 
\setuppapersize[square21][square21]
 \definecolumnset[Two][n=2]
 \setupcolumnset[Two]
 \setupcaption[intermezzo][location=none,spaceafter=1cm]
 % no value for spaceafter seems to work

Re: [NTG-context] background color, was: CMYK Color profile

2019-06-02 Thread Benjamin Koppe
the bleed. > %% Different print shops need different bleeds. > \definemeasure > [bleed] > [1mm] > > %% This is the pagesize of the final PDF. > %% The bleed size is added two times to width and height. > \definepapersize > [A4-flyer] > [width=\dimexpr297mm+2\

Re: [NTG-context] background color, was: CMYK Color profile

2019-05-31 Thread Benjamin Koppe
his is the pagesize of the final PDF. %% The bleed size is added two times to width and height. \definepapersize [A4-flyer] [width=\dimexpr297mm+2\measured{bleed}\relax, height=\dimexpr210mm+2\measured{bleed}\relax] %% The size of a normal page. \definepapersize [flyer-page] [w

Re: [NTG-context] Extend figure to margin, or extend figure from margin to text

2019-05-30 Thread Zhichu
t is acceptable now, I'm still concerned that the settings are not logical (to a human being). I'm afraid that one day it won't work out like that. Here's the MWE: === \showframe \setuppagenumbering [alternative=doublesided]

[NTG-context] Normal tables error: Dimension too large. Context version: 2019.04.29 08:52

2019-05-10 Thread Felipe de Jesús Molina Bravo
... % to complet 39 columns When i remove "width=broad" from the "\bTD...banco 1\eTD" i can generate my pdf with it new version How wan resolve this problem? please guide me!! Thank's in advance! See you \starttext % Hoja legal horizontal \definepapersize[

Re: [NTG-context] DIN lang folder with crop marks

2019-04-10 Thread Wolfgang Schuster
al document. I added the whole file as I really do not knwo (yet) how to reduce things... When you increase the size of the printed paper \definepapersize     [A4-flyer]     [width=\dimexpr297mm+10\measured{bleed}\relax, height=\dimexpr210mm+10\measured{bleed}\relax] and center the

[NTG-context] DIN lang folder with crop marks

2019-04-10 Thread Benjamin Koppe
] %% The bleed measure is necessary if you have colored page backgrounds %% or images in the bleed. %% Different print shops need different bleeds. \definemeasure [bleed] [3mm] %% This is the pagesize of the final PDF. %% The bleed size is added two times to width and height. \definepa

Re: [NTG-context] LMTX deeptextcommand issue

2019-04-02 Thread Hans Hagen
uts_show_print[#1][#2][#3]% only english 23 {\setbuffer[crap]% 24 \unprotect 25 >> \definepapersize[X][\c!width=4em, \c!height=6em] 26 \definepapersize[Y][\c!width=12em,\c!height=14em] 27 \setuppapersize[X,#1][Y,#2] 28 \setuplayout[#3] 29

[NTG-context] LMTX deeptextcommand issue

2019-04-02 Thread Jan Tosovsky
15 16 \registerctxluafile{page-run}{} 17 18 \unprotect 19 20 \unexpanded\gdef\showprint{\dotripleempty\page_layouts_show_print} 21 22 \gdef\page_layouts_show_print[#1][#2][#3]% only english 23 {\setbuffer[crap]% 24 \unpro

Re: [NTG-context] Printing 3 din lang pages on one dina4 page

2019-03-12 Thread Jan U. Hasecke
Am 12.03.19 um 17:25 schrieb Wolfgang Schuster: > \definepapersize [A4/3] [width=99mm,height=210mm] > > \setuppapersize [A4/3] [A4,landscape] > > \setuppaper [nx=3,ny=1] > > \setuparranging [XY] > > \setupbodyfont [10pt] > > \showframe[page] > > \start

Re: [NTG-context] Printing 3 din lang pages on one dina4 page

2019-03-12 Thread Wolfgang Schuster
following does not work. \definepapersize [flyer] [width=99mm,height=210mm] \setuppapersize [flyer] [a4] \setuparranging[1*3] The option [1*3] does not exist for \setuparranging. But I thought this could be what I want one sheet three pages. Use the XY arrangement method and set the

[NTG-context] Printing 3 din lang pages on one dina4 page

2019-03-12 Thread Jan U. Hasecke
Hi, I managed to print din long flyers (100mmx210mm with 97mmx210mm fold page) with 6 pages using a lot of pageshifts etc. But how can I print one simple din long page (99mmx210mm) three times on a din a4 page so that I can cut it myself? The following does not work. \definepapersize

Re: [NTG-context] right figure at bottom of page can narrow text block on whole next page

2019-02-06 Thread Rik Kabel
On 1/29/2019 06:48, Sanjoy Mahajan wrote: \definepapersize[bookcrop][width=137mm,height=221mm] \setuppapersize [bookcrop][bookcrop] \setuplayout[marking=on, location=middle, backspace=13.5mm, width=middle, topspace=32bp, header=10bp, headerdistance=26bp, footerdistance=16bp

[NTG-context] right figure at bottom of page can narrow text block on whole next page

2019-01-29 Thread Sanjoy Mahajan
01.28 betas (all on Debian amd64), as well as on the live ConTeXt (which is the 2019.01.28 beta). -Sanjoy == start margin-figure-region.tex ===== \definepapersize[bookcrop][width=137mm,height=221mm] \setuppapersize [bookcrop][bookcrop] \setuplayout[marki

Re: [NTG-context] columnset vs columns

2018-12-22 Thread Henri Menke
On 23/12/18 7:59 PM, Thangalin wrote: > Minimal example: > > \definepapersize[PaperSize][ > width=400mm, > height=100mm, > ] > > \setuppapersize[PaperSize] \setuplayout[grid=yes] > > \starttext > \startcolumnset[n=3] > \dorecurse{3}{\input k

[NTG-context] columnset vs columns

2018-12-22 Thread Thangalin
Minimal example: \definepapersize[PaperSize][ width=400mm, height=100mm, ] \setuppapersize[PaperSize] \starttext \startcolumnset[n=3] \dorecurse{3}{\input knuth} \stopcolumnset \stoptext The old-columnsets module fails with an error. The following works as expected

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-26 Thread Marco Patzer
On Tue, 25 Sep 2018 12:57:54 +0200 "Jan U. Hasecke" wrote: > \definemeasure > [bleed] > [3mm] > > I used this value to generalize the A4-flyer dimensions. > > \definepapersize > [A4-flyer] > [width=\dimexpr297mm+2\measured{bleed}\r

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-25 Thread Jan U. Hasecke
y grasp how pageshift works. \definemeasure [bleed] [3mm] I used this value to generalize the A4-flyer dimensions. \definepapersize [A4-flyer] [width=\dimexpr297mm+2\measured{bleed}\relax, height=\dimexpr210mm+2\measured{bleed}\relax] But horizontal pageshift is beyond

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-24 Thread Jan U. Hasecke
only 1mm bleed? Only adjusting the papersize A4-flyer to 299mm/212mm does not work of course. TIA juh %% The page shift of page #6 needs to be adjusted if the value is changed, no %% clue why. %% A4-flyer pagesize needs to be adjusted as well \definemeasure [shortfold] [3mm] \definepape

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-21 Thread Marco Patzer
sign in the file. Marco %% The page shift of page #6 needs to be adjusted if the value is changed, no %% clue why. %% A4-flyer pagesize needs to be adjusted as well \definemeasure [shortfold] [3mm] \definepapersize [A4-flyer] [width=303mm, height=216mm] \definepapersize [flyer-page

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-21 Thread Wolfgang Schuster
.html On 21.09.18 15:48, Wolfgang Schuster wrote: \definepapersize [A4/3] [width=99mm,height=210mm] \setuppapersize [A4/3] [A4,landscape] One question: is "A4/3" just a marker or does it include calculation? It’s just a name for the paper size and the / is part of it, I choose it

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-21 Thread Jan U. Hasecke
Thanks a lot. This is really straight forward. Embarrasing. ;-) On 21.09.18 15:48, Wolfgang Schuster wrote: > \definepapersize [A4/3] [width=99mm,height=210mm] > > \setuppapersize [A4/3] [A4,landscape] One question: is "A4/3" just a marker or does it includ

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-21 Thread Brian Ballsun-Stanton
o map the pages to the folds. My imposition code: \definepapersize[sheet][width=99mm,height=210mm] \setuppapersize[sheet][A4, landscape] \setuppaper[nx=3, ny=1, dx=0mm, dy=0mm] % must come before \setuparranging! \setuplayout[page][location=middle, marking=on] \setuparranging [XY] \setupl

  1   2   3   4   5   6   >