[NTG-context] sidefloat sorrows

2025-08-02 Thread Henning Hraban Ramm
a MWE – I didn’t try to solve the caption issues in the example. Hraban *) PDF: see https://yemaya.fiee.net/s/iz5zX6BSkTg8BGB %% same as attached .tex file: \usemodule[visual] \useMPlibrary[dum] \showframe \setuplayout[ backspace=70mm, width=100mm, leftmargin=50mm, rightmargin=10mm

[NTG-context] empty page after columnset

2025-08-02 Thread Henning Hraban Ramm
th CGJ, I tried to place anything on the empty pages in vain, using layers and postponing. Placements ocurr on the first page of the following article if at all. Hraban *) PDF: https://yemaya.fiee.net/s/TQRQxcz23snbe38 %% same as attached .tex file \usemodule[visual] \showframe \setuppapersiz

[NTG-context] Re: Lengthening/shortening paragraphs

2025-06-25 Thread Mikael Sundqvist
line: \setuplayout [width=15.55cm] \showframe \starttext \looseness-1 \samplefile {tufte} \stoptext Here is one example that lengthens one line. \setuplayout [width=14cm] \showframe \starttext \looseness1 \samplefile {tufte} \stoptext If you have access to tugboat, there is in the latest is

[NTG-context] Re: Lengthening/shortening paragraphs

2025-06-25 Thread John Was
shortens one line: > > \setuplayout > [width=15.55cm] > > \showframe > > \starttext > > \looseness-1 > \samplefile {tufte} > > \stoptext > > Here is one example that lengthens one line. > > \setuplayout > [width=14cm] > > \showframe > &

[NTG-context] parallel subcolumn sets and footnotes

2025-06-05 Thread Pablo Rodriguez via ntg-context
Dear Hans and Mikael, the sample below contains parallel subcolumn sets with footonotes. I cannot make them work properly and they are supposed to work. Is there something I’m missing in the sample. Many thanks for your help, Pablo \showframe\showgrid \starttext \setuplayout[grid=yes

[NTG-context] Re: Two questions to counter in margin

2025-05-31 Thread Wolfgang Schuster
cene:title] \startlocalheadsetup \startmaxaligned \llap{\headnumbercontent\hskip{\leftmargindistance}}% \rlap{\hskip{\textwidth+\rightmargindistance}\headnumbercontent}% \vbox\bgroup \headtextcontent \egroup \stopmaxaligned \stoplocalheadsetup \stopsetups

[NTG-context] Re: How to scale a TABLE to \textwidth?

2025-05-19 Thread Wolfgang Schuster
e counter/caption) and let the table stick out on both sides, don't forget to set the split option for the float environment. begin example \showframe[text][text] \starttext \bTABLE[option=stretch,foregroundstyle=smallbodyfont] \dorecurse{9}{\bTR \dorecurse{36}{\bTD ##1 \eTD

[NTG-context] Re: Draw cutting line

2025-04-08 Thread Max Chernoff via ntg-context
Hi Alan, On Tue, 2025-04-08 at 03:19 -0500, Alan Caruanambo wrote: > Hello, I want to draw the cutting line on an A4 sheet. > > cutting line (to draw) > | > > >| | > >| | > >| | > You can use \showframe f

[NTG-context] Re: Draw cutting line

2025-04-08 Thread Henning Hraban Ramm
Am 08.04.25 um 10:19 schrieb Alan Caruanambo: Hello, I want to draw the cutting line on an A4 sheet. cutting line (to draw)      | |    |     | |    |     | |    |     | \setuppapersize[A5][A4,landscape] \setuparranging[2*2] \showframe \setuplayout[middle

[NTG-context] Draw cutting line

2025-04-08 Thread Alan Caruanambo
Hello, I want to draw the cutting line on an A4 sheet. cutting line (to draw) | || | || | || | \setuppapersize[A5][A4,landscape] \setuparranging[2*2] \showframe \setuplayout[middle] \starttext \dorecurse{100}{\input knuth \relax

[NTG-context] Help \setuparranging

2025-04-07 Thread Alan Caruanambo
|| | || | | 12 | 9 | | 10| 11 | || | || | I have this code. How can I modify it to achieve what I want? \setuppapersize[A5][A4,landscape] \setuparranging[2UP,2SIDE] \showframe \setuplayout[middle

[NTG-context] Re: update

2025-04-01 Thread Pablo Rodriguez via ntg-context
a challenge for column sets would be the use of >> foot- and linenotes. > > they already can do footnotes Sorry, I tried and failed: \showframe\showgrid \starttext \setuppagenumbering[alternative=doublesided] \setuplayout[grid=yes] \setupwhitespace[none] \setupinde

[NTG-context] \startcolumnset ... \stopcolumnset problem report.

2025-03-15 Thread Jeong Dal via ntg-context
st example. \definecolumnset[Exams][separator=rule,n=2] \showframe \setuppagenumbering[state=stop] \starttext \startcolumnset[Exams]%[n=2,separator=rule]% %\startcolumns[separator=rule,n=2] \startitemize \item problem 1 \startitemize[n] \item First problem \item second problem \item thi

[NTG-context] Re: calculate ...

2025-03-04 Thread Thomas Meyer
th]   \starttabulate   \NC Language  \EQ \currentmainlanguage    \NC\NR   \NC Textwidth \EQ \PtToCm{\the\textwidth} \NC\NR   \stoptabulate   \samplefile{lorem} \stopsetups \showframe[text][text] \starttext \setupwithargument{averagecharwidth}{en} \setupwithargument{averagecharwidth}{nl} \set

[NTG-context] Re: calculate ...

2025-03-03 Thread Wolfgang Schuster
hown in the example. \startsetups[averagecharwidth] \page \mainlanguage[#1] \setuplayout[width=70\averagecharwidth] \starttabulate \NC Language \EQ \currentmainlanguage\NC\NR \NC Textwidth \EQ \PtToCm{\the\textwidth} \NC\NR \stoptabulate \samplefile{lorem} \stopsetups \showframe[text][t

[NTG-context] \currentlistentrynumber and \currentlistlocation

2025-03-01 Thread Pablo Rodriguez via ntg-context
Dear list, I’m struggling with an alternative list setup: \showframe \setupinteraction [state=start, style=, focus=standard] \enabledirectives[references.border=red] \definelistalternative [pmcols] [renderingsetup=pmcol] \startsetups [pmcol] \ifnum

[NTG-context] Re: margn text on makeup page -- how?

2025-02-27 Thread Rik Kabel
label placed in that margin. Updated example:     *\definelabel[Test]     [text=,alternative=inright,headcolor=red,before=,after=]     \showframe     \starttext     \startmakeup     \Test[]This is makeup page     \stopmakeup     \Test[]This is not a makeup page     \stoptext* Below is

[NTG-context] Re: margn text on makeup page -- how?

2025-02-27 Thread Wolfgang Schuster
: *\definelabel[Test] [text=,alternative=inright,headcolor=red,before=,after=] \showframe \starttext \startmakeup \Test[]This is makeup page \stopmakeup \Test[]This is not a makeup page \stoptext* Below is simplified example, the problem is: 1. The makeup

[NTG-context] \setuplist[chapter][alternative=d] inside margins

2025-02-26 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \starttext \showframe %\setuppapersize[A5] \setupinteraction [state=start, color=,] \enabledirectives[references.border=darkgreen] \definestructureconversionset[rom][n,R] \protected\def\doPageNumber#1% {#1\narrownobreakspace

[NTG-context] Re: margn text on makeup page -- how?

2025-02-26 Thread Rik Kabel
=inright,headcolor=red,before=,after=] \showframe \starttext \startmakeup \Test[]This is makeup page \stopmakeup \Test[]This is not a makeup page \stoptext* -- Rik ___ If your question is of interest

[NTG-context] margn text on makeup page -- how?

2025-02-26 Thread Rik Kabel
][width=208mm,height=222mm] \setuppapersize[A8][sheet] \setuppaper[nx=4,ny=3] \setuparranging[XY] \setupbodyfont[9pt] \setupalign[tolerant] \showframe \setuppagenumbering[alternative=doublesided, page=,] \setupmakeup[pagestate=start] \definemakeup[custom][align=middle

[NTG-context] Re: The formula after the text

2025-02-17 Thread Wolfgang Schuster
.  What is the right way now? Add \showframe at start of your document to see how much space is at both sides of the formula, when I do this with your document (after adding the missing "}") the space on both sides is the same.

[NTG-context] Re: parallel texts with columnsets

2025-02-07 Thread Hans Hagen via ntg-context
gma-pod.nl -\showframe \showgrid % \enabletrackers[columnsets.*] \setuplayout [grid=yes, lines=40] \setupwhitespace [none] \definecolumnset [parallel] [n=1, align={lesswidows,lessclubs,lessbroken,lessorphans}] \definesubcolumnset[parallel][L][1] \definesubcolumnset[para

[NTG-context] Re: parallel texts with columnsets

2025-02-07 Thread Hans Hagen via ntg-context
c two text streams, as in the following minimal sample: \showframe\showgrid \setuplayout [grid=yes] \setupwhitespace [none] \definecolumnset [paral] [n=1] we don't deal with pages yet, just column

[NTG-context] Re: parallel texts with columnsets

2025-02-07 Thread Hans Hagen via ntg-context
c two text streams, as in the following minimal sample: \showframe\showgrid \setuplayout [grid=yes] \setupwhitespace [none] \definecolumnset [paral] [n=1] \definesubcolumnset[paral][1][1] \definesubcolumnset[paral][2][2] \setuppagenumbering [alternative=d

[NTG-context] parallel texts with columnsets

2025-02-07 Thread Pablo Rodriguez via ntg-context
Dear list, some days ago, I discovered "m-bibles.mkxl". Unless I miss something, I think this may be a way to have parallel texts (such as original text and translation) in facing pages. I would like to be able to sync two text streams, as in the following minimal sample: \showfram

[NTG-context] Re: [ page setup ]

2025-01-26 Thread garulfo
etext %===== \showframe \showgrid \starttext \dorecurse{13}{\getshapetext} \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! mai

[NTG-context] Re: [ page setup ]

2025-01-26 Thread garulfo
el}\endgraf \input knuth\endgraf} {\bf This is the end}. \stopshapetext %= \showframe \showgrid \starttext \dorecurse{13}{\getshapetext} \stoptext % --->8 ___ If yo

[NTG-context] Re: page number in margin

2025-01-24 Thread Mikael Sundqvist
> Maybe something like this: \showframe \setuplayout [backspace=3cm, leftmargin=1cm, rightmargin=2cm, width=fit] \setuppagenumbering [alternative=doublesided] \setupheadertexts[] \setuptexttexts [margin] [] [\unframed[align=middle,width=\outermarginwidth]{\pagenumber}] [\

[NTG-context] Re: [ page setup ]

2025-01-19 Thread Mikael Sundqvist
definelayout[one][width=98.8mm] > \definelayout[two][width=158.2mm] > \definelayout[1,2,5,6][one] > \definelayout[3,4,7,8][two] > > > \starttext > \showframe > \dorecurse{30}{\input knuth} > \stoptext > > --->8 > > _

[NTG-context] Re: [ page setup ]

2025-01-19 Thread vm via ntg-context
two][width=158.2mm] \definelayout[1,2,5,6][one] \definelayout[3,4,7,8][two] \starttext \showframe \dorecurse{30}{\input knuth} \stoptext --->8 ___ If your question is of interest to others as well, please add an entry

[NTG-context] Vertical space between section and subsection.

2024-12-17 Thread Jeong Dal via ntg-context
idth-1em\relax\begstrut#2 \endstrut}}} \setuphead[section][command=\SectionCommand,numbercolor=, style=\ss\bf] \setuphead[subsection][command=,style=\ss\bf]% \stopbuffer \getbuffer[styleOutline] \showframe \starttext \startcolumns \section{First} \subsection{firstsub} \dorecurse{3}{

[NTG-context] Re: [ imposition schemas ]

2024-11-24 Thread Bruce Horrocks
uals \setupbodyfont[ss,14pt] \setuplayout [margin=0pt, width=fit, header=2.8ex, footer=2.8ex] \setupalign[middle,hilo] \setuppagenumbering [alternative=doublesided,location=footer] \setupheadertexts[\CONTEXT\ imposition test] %\showframe \setupbackgrounds [text][text][background=color,backgr

[NTG-context] Re: Position of overflowing TABLE after split

2024-11-20 Thread Niklas von Hirschfeld
ame amount on both sides. You can see this on live.contextgarden.net with the following example: ``` \showframe \startplacetable[align=left,location={split},title={test}] \bTABLE[option=stretch,split=yes,textwidth=\dimexpr\textwidth+\rightmarginwidth+\rightmargindistance\relax] \dorecurse{100}{

[NTG-context] Expected behaviour of \definelayout

2024-11-05 Thread louis . ad
> header=0mm, > footer=0mm, > height=250mm, > ] > > \starttext > \showframe > \dorecurse{10}{\input knuth } > \stoptext which I compile with `context example.tex` (ConTeXt Process Management 1.06, current version: 2024.02.27 09:18, obtained via TeXLive 2024).

[NTG-context] Re: Zigzag left margin with italics

2024-11-04 Thread Wolfgang Schuster
e solution is to use \shapecorrection which moves the slanted glyphs closer the margins of the text block. begin example \setuppapersize[A5] \startbuffer H\crlf {\it T} \blank H\crlf {\shapecorrection[both]\it T} \stopbuffer \showframe \starttext \subject{Latin Modern} \getbuffer \set

[NTG-context] Re: (ConTeXt LMTX 2024, monospace font) Why does monospaced text go out of the margin for me? is this supposed to happen?

2024-09-14 Thread Wolfgang Schuster
s between words can be quite large. begin example \showframe \setupbodyfont[tt] \starttext \samplefile{zapf} \blank \start \setuptolerance[space] \samplefile{zapf} \par \stop \stoptext end example Wolfgang ___

[NTG-context] Re: Indentation in headings

2024-09-14 Thread Wolfgang Schuster
\setupindenting [yes, 2.5em, first] \setuphead [section] [ align=flushleft, beforehead={\startnarrow[left=\parindent][left]}, afterhead=\stopnarrow, aligntitle=yes, indentnext=yes, ] \showframe \startdocument \startsection[title=Very long section title that makes you

[NTG-context] Indentation in headings

2024-09-14 Thread Kirill Davidov
troublesome if the title is long enough. Example code to tinker with: \setupindenting[yes, 2.5em, first] \setuphead[section][     style=\bf,     align=flushleft,     distance=1em,     indentnext=yes, ] \showframe \startdocument \startsection[title=Foo] \input dijkstra \stopsection \startsection

[NTG-context] your favourite ConTeXt debugging tools

2024-09-12 Thread Henning Hraban Ramm
\showmakeup: values of many details, e.g. distances and kerning \showgrid: line grid for grid mode \showframe: all frames \showboxes: draw frames around a few areas \showsetups: list of variables \showbodyfont: variants of tha active font family \showbodyfontenvironment: values of relative sizes

[NTG-context] Inmargin labels fail to be placed on makeup pages

2024-09-11 Thread Rik Kabel
Hello all, As the subject says, labels (\definelabel) with alternative=inmargin are not placed on makeup pages. (Left and right placement works.) The following example demonstrates this. (ConTeXt  ver: 2024.08.16 15:49 LMTX  fmt: 2024.8.16  int: english/english) \showframe

[NTG-context] Re: Probably a very simple question, but how do I get a page number to be centered, at the bottom and vertically in the middle whilst having my doc margins?

2024-08-19 Thread Pablo Rodriguez via ntg-context
n from the text body, not from the bottom margin. I mean, when you set up topspace and height to mmiddle, bottomspace will have the same value as topspace. Here you have a stupid sample: \showframe\showgrid \setuppapersize [letter] \setuplayout[ backspace=0.5in, top

[NTG-context] Re: Probably a very simple question, but how do I get a page number to be centered, at the bottom and vertically in the middle whilst having my doc margins?

2024-08-19 Thread Felix
margin setting, ``` \setuppapersize [letter] [letter] \setuplayout[ backspace=0.5in, topspace=0.5in, header=0in, % No headers footer=.5in, % Space for the footer width=middle, height=middle, ] \setuppagenumbering [location=footer] \showframe

[NTG-context] Re: Probably a very simple question, but how do I get a page number to be centered, at the bottom and vertically in the middle whilst having my doc margins?

2024-08-18 Thread Mikael Sundqvist
Hi, I am not sure I understand what you want, but if you change footer=0in to footer=.5in and then add \setuppagenumbering [location=footer] you will get pagenumbers in the footer. If you need to tweak your layout more, it might be helpful to add \showframe to get a hint on how the page is

[NTG-context] Re: Complete novice, why does it seem that LuaLaTeX (Compiled via LaTeX Workshop with MikTeX and added packages on Windows) will generate a more compact result than ConTeXt?

2024-08-13 Thread Hans Hagen via ntg-context
running the LMTX version? (luametatex engine) \showframe \setuppapersize [letter] [letter] \setuplayout[ backspace=0.5in, topspace=0.5in, header=0in, % No headers footer=0in, % Space for the footer width=middle, height=middle, ] \setupbodyfont[termes,12pt] \mainlanguage[

[NTG-context] placement of float captions in margin

2024-08-01 Thread Henning Hraban Ramm
always that of the left margin, i.e. too small on left pages. I didn’t find a combination of options that completely works. Hraban \showframe \usemodule[visual] \useMPlibrary[dum] \setuplayout[ backspace=40mm, rightmargin=20mm, leftmargin=30mm, width=fit, height=fit

[NTG-context] Re: Arranging bullets within tabulate and itemize

2024-06-19 Thread Wolfgang Schuster
this? You have to set the width for the item symbol/counter to 0pt to get rid of the space before the table. begin example \showframe[text][text] \starttext \startitemize \starttabulate[|||] \NI First item \NC\NR \NI Second item \NC\NR \stoptabulate \stopitemize \startitemize[width=0pt

[NTG-context] Re: How to disable hyphenation at the end of a line?

2024-05-20 Thread Wolfgang Schuster
to move punctuation marks slightly into the margin area to have a better alignment of the text alone. begin example \setupwhitespace[big] \showframe[text][text] \definefontfeature[default][default][expansion=quality,protrusion=quality] \starttext \type{alignment: default} \sample

[NTG-context] Re: build_parshape and \getshapetext - need for a deeper understanding

2024-05-19 Thread Hans Hagen via ntg-context
uot;)) ; fill SavedShape withcolor red; setbounds currentpicture to OverlayBox; \stopuseMPgraphic \showframe \defineoverlay[myoverlay][\useMPgraphic{shape:2}] \setupbackgrounds[text][text][background=myoverlay] \startsection[title={test}] \startshapedparagraph[mp=shape:1]% \setupalign[veryt

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

2024-05-17 Thread Pablo Rodriguez via ntg-context
t work, but > being a bit surprised by the margins I printed a copy of the page > and still worse... Hi Miguel, this should work (also in the sense of a minimal sample): \showframe\showgrid \defineframedtext[FunnyText] [frame=on, align=flushright,location=right] \def\FrameTi

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

2024-05-17 Thread madiazm . eoicc
I finally found showframe (so difficult to remember things...) to see and indeed the first frame is ignoring the margin-distance (apart from the issues of printed margins in paper, that I should persue too... page with frames: https://drive.google.com/file/d/1684nQRH_Cgm2P_5dW1JbODJjdscrj3tB

[NTG-context] Re: what are the interaction between \showframe and \realpageno in \startuseMPgraphic ?

2024-04-24 Thread Wolfgang Schuster
garu...@azules.eu schrieb am 20.04.2024 um 23:00: I can not figure out why this progress bar only works when \showframe is activated. When you comment on \showframe, it's as if \realpageno is at zero. (current version: 2024.04.01 08:59) \showframe \startuseMPgraphic{MonGraphis

[NTG-context] what are the interaction between \showframe and \realpageno in \startuseMPgraphic ?

2024-04-20 Thread garulfo
I can not figure out why this progress bar only works when \showframe is activated. When you comment on \showframe, it's as if \realpageno is at zero. (current version: 2024.04.01 08:59) \showframe \startuseMPgraphic{MonGraphisme_MP} numeric n ; n := \number\realpageno ; numeric

[NTG-context] Re: Weird (?) float placement for specific widths of image

2024-04-19 Thread Pablo Rodriguez via ntg-context
e I cannot just adjust > slightly adjust the dimensions to get rid of that. It seems that you can place the figures somehow (https://www.pragma-ade.nl/general/qrcs/setup-en.pdf#page=169): See the extreme example: \showframe\showgrid\showstruts \setupexternalfigures [location={lo

[NTG-context] Re: minwidth not working ?

2024-04-19 Thread Pablo Rodriguez via ntg-context
On 4/19/24 17:51, Denis Maier via ntg-context wrote: > Hi again, > > another follow up. Can anyone confirm this issue? Is there a way to set > the minimal width of graphics? Hi Denis, maximum widht or height work fine, but their minimum counterparts seem not to be working at all:

[NTG-context] New example with both sides margin

2024-03-27 Thread Ursula Hermann
Dear Pablo, Here is my example: \setuppapersize[A4] \setupbodyfont[termes, 12.50pt] \setuplayout[backspace=2.9cm, width=fit] \ininnermargin{\blackrule[color=black, height=0.10ex, width=1cm]\\{3.2.2}} \dontleavehmode \blackrule[color=black, height=0.10ex, width=13.50cm] \showframe

[NTG-context] Re: Headertext

2024-03-27 Thread Henning Hraban Ramm
Am 26.03.24 um 17:12 schrieb Wolfgang Schuster: begin example \showframe \definetext   [chapterheader] % identifier   [header]    % vertical position (header/footer) % [text]  % horizontal position (text/margin)   [This is a custom header for \tex{chapter}] % content

[NTG-context] Re: Headertext

2024-03-27 Thread Thomas Meyer
der=empty" in the following example. begin example \showframe \starttext \setuphead[chapter][header=high] \chapter{Lorem Ipsum} \dorecurse{10}{\samplefile{lorem}} \setuphead[chapter][header=empty] \chapter{Lorem Ipsum} \dorecurse{10}{\samplefile{lorem}} \stoptext end example

[NTG-context] Re: Headertext

2024-03-26 Thread Wolfgang Schuster
, how? When you use "header=high" you can't have a header because the block for it no longer exists, compare the results for "header=high" and "header=empty" in the following example. begin example \showframe \starttext \setuphead[chapter][header=high]

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

2024-03-22 Thread Ursula Hermann
,width=4cm] \inrightmargin{\blackrule\\{3.2.2}}\par \dontleavehmode \blackrule \showframe \starttext Me \stoptext Von: Pablo Rodriguez via ntg-context Gesendet: Freitag, 15. März 2024 20:00:35 An: ntg-context@ntg.nl Cc: Pablo Rodriguez Betreff: [NTG-context] Re

[NTG-context] command line arguments

2024-03-19 Thread Hraban Ramm
d,location=footer] \setupheadertexts[\CONTEXT\ imposition test] \showframe \setupbackgrounds [text][text][background=color,backgroundcolor=lightgray] % Where the block of pages is placed on the sheet % (relevant if there is space left over.) \setuplayout [location=middle,marking=on] \startbuffe

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

2024-03-15 Thread Pablo Rodriguez via ntg-context
On 3/15/24 14:06, Ursula Hermann wrote: > Dear List,  Dear Ursula, this might help you (it isn’t perfect, but you just seem to copy and paste fragments from your source files): %\showframe\showstruts \mainlanguage[de-at] \setuppagenumbering[alternative=doublesided] \definemargind

[NTG-context] Re: Japanese

2024-03-02 Thread Wolfgang Schuster
\bodyfontsize, lines=26, footer=\bodyfontsize, footerdistance=\bodyfontsize] \definehighlight [sesamedot] %\showframe %\showgrid %\showboxes %\showmakeup % [glyph,fontkern] \starttext \starttitle [title={ごん狐}] [author={新美南吉},source={https://www.aozora.gr.jp/cards/000121/files/628_14895.html

[NTG-context] Wiki page : Mixed languages sample (French, Ancient Greek, Arabic, Chinese)

2024-03-01 Thread Jean-Pierre Delange
ngzi et en chinois classique et simplifié : 莊周/庄周). Si l'on ajoute à cela une référence au philosophe arabo-persan Farabi\footnote{Al-Fārābī est nommé dans la philosophie arabe médiévale {\em le second maître}, le premier étant Aristote.} (Al-Fārābī, محمد فارابی), par le biais

[NTG-context] Re: Text in Margin

2024-02-19 Thread Wolfgang Schuster
/limitations. What is the the easiest way to achieve this? begin example \setuppagenumbering [alternative=doublesided] \setuplayout [width=10cm, rightmargin=6cm] \showframe \def\FloatTableALignment {\dowithnextbox {\ifdim\nextboxwd>\textwidth \doalignedline{in

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

2024-01-12 Thread Marco Patzer
[page] \setuppagenumbering [state=stop] \setupmakeup [standard] [align=middle] \setupblank [2*line] \showframe \starttext \dorecurse{12}{%% \startstandardmakeup Text \blank {\tfd\recurselevel} \blank Text \stopstandardmakeup \page} \stoptext That'

[NTG-context] Width of captions and notes in outer margin not correct on even pages

2024-01-09 Thread Milan cel Mare via ntg-context
ow}, width=\outermarginwidth, headcolor=red, color=green, style={\tfx\setupinterlinespace}, align=width] \setupexternalfigures[location=default] \setupmargindata[style={\tfx}, stack=yes] \setupmargindata[inouter][color=orange] \setupmargindata[ininner][color=blue] \showframe \starttext \section{Margin Tes

[NTG-context] Re: margin bigger than backspace pushes it outside the edge

2023-12-10 Thread Jigé via ntg-context
Thanks Wolfgang. Is this expected behavior? I'm very much confused with my second example: \setuppapersize[A5][A4] %\setuplayout[location=middle] \setuplayout[location=middle,width=middle] %\setuplayout[location=middle,width=middle,backspace=2.5cm] \usemodule[ipsum] \starttext \showframe

[NTG-context] margin bigger than backspace pushes it outside the edge

2023-12-10 Thread Jigé via ntg-context
ooter=0mm,     height=250mm] \starttext \showlayout \stoptext Another example: \setuppapersize[A5][A4] \setuplayout[location=middle] \usemodule[ipsum] \starttext \showframe \ipsum \stoptext Thanks, Jean-Guillaume mise_en_page-layout.pdf Description: Adobe PDF doc

[NTG-context] Re: marginwidths

2023-12-03 Thread Wolfgang Schuster
add width=fit, such as in: \setuplayout[width=fit, leftmargin=6cm,rightmargin=10cm] \showframe \starttext \ConTeXt\space\contextversion\blank before the \type{\starttext}:\crlf \type{\setuplayout[leftmargin=6cm,rightmargin=10cm]}\crlf make no difference in displayed frame

[NTG-context] Re: marginwidths

2023-12-03 Thread Pablo Rodriguez via ntg-context
width=fit, leftmargin=6cm,rightmargin=10cm] \showframe \starttext \ConTeXt\space\contextversion\blank before the \type{\starttext}:\crlf \type{\setuplayout[leftmargin=6cm,rightmargin=10cm]}\crlf make no difference in displayed frame \showlayout \stoptext I wonder whether I might be missing

[NTG-context] Re: marginwidths

2023-11-22 Thread Wolfgang Schuster
what is left][rightmargin 60mm] this should leave 210-40-60=110mm in the middle, but doesn't. The textwidth is narrowed but the margins refuse to obey their setting. yours sincerely dr. Hans van der Meer \setuppapersize[A4][A4] \setuplayout[leftmargin=40mm,rightmargin=60mm,textwidth=110mm] \show

[NTG-context] Re: marginwidths

2023-11-22 Thread Hans van der Meer via ntg-context
middle, but doesn't.The textwidth is narrowed but the margins refuse to obey their setting. yours sincerelydr. Hans van der Meer\setuppapersize[A4][A4]\setuplayout[leftmargin=40mm,rightmargin=60mm,textwidth=110mm]\showframe\starttextsetuplayout: leftmargin=40mm, rightmargin=60mm, textwidth=

[NTG-context] Re: learning about the grid

2023-11-19 Thread Pablo Rodriguez via ntg-context
On 11/19/23 13:27, Miguel Diaz wrote: > [...] Hi Miguel, I don’t use the grid. This is also the default in ConTeXt. I’m not sure whether I’m getting your point here. See what the difference between not enabling the grid and enabling it: \showframe\showgrid \setupwhitespace[med

[NTG-context] Re: protrusion in framed

2023-10-20 Thread Csikos Bela
Csikos Bela schrieb am 20.10.2023 um 14:53: > Hello: > > Protrusioin doesn't work in framed environment. > > This is a short code: > > \definefontfeature[default][default][expansion=quality,protrusion=quality] > > \setupalign[hz,hanging] > > \sho

[NTG-context] Re: protrusion in framed

2023-10-20 Thread Csikos Bela
I forgot to attach the pdf. Eredeti levél Hello:Protrusioin doesn't work in framed environment.This is a short code:\definefontfeature[default][default][expansion=quality,protrusion=quality]\setupalign[hz,hanging]\showframe\starttext\input tufte\blank\framed[frame=off,loc

[NTG-context] Re: protrusion in framed

2023-10-20 Thread Wolfgang Schuster
Csikos Bela schrieb am 20.10.2023 um 14:53: Hello: Protrusioin doesn't work in framed environment. This is a short code: \definefontfeature[default][default][expansion=quality,protrusion=quality] \setupalign[hz,hanging] \showframe \starttext \input tufte \blank \framed[fram

[NTG-context] protrusion in framed

2023-10-20 Thread Csikos Bela
Hello:Protrusioin doesn't work in framed environment.This is a short code:\definefontfeature[default][default][expansion=quality,protrusion=quality]\setupalign[hz,hanging]\showframe\starttext\input tufte\blank\framed[frame=off,location=top,align=normal,offset=0pt]{\input tufte }\

[NTG-context] Re: numbered itemize list item label alignment

2023-10-19 Thread Csikos Bela
tried the below code but the 3 digit labels' left sides go into the left > > margin. How can I fix it? > > > > Code: > > > > \showframe > > \starttext > > \startitemize[n,broad][itemalign=flushright] > > \dorecurse{250}{\item } > > \sto

[NTG-context] Re: numbered itemize list item label alignment

2023-10-15 Thread Aditya Mahajan
right and the widest > > label's left side located at the left margin. > > I tried the below code but the 3 digit labels' left sides go into the left > > margin. How can I fix it? > > > > Code: > > > > \showframe > > \starttext > &

[NTG-context] Re: numbered itemize list item label alignment

2023-10-15 Thread Wolfgang Schuster
e but the 3 digit labels' left sides go into the left margin. How can I fix it? Code: \showframe \starttext \startitemize[n,broad][itemalign=flushright] \dorecurse{250}{\item } \stopitemize \stoptext You can use the width-key to set a value for the number, below is a example for

[NTG-context] Re: numbered itemize list item label alignment

2023-10-15 Thread Pablo Rodriguez
I tried the below code but the 3 digit labels' left sides go into the > left margin. How can I fix it? Hi Csikos, width is the key, such as in: \showframe\showgrid\showstruts \starttext \startitemize[n,broad][width=.125tw, itemalign=flushright] \dorecurse{250}{\item } \s

[NTG-context] numbered itemize list item label alignment

2023-10-15 Thread Csikos Bela
o the left margin. How can I fix it?Code:\showframe\starttext\startitemize[n,broad][itemalign=flushright]\dorecurse{250}{\item }\stopitemize\stoptextThe resulted pdf is attached as context-itemize-label-alignment.pdf.Thank you in advance,bcsikos context-itemize-label-alignment.pdf Description:

[NTG-context] Bug? Text following columns at end of page goes into footer not next page

2023-09-30 Thread Bruce Horrocks
Two column text that ends near the foot of a page can push the next line into the footer rather than starting a new page. MWE for ConTeXt ver: 2023.09.26 18:19 LMTX :- \setuppapersize [A4] \showframe \starttext Knuth in knolumns \dorecurse{30}{\crlf} \startcolumns \input knuth \stopcolumns

[NTG-context] Re: item list inside a blockquote

2023-09-26 Thread Wolfgang Schuster
: \showframe\showgrid\showstruts \setuppapersize[A6] \setupitemgroup [itemize][1] [ before={\blank[quarterline]}, after={\blank[quarterline]\null}] \starttext one \startblockquote \startitemize \item a

[NTG-context] Re: item list inside a blockquote

2023-09-26 Thread Pablo Rodriguez
On 9/26/23 12:52, gerard.degreve wrote: > Hello Pablo, > > Just try to do this : >> \setupitemgroup >> [itemize][1] >> [ before={\blank[.125th]}, >> after={\blank[.125th]}\strut] Hi Gerard, this also works with \null, but not well with small dimensions:

[NTG-context] \dontleavethemode

2023-09-12 Thread Ursula Hermann
mono' in box pack quality> underfull hbox at line 7 in file './pablo.tex': (badness 1490) pack quality> underfull hbox at line 7 in file './pablo.tex': Me (badness 1448) tex error > tex error on line 7 in file ./pablo.tex: Undefined control seque

[NTG-context] (no subject)

2023-09-04 Thread Ursula Hermann
Dear List, After compiling the following example, which is from February 2021: \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \showframe \starttext \margintext{\hairline\\{Me

[NTG-context] Re: Different Layout for First Page

2023-09-04 Thread Wolfgang Schuster
that both values are reset on the following page and with \startsectionblockenvironment you can make this layout change in the style file of your document. \startsectionblockenvironment[frontpart] \setupheader[state=high] \setupfooter[state=high] \stopsectionblockenvironment \showframe \starttext

[NTG-context] After compiling

2023-09-04 Thread Ursula Hermann
hich is from February 2021: \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \showframe \starttext \margintext{\hairline\\{Me}}\dontleavehmode\hairline \startformula a^n + b^n = c^n. \stopformula

[NTG-context] Re:

2023-09-04 Thread Ursula Hermann
tuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \showframe \starttext \margintext{\hairline\\{Me}}\dontleavehmode\hairline \startformula a^n + b^n = c^n. \stopformula \stoptext I get: Command Line

[NTG-context] side-by-side paragraphs broken?

2023-08-13 Thread Thomas A. Schmitz
this has been reported yet. All best Thomas \setuppapersize[A4,landscape] \setuplayout[height=fit, width=middle, header=0cm, footer=0cm, leftmargin=2cm, topspace=1.2cm, backspace=1.5cm] \showframe

[NTG-context] caption for moved sidefloat in the margin

2023-07-30 Thread Henning Hraban Ramm
tmargindistance=-\rightmargintotal, default={inner,none,low,high}, ] \setupcaption[marginfigure][ style={\ss\tfx}, align={flushleft}, width=\leftmarginwidth, %location={innermargin,low}, ] \starttext \showframe \startplacemarginfigure[ location={inner,3*hang}, title={My caption should b

[NTG-context] Re: Par Builder Tests

2023-07-28 Thread Keith McKay
-context wrote: Hi Keith, Here an example that Mikael made for such a book: \showframe % let's very strict \startsetups [*default]     \directsetup{*reset}     \frozen\widowpenalty    1     \frozen\clubpenalty 1     \frozen\displaywidowpenalty 1     \frozen\broke

[NTG-context] Re: Par Builder Tests

2023-07-21 Thread Keith McKay
Thanks Hans! I'll have a play and keep an eye on updates Best Wishes Keith On 21/07/2023 17:10, Hans Hagen via ntg-context wrote: Hi Keith, Here an example that Mikael made for such a book: \showframe % let's very strict \startsetups [*default]     \directsetup{*reset}  

[NTG-context] Re: Par Builder Tests

2023-07-21 Thread Hans Hagen via ntg-context
Hi Keith, Here an example that Mikael made for such a book: \showframe % let's very strict \startsetups [*default] \directsetup{*reset} \frozen\widowpenalty1 \frozen\clubpenalty 1 \frozen\displaywidowpenalty 1 \frozen\brokenpenalty

[NTG-context] Re: new upload

2023-07-10 Thread Hans Hagen
27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - vz.pdf Description: Adobe PDF document \starttext \startbuffer[vz-1] \starttext \showframe[text] \enabletrackers

[NTG-context] error in column sets

2023-06-19 Thread Henning Hraban Ramm via ntg-context
same as in the manual) shows that some column set spans don’t appear: \showgrid\showframe \definecolumnset[Beispiel][n=3] \definecolumnsetspan[Zwei][n=2,color=blue] \definecolumnsetspan[Drei][n=3,color=red] \starttext \startcolumnset[Beispiel] \startcolumnsetspan[Drei]% this works {\bfd

Re: [NTG-context] text under page floats

2023-05-24 Thread Henning Hraban Ramm via ntg-context
I found a MWE that shows the problem: """ \setuppapersize[C5] \showframe \starttext \startplacefigure[location=page,title={Pagefloat}] \framed[width=\textwidth,height=.75\textheight]{TEST} \stopplacefigure \dorecurse{4}{\section{Tufte \recurselevel} \samplefile{tufte}} \s

[NTG-context] Userdata environment

2023-04-03 Thread Fabrice Couvreur via ntg-context
, align={flushleft,broad} ] {\startexemple \getinlineuserdata \stopexemple} \stopsetups \showframe \starttext \startchapter[title={First Chapter},ownnumber=1] \startdefinition \input ward \stopdefinition \startuserdata [margintext] \input ward \stopuserdata

  1   2   3   4   5   6   7   8   9   10   >