[NTG-context] Re: start/stopregister

2024-04-26 Thread Hans Hagen
On 4/26/2024 9:54 AM, Thomas A. Schmitz wrote: On 4/26/24 9:30 AM, Thomas A. Schmitz wrote: And here I am again! Both in mkiv and in mkxl, start/stopregister does not work when there is already an index entry before. Example below! All best Thomas \setuppapersize [A6] \starttext

[NTG-context] Re: start/stopregister

2024-04-26 Thread Thomas A. Schmitz
On 4/26/24 9:30 AM, Thomas A. Schmitz wrote: And here I am again! Both in mkiv and in mkxl, start/stopregister does not work when there is already an index entry before. Example below! All best Thomas \setuppapersize [A6] \starttext     A\index{A} B \page     A\startregister [index] {A} B

[NTG-context] Re: start/stopregister

2024-04-26 Thread Thomas A. Schmitz
there is already an index entry before. Example below! All best Thomas \setuppapersize [A6] \starttext A\index{A} B \page A\startregister [index] {A} B\startregister [index] [B] {B} \dorecurse {10} {\input tufte} A\stopregister [index] {A} B\stopregister [index] [B] \page

[NTG-context] Re: start/stopregister

2024-04-25 Thread Henning Hraban Ramm
but not in mkxl. All best Thomas \setuppapersize [A6] \starttext A\index{A} B\startregister [index] [B] {B} \dorecurse {10} {\input tufte} A\index{A} B\stopregister [index] [B] \page \placeregister[index] \stoptext I’m using it like \startregister[index][bibliografie]{Bibliografie

[NTG-context] start/stopregister

2024-04-25 Thread Thomas A. Schmitz
Hi all, has \startregister been superseded in luametatex or is it not yet implemented? I tried to read strc-reg.lmt but couldn't figure out what is going on. The following silly minimal test produces the expected result with mkiv but not in mkxl. All best Thomas \setuppapersize [A6

[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: Struggling with the distance and right margin text

2024-03-22 Thread Wolfgang Schuster
Ursula Hermann schrieb am 22.03.2024 um 15:57: Dear Pablo, Many thanks for your example. Sorry for writing so late. At least I found out, how it works for me .  This is the best way. \setuppapersize[A8,landscape] \setupbodyfont[termes, 12.50pt] \setuplayout[inrightmargin=5.1cm

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

2024-03-22 Thread Ursula Hermann
Dear Pablo, Many thanks for your example. Sorry for writing so late. At least I found out, how it works for me . This is the best way. \setuppapersize[A8,landscape] \setupbodyfont[termes, 12.50pt] \setuplayout[inrightmargin=5.1cm backspace=2.9cm, inleftmargin=0cm

[NTG-context] command line arguments

2024-03-19 Thread Hraban Ramm
{numberofpages}{\getdocumentargument{numberofpages}}{16}} \setuppapersize[A9,landscape][A7,landscape] \setuparranging[\Schema] \setupbodyfont[ss,10pt] \setuplayout[margin=0pt, width=fit, header=2.8ex, footer=2.8ex] \setupalign[middle,hilo] \setuppagenumbering [alternative=doublesided,location

[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

[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: Japanese

2024-03-14 Thread Otared Kavian
of > numeric values. > > The value of paperSize is later passed on to \setuppapersize via > \setuppapersize[\directlua{tex.print(paperSize)}] > > Emanuel > On März 13 2024, at 3:55 pm, Otared Kavian wrote: > Hi Emmanuel, > > Thank you so much for the new s

[NTG-context] Re: Japanese

2024-03-14 Thread Emanuel Han via ntg-context
ric values. The value of paperSize is later passed on to \setuppapersize via \setuppapersize[\directlua{tex.print(paperSize)}] Emanuel On März 13 2024, at 3:55 pm, Otared Kavian wrote: > Hi Emmanuel, > > Thank you so much for the new setup for writing Japanese: I tested with both &

[NTG-context] Re: Japanese

2024-03-13 Thread Otared Kavian
fined « by hand » there, instead of being retrieved from the command \setuppapersize[B5] issued by the user? Actually I am using your setup for learning Japanese, and at my beginner’s level I do separate words I am learning with spaces. While with the previous version of your setup the

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

2024-03-08 Thread Otared Kavian
Mitunter. . I think it should be the topoffset, and the bottomoffset, but how > many .\bodyfontsize should I try? > Many thanks > Uschi > \mainlanguage[de] > \definepapersize[MyBook][width=19cm,height=24cm] > \setuppapersize[MyBook][MyBook] % Prints on paper the size of MyBook > %\setupp

[NTG-context] How can I do this?

2024-03-06 Thread Ursula Hermann
it should be the topoffset, and the bottomoffset, but how many .\bodyfontsize should I try? Many thanks Uschi \mainlanguage[de] \definepapersize[MyBook][width=19cm,height=24cm] \setuppapersize[MyBook][MyBook] % Prints on paper the size of MyBook %\setuppapersize[MyBook][A4] %Would print MyBook-size

[NTG-context] enhancing documentation: initials

2024-03-05 Thread Henning Hraban Ramm
; includes the mark in the initial, and it works only with a few languages, e.g. English and French, but not e.g. German or Dutch: """ \mainlanguage[de] \setuppapersize[A6] \setupinitial[n=2,color=orange,] \starttext \start \setupinitial[method=first] \placeinitial \quotation{Keine andere

[NTG-context] Re: Structuring a magazine or booklet

2024-02-29 Thread Jean-Pierre Delange
://wiki.contextgarden.net/Imposition I'll read and test it. Hi Jean-Pierre, in its simplest form, a booklet may be: \setuppapersize[A4][A3, landscape] \setuparranging[2UP] \starttext \dorecurse{28}{\section{Section}\input zapf} \stoptext I think this seems to be what you may be aiming at. Just in case

[NTG-context] Re: Structuring a magazine or booklet

2024-02-28 Thread Pablo Rodriguez via ntg-context
On 2/28/24 15:27, Jean-Pierre Delange wrote: > Sorry for the noise : I did'nt see the ConTeXt imposition schemas here : > > https://wiki.contextgarden.net/Imposition > > I'll read and test it. Hi Jean-Pierre, in its simplest form, a booklet may be: \setuppapersize[A4

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-02-27 Thread Pablo Rodriguez via ntg-context
a solution for this. I’m afraid I cannot make your sample work: \setuppapersize[A5][A4, landscape] \setuparranging[2UP] \setuppagenumbering[alternative={singlesided,doublesided}] \starttext \samplefile{lorem} \page[quadruple] page before the quadruple (must be 3, not 4) \page[yes, quadru

[NTG-context] Re: Section numbering does not work

2024-02-13 Thread Oliver Marugg
/context/base/mkxl/context.mkxl >> mtx-context | current version: 2024.01.24 22:39 >> -- >> Stripped down MWE: >> \setuppapersize[A4] [A4] >> \starttext >> \completecontent[criterium=all] >> % ToC >> \page >> \chapter{CHAP 1} >>

[NTG-context] Re: Section numbering does not work

2024-02-13 Thread Wolfgang Schuster
-context | main context file: /Applications/ConTeXtStandalone/tex/texmf-context/tex/context/base/mkxl/context.mkxl mtx-context | current version: 2024.01.24 22:39 -- Stripped down MWE: \setuppapersize[A4] [A4] \starttext \completecontent[criterium=all] % ToC \page \chapter{CHAP 1} TEXT

[NTG-context] Re: Section numbering does not work

2024-02-13 Thread Oliver Marugg
/context/base/mkiv/context.mkiv >> mtx-context | current version: 2024.01.24 22:39 >> mtx-context | main context file: >> /Applications/ConTeXtStandalone/tex/texmf-context/tex/context/base/mkxl/context.mkxl >> mtx-context | current version: 2024.01.24 2

[NTG-context] Re: Section numbering does not work

2024-02-13 Thread Taco Hoekwater
text.mkxl > mtx-context | current version: 2024.01.24 22:39 > -- > > Stripped down MWE: > > \setuppapersize[A4] [A4] > \starttext > \completecontent[criterium=all] > % ToC > \page > \chapter{CHAP 1} > TEXT > \startbackmatter >

[NTG-context] Section numbering does not work

2024-02-12 Thread Oliver Marugg
/ConTeXtStandalone/tex/texmf-context/tex/context/base/mkxl/context.mkxl mtx-context | current version: 2024.01.24 22:39 -- Stripped down MWE: \setuppapersize[A4] [A4] \starttext \completecontent[criterium=all] % ToC \page \chapter{CHAP 1} TEXT \startbackmatter \startchapter[title=Literature

[NTG-context] \framed{\externalfigure} vs \externalfigure[frame=on]

2024-01-27 Thread Jim
e result I was looking for is the second figure in this example.) Thanks. Jim %%% cut here %%%%% \setuppapersize[legal] \starttext fr[ef] with frameoffset=1cm: This preceding text ends up inside the frame. \fr

[NTG-context] Re: Looking for itemize help

2024-01-16 Thread Jim
On Tue, Jan 16, 2024 at 01:15 (+), Bruce Horrocks wrote: > On 15 Jan 2024, at 16:15, Jim wrote: >> I would like >> something which automagically "does the right thing". > Not pretty, but... :-) > \setupwhitespace [big] > \setuppapersize [letter] >

[NTG-context] Re: Looking for itemize help

2024-01-15 Thread Bruce Horrocks
On 15 Jan 2024, at 16:15, Jim wrote: > > I would like > something which automagically "does the right thing". Not pretty, but... :-) \setupwhitespace [big] \setuppapersize [letter] \define[1]\mystopitemize{\stopitemize\doifsamestringelse{#1}{\par}{\blank}{#1}} \startt

[NTG-context] Re: [External] Re: Looking for itemize help

2024-01-15 Thread Jim
ut "should", but I will point out it isn't, at least on my >> computer with a recently updated context. >> Here is a non-minimal but short non-working example. >> %%% >> \setupwhitespace [big] >> \setuppapersize [letter] >> \starttext >> This is a sh

[NTG-context] Re: [External] Re: Looking for itemize help

2024-01-15 Thread Rogers, Michael K
> >> \startitemize[packed,joinedup] should be the right combination. > > I won't argue about "should", but I will point out it isn't, at least on my > computer with a recently updated context. > > Here is a non-minimal but short non-working example. > > %

[NTG-context] Re: Looking for itemize help

2024-01-15 Thread Jim
is a non-minimal but short non-working example. %%% \setupwhitespace [big] \setuppapersize [letter] \starttext This is a short paragraph. This is a line before a {\bf packed, joinedup} itemization. \startitemize[packed,joinedup] \item First item. \item Second item. \stopitemize

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

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

2024-01-12 Thread Jeong Dal via ntg-context
that there is a better and simpler way to do it which I don’t know.I hope that someone give me a nicer way to do it.Thank you for reading.Best regards,Dalyoung\setuppapersize[A4]%[A4]\setuplayout[ width=210mm, height=297mm, topspace=0pt, backspace=0pt, header=0mm, footer=0mm, margin=0mm, bottomspace=0mm

[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
s in inner margins though). Here is an example: \setuppapersize[A4] \setuplayout[backspace=40mm, width=100mm, leftmargindistance=5mm, leftmargin=30mm, rightmargindistance=5mm, rightmargin=50mm, topspace=10mm] \setuppagenumbering[alternative=doublesided] \setupcaptions[location={outermargin, l

[NTG-context] Re: Metapost: draw only subpath; changing thickness of line

2024-01-06 Thread Emanuel Han via ntg-context
this MWE. Now I want to draw only the subpath of S between gong6 and > > gong7 with a red line which is narrower at the two ends and thicker in the > > middle part. How to achieve this? > > > > Thanks! > > Emanuel > > > > \setuppapersize[A4,landscape]

[NTG-context] Re: Metapost: draw only subpath; changing thickness of line

2024-01-05 Thread Taco Hoekwater
I have this MWE. Now I want to draw only the subpath of S between gong6 and > gong7 with a red line which is narrower at the two ends and thicker in the > middle part. How to achieve this? > > Thanks! > Emanuel > > \setuppapersize[A4,landscape] > > \starttext >

[NTG-context] Metapost: draw only subpath; changing thickness of line

2024-01-05 Thread Emanuel Han via ntg-context
Hi all, I have this MWE. Now I want to draw only the subpath of S between gong6 and gong7 with a red line which is narrower at the two ends and thicker in the middle part. How to achieve this? Thanks! Emanuel \setuppapersize[A4,landscape] \starttext \startMPcode numeric u; u=1cm; %equiangular

[NTG-context] Re: Problem with the paragraph

2023-12-18 Thread Ursula Hermann
le 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 \setupbodyfont[Times Ne

[NTG-context] Re: Problem with the paragraph

2023-12-15 Thread Bruce Horrocks
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 on A4 paper

[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] Re: margin bigger than backspace pushes it outside the edge

2023-12-10 Thread Bruce Horrocks
sided documents. The remainder of the settings will need adjusting to suit your specific circumstances. \setuppapersize[A4][A3] \setuplayout[location=middle] \setuppagenumbering[alternative=doublesided] \setuplayout[backspace=30.8mm] \starttext \showlayout[4,pt,cm] \stoptext — Bruce Horrock

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

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

2023-12-10 Thread Wolfgang Schuster
Jigé via ntg-context schrieb am 10.12.2023 um 11:30: Hi all, I've been struggling with basic page layout. The left margin extends outside the left edge of the page. Example (from the wiki): \setuppapersize[A4][A4] % this is the default and may be omitted \setuplayout[backspace=20mm

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

2023-12-10 Thread Jigé via ntg-context
Hi all, I've been struggling with basic page layout. The left margin extends outside the left edge of the page. Example (from the wiki): \setuppapersize[A4][A4] % this is the default and may be omitted \setuplayout[backspace=20mm,     width=110mm,     topspace=20mm,     header=0mm,     footer

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

[NTG-context] Re: marginwidths

2023-11-22 Thread Hans van der Meer via ntg-context
in the 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=110mm

[NTG-context] Drawing calligraphy practice grid in metafun

2023-11-20 Thread Andres Conrado Montoya
that made things very complex, and after fumbling around I managed to get this far. If you can take a look, or have some advice, it would be greatly appreciated. I hope it is understandable. My code: %% \setuppapersize[letter,landscape][letter,landscape] \setuplayout[backspace=15mm,w

[NTG-context] unwanted blank page

2023-11-19 Thread Hans van der Meer via ntg-context
sincerelydr. Hans van der Meer % test pagenumbering start-stop\setuppapersize[A5][A5]\starttext\setuppagenumbering[state=stop]\ConTeXt\space\contextversion\blankThis is page 1 without pagenumber.\crlf\page\setuppagenumbering[state=start]This should be a page with pagenumber 2.\crlfBut the pagenumber

[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

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

2023-09-26 Thread Pablo Rodriguez
\showframe\showgrid\showstruts \setuppapersize[A6] \setupitemgroup [itemize][1] [ before={\blank[quarterline]}, after={\blank[quarterline]\null}] \starttext one \startblockquote \startitemize \item a. \stopitemize \sto

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

2023-09-26 Thread gerard.degreve
gerard.degreve:  Hello Pablo, Just try to do this : \setupitemgroup [itemize][1] [ before={\blank[.125th]}, after={\blank[.125th]}\strut] Regards, Gerard Le 25-09-23 19:26:08, Pablo Rodriguez a écrit : Dear list, I have the following sample: \setuppapersize[A6] \setupitemgroup [itemize][1

[NTG-context] item list inside a blockquote

2023-09-25 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A6] \setupitemgroup [itemize][1] [ before={\blank[.125th]}, after={\blank[.125th]}] \starttext one \startblockquote \startitemize \item a \stopitemize

[NTG-context] Re: \setupitemgroup for footnotes

2023-09-25 Thread Henning Hraban Ramm
Am 25.09.23 um 17:52 schrieb Pablo Rodriguez: Dear list, I have the following sample (with current latest from 2023.09.18 21:13): \setuppapersize[A6] \starttext \startsetups[forfootnote] \setupitemgroup [itemize][1] [ before={\endgraf{\ttbf

[NTG-context] \setupitemgroup for footnotes

2023-09-25 Thread Pablo Rodriguez
Dear list, I have the following sample (with current latest from 2023.09.18 21:13): \setuppapersize[A6] \starttext \startsetups[forfootnote] \setupitemgroup [itemize][1] [ before={\endgraf{\ttbf[before]}\endgraf}, after={\endgraf

[NTG-context] page floats don’t work in columnsets

2023-09-21 Thread Henning Hraban Ramm
I had no luck with page floats in columnsets; according to the manual they should work. Hraban \setuppapersize[A5,landscape] \useMPlibrary[dum] \definecolumnset[Two][n=2] \starttext \startcolumnset[Two] \dorecurse{5}{1\recurselevel\samplefile{lorem}\par} \startplacefigure[location=page

[NTG-context] My example, with \blackrule, works perfect

2023-09-13 Thread Ursula Hermann
Dear List, I just finished my example, did some changes today and it works perfect \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \margintext{\blackrule[color=black, height=0.05ex, width=1cm

[NTG-context] Re: \dontleavethemode

2023-09-12 Thread Wolfgang Schuster
Ursula Hermann schrieb am 12.09.2023 um 11:19: Dear List, I have done an little example with a \blackrule: \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \starttext \margintext{\blackrule[color=black, height=0.05ex

[NTG-context] \dontleavethemode

2023-09-12 Thread Ursula Hermann
Dear List, I have done an little example with a \blackrule: \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \starttext \margintext{\blackrule[color=black, height=0.05ex, width=1cm]\\Me

[NTG-context] (no subject)

2023-09-05 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] After compiling

2023-09-04 Thread Ursula Hermann
bruary 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 \stoptext

[NTG-context] Re:

2023-09-04 Thread Ursula Hermann
There is no pdf to read. Uschi Hermann. Sorry, dindn't write my name in the first Mail Today. Von: Ursula Hermann Gesendet: Montag, 04. September 2023 11:44 An: 'ntg-context@ntg.nl' Betreff: Dear List, After compiling the following example, which is from February 2021: \setuppapersize[A8

[NTG-context] Re: attribute selection

2023-08-30 Thread Hans van der Meer via ntg-context
ion (page 31): > \xmlfilter{#1}{./node[@type=="cleanup"]} > It should select among the 's those with . > However, this node is not selected in the call to \xmlfilter. > Where am I wrong? > > MWE follows > > > % failure to typeset attribute selected. > \set

[NTG-context] attribute selection

2023-08-30 Thread Hans van der Meer via ntg-context
This line of code comes from the xml documentation (page 31): \xmlfilter{#1}{./node[@type=="cleanup"]} It should select among the 's those with . However, this node is not selected in the call to \xmlfilter. Where am I wrong? MWE follows % failure to typeset attribute selected. \setu

[NTG-context] Re: hyphenation inside quotation

2023-08-20 Thread Wolfgang Schuster
] \setuppapersize [A6] \setupquotation[method=text] Hi Wolfgang, as always, thanks for the precise explanation. Is there a reason why this behavior is not the default? I.e.: in what situations would the default behavior be (more) desirable? Or is it just because \setupquotation is a subset

[NTG-context] Re: hyphenation inside quotation

2023-08-19 Thread Thomas A. Schmitz
On 8/19/23 17:51, Wolfgang Schuster wrote: You can use the font method to have hyphenated words back. The culprit which prevents hyphenation are the penalty settings which are added by ConTeXt when the default method is used. \mainlanguage [de] \setuppapersize [A6] \setupquotation[method

[NTG-context] Re: hyphenation inside quotation

2023-08-19 Thread Wolfgang Schuster
hyphenated words back. The culprit which prevents hyphenation are the penalty settings which are added by ConTeXt when the default method is used. \mainlanguage [de] \setuppapersize [A6] \setupquotation[method=text] \starttext „Originalgenie“ „Originalgenie“ „Originalgenie“ \quotation

[NTG-context] hyphenation inside quotation

2023-08-19 Thread Thomas A. Schmitz
Hi, is this a limitation or a bug? Text inside \quotation{} is not hyphenated. It appears to be like this for a couple of versions, but I'm not sure if it has always been the case. Silly example to test: \mainlanguage [de] \setuppapersize [A6] \setupbodyfont [14pt] \starttext

[NTG-context] Re: breakpoints in verbatim text

2023-08-17 Thread Alex Leray
a écrit : Alex Leray schrieb am 17.08.2023 um 14:41: Hi, I'd like to break lines in verbatim on certain characters like "/". I can do it for normal texte, but not inside typing environment. Do you need the verbatim environment or is the lines-environment sufficient. \setuppa

[NTG-context] Re: breakpoints in verbatim text

2023-08-17 Thread Wolfgang Schuster
Alex Leray schrieb am 17.08.2023 um 14:41: Hi, I'd like to break lines in verbatim on certain characters like "/". I can do it for normal texte, but not inside typing environment. Do you need the verbatim environment or is the lines-environment sufficient. \setuppa

[NTG-context] breakpoints in verbatim text

2023-08-17 Thread Alex Leray
Hi, I'd like to break lines in verbatim on certain characters like "/". I can do it for normal texte, but not inside typing environment. Is there a way to achieve this? Below is my test code. Thanks, Alex * * * \setuppapersize[A7] \setbreakpoints[compound] \starttext 1. This is

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

2023-08-13 Thread Thomas A. Schmitz
if 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] Typing with text wrapping

2023-08-05 Thread Alex Leray
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] \setuppapersize[page, portrait][p

[NTG-context] Re: Par Builder Tests

2023-07-21 Thread Hans Hagen
to the 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

[NTG-context] Re: enhancing MetaPost presentation progress graphics

2023-07-19 Thread Taco Hoekwater
ostly working draft. > > * I find the waves not yet very convincing. Would it make sense to use a > randomized sinus? (How?) > > * The boat should sit on the middle wave and be rotated by the current slope. > I know I need the “time” of the upper curve and get the 1st derivation, but

[NTG-context] enhancing MetaPost presentation progress graphics

2023-07-19 Thread Henning Hraban Ramm
to use a randomized sinus? (How?) * The boat should sit on the middle wave and be rotated by the current slope. I know I need the “time” of the upper curve and get the 1st derivation, but how? """ \setuppapersize[SW] \startuseMPgraphic{Waves} numeric height,stops,yoffset; stop

[NTG-context] digitally sign fields with MuPDF-GL

2023-07-13 Thread Pablo Rodriguez
Dear list, having the following sample code: \setuppapersize[A4, landscape] \setuplayout[page] \setupinteraction[state=start] \starttext \setupfield[sl][horizontal] [frame=off, width=\textwidth, height=\textheight] \definefield[x][signature][sl] \field[x] I also attach

[NTG-context] Re: MP setup for a progress bar

2023-07-05 Thread Henning Hraban Ramm
[state=repeat]. Thank you! But \setupbackgrounds[footer][text][background=Blocks,state=repeat] doesn’t work. Does this make sense if I don’t want layers in _all_ areas to repeat? \setuppapersize[SW] \startuseMPgraphic{Blocks} fill unitsquare xysized (OverlayWidth * PageNumber / LastPageNumber

[NTG-context] Re: MP setup for a progress bar

2023-07-04 Thread Wolfgang Schuster
\setupbackgrounds[state=repeat]. \setuppapersize[SW] \startuseMPgraphic{Blocks} fill unitsquare xysized (OverlayWidth * PageNumber / LastPageNumber, OverlayHeight) withcolor blue; %setbounds currentpicture to OverlayBox; \stopuseMPgraphic \defineoverlay[Blocks][\useMPgraphic{Blocks}] \setupbackgrounds[state

[NTG-context] MP setup for a progress bar

2023-07-04 Thread Henning Hraban Ramm
\useMPgraphics would be enough to re-calculate on every page? * How can I set a background to the footer area, but page width? * I tried \overlaywidth as well as OverlayWidth in the MP graphic – how do I get the page size? """ \setuppapersize[SW] \startuseMPgraphic{Blocks} fill uni

Re: [NTG-context] error in column sets

2023-06-20 Thread Henning Hraban Ramm via ntg-context
Am 19.06.23 um 21:59 schrieb Henning Hraban Ramm via ntg-context: In a minimal example like this: \setuppapersize[A5] \definecolumnset[TwoColumns][n=2] \starttext \startcolumnset [TwoColumns]    \dorecurse{10}{\samplefile{knuth}} \stopcolumnset \stoptext … many columns start one line too

[NTG-context] error in column sets

2023-06-19 Thread Henning Hraban Ramm via ntg-context
In a minimal example like this: \setuppapersize[A5] \definecolumnset[TwoColumns][n=2] \starttext \startcolumnset [TwoColumns] \dorecurse{10}{\samplefile{knuth}} \stopcolumnset \stoptext … many columns start one line too low and overwrite their last line. An extended example (nearly

Re: [NTG-context] Page breaks with \defineparagraphs possible?

2023-06-04 Thread Wolfgang Schuster via ntg-context
{#1}\hfil\vtop{#2}} but obviously that doesn't break, so went for more ConTeXt style, but couldn't see a good mechanism. You can use the tabulate environment to create parallel paragraphs. \setuppapersize[A5] \definetabulate[bilingual][|pA{normal,verytolerant,stretch}|pA{normal,verytolerant

[NTG-context] Page breaks with \defineparagraphs possible?

2023-06-04 Thread Berend de Boer via ntg-context
for more ConTeXt style, but couldn't see a good mechanism. Example file where you can see the entire paragraphs thing is put on the next page. == \setuppapersize[A5] \defineparagraphs[bilingual][n=2,tolerance=stretch,before=,after=,distance=\0.06

[NTG-context] Commercial fonts and diacritics

2023-06-01 Thread hanneder--- via ntg-context
ist/tex/context/base/mkiv/cont-yes.mkiv' Minimal example: \enableregime[utf] \setuppapersize[A4] \definefontfeature[default][default][fakecombining=yes,compose=yes] \starttypescript [serif] [adobetextpro] \definefontsynonym[AdobeTextPro-Regular] [file:AdobeTextPro-Regular] [features=defa

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{tuf

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

2023-05-22 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_sheet] As I

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_sheet] As I

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

2023-05-21 Thread Wolfgang Schuster via ntg-context
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   [backspace=52pt

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

2023-05-21 Thread Wolfgang Schuster via ntg-context
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 Wolfgang

[NTG-context] Custom TOC with makeup and setups

2023-05-10 Thread Jethro Djan via ntg-context
welcome. My MWE: \setuppapersize[S6] \startuseMPgraphic{itemize:toc} save p; path p; p := ( (0,-0.5)--(0,0.5)--(0.866,0)--cycle ) scaled 1.5ExHeight; fill p withcolor \MPcolor{Black}; \stopuseMPgraphic \definesymbol[itemize:toc][\useMPgraphic{itemize:toc}] \definelistalternative [toclist

[NTG-context] Trial to use LibreOffice Calc (+ python) to build ConTeXt customized environnements files

2023-04-10 Thread Garulfo via ntg-context
3mm, margindistance=5mm, leftmargin=20mm, rightmargin=20mm, edgedistance=2mm, leftedge=5mm, rightedge=5mm, headerdistance=5mm, header=10mm, footerdistance=5mm, footer=10mm, topdistance=2mm, top=5mm, bottomdistance=2mm, bottom=5mm, grid=no, ]

Re: [NTG-context] bold small caps

2023-04-03 Thread Pablo Rodriguez via ntg-context
On 4/3/23 09:07, Peter Münster via ntg-context wrote: > Hi, > > I'm quite sure, that this worked some time ago with the standard font (LM): I had the same impression, Peter. But LM fonts don‘t have the OT feature smcp: \setuppapersize[A8] \starttext \doloopoverlist{lm, pagell

[NTG-context] Userdata environment

2023-04-03 Thread Fabrice Couvreur via ntg-context
below, the second example is on the second page and not next to the second definition. Thanks. Fabrice \ useMPlibrary[dum] \setuppapersize[A4] \mainlanguage [fr] \setuppagenumbering [alternative=doublesided

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-17 Thread Keith McKay via ntg-context
. The Joy of ConTeXt! Thanks again Wolfgang and Alan. Best Wishes Keith McKay Here is the code showing the three solutions which others may find useful. \setuppapersize[A4,portrait]%[A4,portrait] \setuplayout [backspace=2.5cm, topspace=1cm, height=28cm, width=17cm, header=0cm, footer=0.75cm

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-16 Thread Keith McKay via ntg-context
f the layer. I have looked at the > > > Wiki page on image size of combinations but still cant figure out > > > how to do it. Any suggestions on how to go about this or is their a > > > better way? > > > > > > Wiki Page reference: > > > https://wiki

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-16 Thread Alan Braslau via ntg-context
; > > Wiki Page reference: > > https://wiki.contextgarden.net/Combinations#Image_Width > > > > Thanks > > > > Keith McKay > > > > %%% example %%% > > > > \setuppapersize[A4,portrait]%[A4,portrait] > > > > \setuplayout > >

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-16 Thread Wolfgang Schuster via ntg-context
figure out how to do it. Any suggestions on how to go about this or is their a better way? Wiki Page reference: https://wiki.contextgarden.net/Combinations#Image_Width Thanks Keith McKay %%% example %%% \setuppapersize[A4,portrait]%[A4,portrait] \setuplayout [backspace=2.5cm, topspace=1cm

  1   2   3   4   5   6   7   8   9   10   >