[NTG-context] XML processing, unwanted indentation/alignment

2024-02-15 Thread Michael Guravage
dth, align={flushleft,broad,nothyphenated}] \setupinteraction[state=start, color=darkblue] \starttext \xmlprocessfile{list}{mwe.xml}{} \stoptext % finis mwe.pdf Description: Adobe PD

[NTG-context] Re: Setuphead issue!

2024-01-09 Thread Henning Hraban Ramm
Am 09.01.24 um 14:43 schrieb G.C.H.M. Verhaag via ntg-context: Hi, The example below works as expected, but within my product it doesn't. % Subject example before and after! \setuphead[subject][color=limegreen,before={\blank[none]},after={\blank[none]},align={flushleft,nothyphenated,tolerant

[NTG-context] Re: Setuphead issue!

2024-01-09 Thread Mikael Sundqvist
ne]},align={flushleft,nothyphenated,tolerant}] > > \starttext > A paragraph before calling the subject. > > \subject{\sc The subject} > > A paragrapf after the subject was called. > \stoptext > > I use the \subject command within a columnset, could that be the probl

[NTG-context] Re: Setuphead issue!

2024-01-09 Thread G.C.H.M. Verhaag via ntg-context
Hi, The example below works as expected, but within my product it doesn't. % Subject example before and after! \setuphead[subject][color=limegreen,before={\blank[none]},after={\blank[none]},align={flushleft,nothyphenated,tolerant}] \starttext A paragraph before calling the subject. \subject

[NTG-context] Re: Inline mathematics is stretched

2023-10-30 Thread Hans Hagen via ntg-context
On 10/30/2023 8:05 AM, Mia Bikey wrote: Yes well of course no issue arises if I just change the whole font. But I wanted to keep using the mono font thus reporting issues with it. In that case you have to go for flushleft \setupalign[verytolerant,nothyphenated,flushleft] because otherwise tex

[NTG-context] Inline mathematics is stretched

2023-10-29 Thread Mia Bikey
to circumstances. \\ \setupalign[verytolerant, nothyphenated] It looks even worse when I also use verytolerant and nothyphenated. \\ When $a, b, c$ are given, two values of $x$ and no more can be found which shall make the function $ax^2 + bx + c$ vanish; that is, the equation always has two roots

[NTG-context] Re: Trimming (rearranging) long section name

2023-09-04 Thread Lukas via ntg-context
Hello, On 2023-09-04 12:06, Wolfgang Schuster wrote: \mainlanguage[cz] \setuphead   [section]   [distance=1.25em,    style=\bfc,    align={flushleft,broad,nothyphenated}] that's it, thank you! Lukas \setupbodyfont[8pt] \starttext \chapter{Dummy} \samplefile{lorem} \section{Specifické

[NTG-context] Re: Trimming (rearranging) long section name

2023-09-04 Thread Wolfgang Schuster
ide a *working* minimal example the next time, otherwise we have to fill the missing parts (\starttext ... \stoptext). \mainlanguage[cz] \setuphead   [section]   [distance=1.25em,    style=\bfc,    align={flushleft,broad,nothyphenated}] \setupbodyfont[8pt] \starttext \chapter{Dummy} \samplefi

[NTG-context] Re: Par Builder Tests

2023-07-21 Thread Hans Hagen
] \enabletrackers[builders.hpack.overflow] %\enabletrackers[layout.vz] %\enabletrackers[paragraphs.passes] \enabletrackers[paragraphs.passes=summary] %\enabletrackers[paragraphs.passes=details] \setupalign[granular] %\setupalign[nothyphenated,hz,verytolerant] %\setupalign[vertical,height

[NTG-context] Par Builder Tests

2023-07-21 Thread Keith McKay
] %\enabletrackers[layout.vz] %\enabletrackers[paragraphs.passes] \enabletrackers[paragraphs.passes=summary] %\enabletrackers[paragraphs.passes=details] \setupalign[granular] %\setupalign[nothyphenated,hz,verytolerant] %\setupalign[vertical,height] %\setupalignpass[decent] %\setupalignpass[quality

Re: [NTG-context] Keep the right margin in [nothyphenated, flushleft] columns

2022-08-13 Thread Marcin Ciura via ntg-context
Thank you, Denis. \setupalign[nothyphenated,flushleft,stretch] fixes the problem of overfull lines. Marcin sob., 13 sie 2022 o 00:17 Denis Maier via ntg-context napisał(a): > Also stretch might be useful as an additional option for align. > &

Re: [NTG-context] Keep the right margin in [nothyphenated, flushleft] columns

2022-08-12 Thread Denis Maier via ntg-context
-context] Keep the right margin in [nothyphenated, flushleft] columns On Fri, 12 Aug 2022, Marcin Ciura via ntg-context wrote: > Dear list, > > I am typesetting [nothyphenated,flushleft] text in two columns. Some words > stick through the right margin of the left column, sometimes even &

Re: [NTG-context] Keep the right margin in [nothyphenated, flushleft] columns

2022-08-12 Thread Aditya Mahajan via ntg-context
On Fri, 12 Aug 2022, Marcin Ciura via ntg-context wrote: > Dear list, > > I am typesetting [nothyphenated,flushleft] text in two columns. Some words > stick through the right margin of the left column, sometimes even > overlapping the right column. How can I make Context obey t

[NTG-context] Keep the right margin in [nothyphenated, flushleft] columns

2022-08-12 Thread Marcin Ciura via ntg-context
Dear list, I am typesetting [nothyphenated,flushleft] text in two columns. Some words stick through the right margin of the left column, sometimes even overlapping the right column. How can I make Context obey the right margin? The MWE is below. Here is the output PDF: https

[NTG-context] Forbid footnotes from splitting across pages

2022-08-02 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
. In the attached MWE (copied below), footnote 3 gets split across the page, despite [split=verystrict]. Indeed, split=verystrict seems to do nothing. (Reproducing case ii) is more difficult.) Thank you in advance for your help. == % \setupalign[flushleft,nothyphenated] \setupnote

Re: [NTG-context] align=nothyphenated in \defineparagraphs

2022-07-30 Thread Henning Hraban Ramm via ntg-context
attempt is below. align={nothyphenated,flushleft} Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg

[NTG-context] align=nothyphenated in \defineparagraphs

2022-07-30 Thread Marcin Ciura via ntg-context
://wiki.contextgarden.net/Command/setupparagraphs Best regards, Marcin Ciura \mainlanguage[pl] \defineparagraphs[proposition][n=2,align=nothyphenated] \setupparagraphs[proposition][1][width=0.56\textwidth] \setupparagraphs[proposition][2][width=0.41\textwidth] \starttext \startproposition Jeśli w trójkącie $ABC

Re: [NTG-context] \hyphenatedurl in non-hyphenation context

2022-02-15 Thread Denis Maier via ntg-context
the url setup then called in before \hyphenatedurl): \setuppapersize[A6] \setuphead[chapter][align={right,nothyphenated}] \startsetups url \setupalign[hyphenated] \stopsetups \starttext \chapter[title={asdf asdf \goto{\setup[url]\hyphenatedurl{https://doi.org/10.12345/12345.12345

Re: [NTG-context] \hyphenatedurl in non-hyphenation context

2022-02-14 Thread jbf via ntg-context
You could try this (note the url setup then called in before \hyphenatedurl): \setuppapersize[A6] \setuphead[chapter][align={right,nothyphenated}] \startsetupsurl \setupalign[hyphenated] \stopsetups \starttext \chapter[title={asdfasdf\goto{\setup[url]\hyphenatedurl{https://doi.org

[NTG-context] \hyphenatedurl in non-hyphenation context

2022-02-14 Thread Denis Maier via ntg-context
Hi, I have defined chapter headings set to nothyphenated. Yet, sometimes occur DOIs in these chapter headings, and I would obviously want those to be broken across lines. % \setuppapersize[A6] \setuphead[chapter][align={right,nothyphenated}] \starttext \chapter[title

[NTG-context] descriptions with long titles

2022-01-08 Thread Henning Hraban Ramm via ntg-context
) Is this possible, and how? - \mainlanguage[de] \setuppapersize[A5] \definedescription[Desc][ headstyle=bold, style=normal, align={flushleft,nothyphenated}, headalign={flushleft,nothyphenated}, alternative=hanging, width=.33\textwidth] \starttext \subject{Friedensnobelpreisträger} \Desc

[NTG-context] Solved: Book setup with LHS-side quotes before chapters/parts, header/footer issues, TOC, etc.

2021-10-26 Thread Gerben Wierda via ntg-context
preface with a quote %%% \startsetups SectionLHSPageSetup \page[left] \setupheader[state=empty] \start \startalignment[left,nothyphenated] \startnarrower[4*left] \tf\it \stopsetups \definestartstop [SectionLHSPage] [ before={\setups{SectionLHSPageSetup}}, after={\stopnarrower

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-25 Thread Bruce Horrocks via ntg-context
gt;header=empty, > footer=chpaterfooter, >sectionsegments=chapter, >before={\setups[chapter:before]}, >after={\setups[chapter:after]}] > > \startsetups chapter:before > \page[left] > \noheaderandfooterlines > \startalignment[left,nothyphen

Re: [NTG-context] Move the page number from header to footer on the current page only?

2021-10-25 Thread Wolfgang Schuster via ntg-context
    \startalignment[flushright,nothyphenated]     \startnarrower[4*left]     \em \getbuffer[chapter:quote]     \stopnarrower     \stopalignment     \page[right] \stopsetups \starttext \startbuffer [chapter:quote] If you think good architecture is expensive, try bad architecture\crlf {\tf Brian Foote

[NTG-context] Move the page number from header to footer on the current page only?

2021-10-25 Thread Gerben Wierda via ntg-context
[chapter] [page=, header=empty, footer=chpaterfooter, sectionsegments=chapter, before={\setups[chapter:before]}] \startsetups chapter:before \page[left] \noheaderandfooterlines \startalignment[left,nothyphenated] \startnarrower[4*left] \em \getbuffer[chapter:quote

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-24 Thread Gerben Wierda via ntg-context
, header=empty, footer=chpaterfooter, sectionsegments=chapter, before={\setups[chapter:before]}, after={\setups[chapter:after]}] \startsetups chapter:before \page[left] \noheaderandfooterlines \startalignment[left,nothyphenated] \startnarrower[4*left] \em \getbuffer[

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-24 Thread Gerben Wierda via ntg-context
> \startsetups chapter:before > \page[left] > \noheaderandfooterlines > \startalignment[left,nothyphenated] > \startnarrower[4*left] > \em \getbuffer[chapter:quote] > \stopnarrower > \stopalignment > \resetsetups[quote:text] >

[NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-24 Thread Gerben Wierda via ntg-context
=doublesided] \setuppagenumbering[alternative=doublesided] \setuphead[chapter] [page=, sectionsegments=chapter, before={\setups[chapter:before]}, after={\setups[chapter:after]}] \startsetups chapter:before \page[left] \noheaderandfooterlines \startalignment[left,nothyphenated

Re: [NTG-context] manual hyphenation LMTX

2021-09-28 Thread Hans Hagen via ntg-context
On 9/28/2021 2:57 AM, jbf via ntg-context wrote: I may have seen a response to this at some stage in the list, but I cannot find it. \- works for manual hyphenation in Mkiv but not (for me at least) in LMTX. My general setting  is \setupalign [hz, nothyphenated,stretched,verytolerant

[NTG-context] manual hyphenation LMTX

2021-09-27 Thread jbf via ntg-context
I may have seen a response to this at some stage in the list, but I cannot find it. \- works for manual hyphenation in Mkiv but not (for me at least) in LMTX. My general setting  is \setupalign [hz, nothyphenated,stretched,verytolerant] because I am typesetting a book for visually-impaired

Re: [NTG-context] Setting a heading text on its own page with \setuphead

2021-08-07 Thread Joey McCollum via ntg-context
ont >[MyPartFont] >[Serif at 24pt] >[line=36pt] > > \setuppagenumbering >[alternative=doublesided, > location=] > > \setupinterlinespace >[line=18pt] > > \definepagebreak >[blankpagebreak] >[yes,header,footer,right] > > \definehead &g

Re: [NTG-context] Setting a heading text on its own page with \setuphead

2021-08-07 Thread Wolfgang Schuster via ntg-context
ng] [factor=0., features=letterspacing] \setuphead [MyPart] [placehead=yes, number=no, page=blankpagebreak, header=empty, footer=empty, align={flushleft,nothyphenated}, style=MyPartFont, textstyle={\setcharacterkerning[mypartkerning]\setcharactercasing[WOR

[NTG-context] Setting a heading text on its own page with \setuphead

2021-08-06 Thread Joey McCollum via ntg-context
ebreak,%always start this on an odd page header=empty,%disable headers for this page footer=empty,%disable footers for this page align={flushleft, nothyphenated},%titling alignment settings textstyle=\MyPartFont,%set text style textcommand=\MyPartTextCommand,%set text formatting command commandafter

Re: [NTG-context] hyphenate nothyphenated

2021-07-01 Thread Henning Hraban Ramm
> Am 01.07.2021 um 18:05 schrieb Alan Braslau : >> And what about \– (U+2013)? > > Now THAT gets confusing! > > Why not U+2010 (HYPHEN), the anti-U+2011 (NON BREAKING HYPHEN) > vs. U+002D (HYPHEN-MINUS). What a can of worms... Oh yes, let’s do Unicode Whitespace programming... HR

Re: [NTG-context] hyphenate nothyphenated

2021-07-01 Thread Alan Braslau
>>>> > >>>> \-- is a good suggestion, like insisting, and should not get > >>>> confused with -- (en dash). > >>> > >>> Is there some problem to make it just another option. > >>> > >>> \e

Re: [NTG-context] hyphenate nothyphenated

2021-07-01 Thread Steffen Wolfrum
t;>> confused with -- (en dash). >>> >>> Is there some problem to make it just another option. >>> >>> \enabledirectives[hyphenators.discretionary=hyphenated|nothyphenated] >>> >> or maybe some key is \setuplanguages (what key) > >

Re: [NTG-context] hyphenate nothyphenated

2021-07-01 Thread Alan Braslau
here some problem to make it just another option. > > > > \enabledirectives[hyphenators.discretionary=hyphenated|nothyphenated] > > > or maybe some key is \setuplanguages (what key) Why not, but this would be somewhat obscure for the average user who would have to identify and then set this option i

Re: [NTG-context] hyphenate nothyphenated

2021-06-30 Thread Hans Hagen
On 6/30/2021 8:50 PM, Wolfgang Schuster wrote: Alan Braslau schrieb am 30.06.2021 um 20:40: On 30/06/21 12:25, Hans Hagen wrote: On 6/30/2021 7:35 PM, Alan Braslau wrote: On 29/06/21 05:52, Hans Hagen wrote: well, you ask for nothyphenated; we could define \permanent\protected\def

Re: [NTG-context] hyphenate nothyphenated

2021-06-30 Thread Wolfgang Schuster
Alan Braslau schrieb am 30.06.2021 um 20:40: On 30/06/21 12:25, Hans Hagen wrote: On 6/30/2021 7:35 PM, Alan Braslau wrote: On 29/06/21 05:52, Hans Hagen wrote: well, you ask for nothyphenated; we could define \permanent\protected\def\-%    {\begingroup \hyphenationmode

Re: [NTG-context] hyphenate nothyphenated

2021-06-30 Thread Alan Braslau
On 30/06/21 12:25, Hans Hagen wrote: On 6/30/2021 7:35 PM, Alan Braslau wrote: On 29/06/21 05:52, Hans Hagen wrote: well, you ask for nothyphenated; we could define \permanent\protected\def\-%    {\begingroup     \hyphenationmode\explicithyphenationmodecode\explicitdiscretionary     \endgroup

Re: [NTG-context] hyphenate nothyphenated

2021-06-30 Thread Hans Hagen
On 6/30/2021 7:35 PM, Alan Braslau wrote: On 29/06/21 05:52, Hans Hagen wrote: well, you ask for nothyphenated; we could define \permanent\protected\def\-%    {\begingroup     \hyphenationmode\explicithyphenationmodecode\explicitdiscretionary     \endgroup} i will ponder this I believe

Re: [NTG-context] hyphenate nothyphenated

2021-06-30 Thread Alan Braslau
On 29/06/21 05:52, Hans Hagen wrote: well, you ask for nothyphenated; we could define \permanent\protected\def\-%   {\begingroup    \hyphenationmode\explicithyphenationmodecode\explicitdiscretionary    \endgroup} i will ponder this I believe that \- defines an *optional* hyphenation point

Re: [NTG-context] hyphenate nothyphenated

2021-06-29 Thread Hans Hagen
On 6/29/2021 12:06 PM, Steffen Wolfrum wrote: When running this mwe with luatex, the command \- could be used to manually break the line, even though it is set up nothyphenated. When running luametatex the word does not break: \setuppapersize[A10] \showframe \setuphead[chapter][align

[NTG-context] hyphenate nothyphenated

2021-06-29 Thread Steffen Wolfrum
When running this mwe with luatex, the command \- could be used to manually break the line, even though it is set up nothyphenated. When running luametatex the word does not break: \setuppapersize[A10] \showframe \setuphead[chapter][align={nothyphenated}] \starttext \chapter{abc\-def

Re: [NTG-context] Calculating Best Box Width?

2021-06-09 Thread Hans Hagen
] \startnarrower[left,right] \setupalign[flushright,nothyphenated,broad] \dontcomplain \noindent}, after={\stopalignment\stopnarrower \blank[EpigraphDistance] \indenting[next]}] \long\def\epigraph#1#2#3{% \startEpigraphText #1 \par \stopEpigraphText \ifx

[NTG-context] Calculating Best Box Width?

2021-06-09 Thread Michael Urban
[flushright,nothyphenated,broad] \dontcomplain \noindent}, after={\stopalignment\stopnarrower \blank[EpigraphDistance] \indenting[next]}] \long\def\epigraph#1#2#3{% \startEpigraphText #1 \par \stopEpigraphText \ifx\hfuzz#3\hfuzz \rightaligned{\ssa\sl --- #2} \else

Re: [NTG-context] keep text strictly inside box

2021-06-08 Thread Wolfgang Schuster
Taco Hoekwater schrieb am 08.06.2021 um 08:42: On 7 Jun 2021, at 23:07, Wolfgang Schuster wrote: Use the align key. \starttext \startframedtext[width=10cm,align={flushleft,nothyphenated}] Also, ‘verytolerant’ helps: align={flushleft,nothyphenated,verytolerant}] Another option

Re: [NTG-context] keep text strictly inside box

2021-06-08 Thread Taco Hoekwater
> On 7 Jun 2021, at 23:07, Wolfgang Schuster > wrote: > > Use the align key. > > \starttext > > \startframedtext[width=10cm,align={flushleft,nothyphenated}] Also, ‘verytolerant’ helps: > align={flushleft,nothyphenated,verytolerant}] Best wishes, Taco > >

Re: [NTG-context] keep text strictly inside box

2021-06-07 Thread Wolfgang Schuster
manually (a nuisance to be avoided, of course.) Use the align key. \starttext \startframedtext[width=10cm,align={flushleft,nothyphenated}] Martinus, zoon van Johannes van Zonnevelt en Johanna Teikenbort: getuigen Adrianus van Zonnevelt en Anna van Oostbroek. \stopframedtext \stoptext Wolfgang

Re: [NTG-context] Special layouts don't recognise placeinitial

2021-05-24 Thread Eduardo Bohoyo
[backspace=176pt,width=194pt] \setupinterlinespace[line=22pt] \style[tfa] \startalignment[hanging,flushleft,nothyphenated] \placeinitial Ahora, vosotros que amáis, dejadme que os formule una pregunta: ¿quién sufre más por  ello,  Arcite  o  Palamón? ¿El  que  ve  a  su  dama  diariamente,  pero  está

Re: [NTG-context] Special layouts don't recognise placeinitial

2021-05-23 Thread Hans Hagen
works fine as long as it stays within the general layout. This is the code I'm referring to: \startmakeup[standard][doublesided=yes] \setuplayout[backspace=176pt,width=194pt] \setupinterlinespace[line=22pt] \style[tfa] \startalignment[hanging,flushleft,nothyphenated] \placeinitial Ahora

[NTG-context] Special layouts don't recognise placeinitial

2021-05-22 Thread Eduardo Bohoyo
the general layout. This is the code I'm referring to: \startmakeup[standard][doublesided=yes] \setuplayout[backspace=176pt,width=194pt] \setupinterlinespace[line=22pt] \style[tfa] \startalignment[hanging,flushleft,nothyphenated] \placeinitial Ahora, vosotros que amáis, dejadme que os formule una

Re: [NTG-context] Hyphen collapsing

2021-05-07 Thread Hans Hagen
On 5/7/2021 7:15 PM, Thangalin wrote: \setuphead[chapter][align={nothyphenated,notcollapsed}] Would that mean there's no way to collapse the hyphenation throughout the entire document from a single location? That is: \nohyphencollapsing \setuphead[section][align={nothyphenated,notcollapsed

Re: [NTG-context] Hyphen collapsing

2021-05-07 Thread Thangalin
\setuphead[chapter][align={nothyphenated,notcollapsed}] Would that mean there's no way to collapse the hyphenation throughout the entire document from a single location? That is: \nohyphencollapsing \setuphead[section][align={nothyphenated,notcollapsed}] \setuphead[subsection][align

Re: [NTG-context] very long hanging caption

2021-05-07 Thread Hans Hagen
on is how to change the distance between image and the caption, distance parameter has no effect. MkIV, because footnotes in columns are needed (not in lmtx, yet). % macros=mkiv \setupcaption[   number=no,   hang=yes,   align={nothyphenated,flushleft},   dis

Re: [NTG-context] Hyphen collapsing

2021-05-07 Thread Hans Hagen
On 5/7/2021 6:47 AM, Thangalin wrote: Not sure if this is a regression: % SOF \nohyphencollapsing \setuphead[chapter][align={nothyphenated}] \starttext   \chapter{Such --- Emdashery} \stoptext % EOF Expected: No collapsed hyphens. Actual: Hyphens are collapsed. Workaround: Remove

Re: [NTG-context] very long hanging caption

2021-05-07 Thread Jano Kula
between image and the > caption, distance parameter has no effect. MkIV, because footnotes in > columns are needed (not in lmtx, yet). > > % macros=mkiv > \setupcaption[ > number=no, > hang=yes, > align={nothyphenated,flushleft}, > distance=4mm, > location=ri

[NTG-context] Hyphen collapsing

2021-05-06 Thread Thangalin
Not sure if this is a regression: % SOF \nohyphencollapsing \setuphead[chapter][align={nothyphenated}] \starttext \chapter{Such --- Emdashery} \stoptext % EOF Expected: No collapsed hyphens. Actual: Hyphens are collapsed. Workaround: Remove the nothyphenated option or insert

[NTG-context] very long hanging caption

2021-05-02 Thread Jano Kula
={nothyphenated,flushleft}, distance=4mm, location=righthanging] \startbuffer[caption] \dorecurse{60}{very long caption } \stopbuffer \starttext \startplacefigure[title={\getbuffer[caption]}] \externalfigure[cow][height=40mm,width=80mm] \stopplacefigure \stoptext Thank you, Jano

Re: [NTG-context] clubs and widows in columns

2021-04-27 Thread Jano Kula
st. > > > > \setuppapersize[A7] > > \starttext > > \startcolumns[separator=rule, > >align={right,nothyphenated}] > > \dorecurse{12}{→ one two three four five\par} > > \stopcolumns > > \stoptext > > > > For a different task:

Re: [NTG-context] clubs and widows in columns

2021-04-26 Thread mf
,nothyphenated}] \dorecurse{12}{→ one two three four five\par} \stopcolumns \stoptext For a different task: are there some higher level commands in ctx than \vsplitprimitive to play with vbox splitting? As a workaround, you could try switching to pagecolumns: since they are typeset as pages

[NTG-context] clubs and widows in columns

2021-04-25 Thread Jano Kula
Dear list, is there a way to avoid clubs and widows in columns? I don't know, how it would be implemented, if the task is splitting typeset vertical list. \setuppapersize[A7] \starttext \startcolumns[separator=rule, align={right,nothyphenated}] \dorecurse{12}{→ one two three four

Re: [NTG-context] A not so short introduction to ConTeXt Mark IV

2021-01-05 Thread Hans Hagen
primitives of which many deal with all kind of font related paraneters and inter-blob spacing. \starttext \startTEXpage[offset=2mm,width=30cm,align={verytolerant,nothyphenated,flushleft},foregroundstyle=\tttf] \startluacode local t = tex.primitives() table.sort(t) local

Re: [NTG-context] How can I make the notes under this table inherit the width of the table, and not the \textwidth?

2020-11-10 Thread Sylvain Hubert
; prefix=no, > align={flushleft,nothyphenated}, > way=bytext] > \setupcaption[table][location=top] > > \setupthinrules[width=15em] % width of horizontal rules > > \setupxtable[frame=off,option=stretch,bodyfont=small,foregroundstyle=

[NTG-context] How can I make the notes under this table inherit the width of the table, and not the \textwidth?

2020-11-10 Thread Andres Conrado Montoya
~}] \setupcaptions[style={\sans\small}, width=max, prefix=no, align={flushleft,nothyphenated}, way=bytext] \setupcaption[table][location=top] \setupthinrules[width=15em] % width of horizontal rules \setupxtable[frame=off,option=stretch,bodyfont=small

Re: [NTG-context] inter-word spacing

2020-10-22 Thread jbf
at what is produced, and where you might need to use a couple of other options, be it \, \nospace, \thinspace For example, I have found that for a particular project I am working on at the moment, my best setup does not include protrusion, but I use \setupalign [hz,nothyphenated,verytolerant

[NTG-context] new upload - hyphenation

2020-08-11 Thread Hans Hagen
Hi, One can suppress hyphenation with: \setupalign[nothyphenated] but it has some limitations. The low level switches are \nohyphens and \dohyphens. Anyway, this mechanism has now been improved a bit: \starttext \startbuffer NEDERLANDS\par Nederlands\par nederlands\par \CONTEXT \par

Re: [NTG-context] Let chapter start on odd page and make the even page before show an image

2020-05-29 Thread Henning Hraban Ramm
\setupheadertexts[chapter][{\addff{normnum}\pagenumber}][{\addff{normnum}\pagenumber}][] \stopsetups \startsetups noheader \setupheadertexts[][][][] \stopsetups \startsetups bigchapter \setupalign[flushleft,hz,hanging,verytolerant,nothyphenated] \doifelse{\structureuservariable{image

Re: [NTG-context] alignment parameters

2020-01-19 Thread Henning Hraban Ramm
ntrollable without); how to >> get more control over makeups and that columnsets are somewhat fastidious, >> esp. with floats… > > Use \setuplayout[grid=yes] when "grid=strut" doesn't work. That’s what I do. >> \setuppapersize[A6] >> \showframe[text] >&

Re: [NTG-context] alignment parameters

2020-01-19 Thread Wolfgang Schuster
>>> - left aligned > >>>> - no hyphenation (or only where I set breakpoints manually) > >>>> - no overfull hboxes > >>>> > >>>> At the moment I have > >>>> align={flushleft,extremestretch,nothyphenated} > >>

Re: [NTG-context] alignment parameters

2020-01-19 Thread Henning Hraban Ramm
ally) >>>> - no overfull hboxes >>>> >>>> At the moment I have >>>> align={flushleft,extremestretch,nothyphenated} >>>> (would use also hz and hanging, if they don’t interfere), >>>> but in a few cases I still get section ti

Re: [NTG-context] alignment parameters

2020-01-19 Thread Wolfgang Schuster
for the alignment parameters that > >> give me: > >> - left aligned > >> - no hyphenation (or only where I set breakpoints manually) > >> - no overfull hboxes > >> > >> At the moment I have > >> align={flushleft,extremestretch,no

Re: [NTG-context] alignment parameters

2020-01-19 Thread Henning Hraban Ramm
(or only where I set breakpoints manually) >> - no overfull hboxes >> >> At the moment I have >> align={flushleft,extremestretch,nothyphenated} >> (would use also hz and hanging, if they don’t interfere), >> but in a few cases I still get section titles that are

Re: [NTG-context] alignment parameters

2020-01-19 Thread Wolfgang Schuster
ve > align={flushleft,extremestretch,nothyphenated} > (would use also hz and hanging, if they don’t interfere), > but in a few cases I still get section titles that are much wider than the > text column. align={flushle

[NTG-context] alignment parameters

2020-01-19 Thread Henning Hraban Ramm
Hi, for my section titles I’m looking for the alignment parameters that give me: - left aligned - no hyphenation (or only where I set breakpoints manually) - no overfull hboxes At the moment I have align={flushleft,extremestretch,nothyphenated} (would use also hz and hanging, if they don’t

[NTG-context] Strange behavior in somewhat complex layout (again)

2019-06-27 Thread Andres Conrado Montoya
tup{chapter:before}, align={flushleft,nothyphenated,verytolerant}, style={\tfd\sansbold}, header=empty, page=yes, commandbefore={\blank[1.75in]}, after={\blackrule[color=rojo,height=4pt,width=6em]\blank[1.25in]}] \setuppagenumber

[NTG-context] Strange behavior in somewhat complex layout

2019-06-23 Thread Andres Conrado Montoya
\setupbackgrounds[page][background=color,backgroundcolor=rojo] \page[yes,right] \popbackground} \stopsetups \setuphead[chapter] [width=20em, before=\directsetup{chapter:before}, align={flushleft,nothyphenated,verytolerant}, style={\t

Re: [NTG-context] Emacs + latest beta

2018-08-30 Thread Fabrice Couvreur
ed 50pt ; > > \stopusableMPgraphic > > > > \unexpanded\def\processMPheadnumber#1% > > {\useMPgraphic{NumberHead}} > > > > \setuphead% > > [chapter]% > > [command=\HeadTitle,% > > headstyle=\ss,% > > numbercommand=\processMPheadnumber] >

Re: [NTG-context] Emacs + latest beta

2018-08-29 Thread Vladimir Lomov
style=\ss,% > numbercommand=\processMPheadnumber] > > \unexpanded\def\HeadTitle#1#2% > {\framed% > [frame=off,% > bottomframe=on,% > width=broad, > align={broad,nothyphenated,left}]% > {#1\blank[nowhite]#2}} > > \starttext > \startchapte

Re: [NTG-context] Emacs + latest beta

2018-08-29 Thread Fabrice Couvreur
ber#1% {\useMPgraphic{NumberHead}} \setuphead% [chapter]% [command=\HeadTitle,% headstyle=\ss,% numbercommand=\processMPheadnumber] \unexpanded\def\HeadTitle#1#2% {\framed% [frame=off,% bottomframe=on,% width=broad, align={broad,nothyphenated,left}]% {#1\blank[nowhite]#2}} \startt

Re: [NTG-context] Emacs + latest beta

2018-08-24 Thread Fabrice Couvreur
> {\useMPgraphic{NumberHead}} > > \setuphead% > [chapter]% > [command=\HeadTitle,% > headstyle=\ss,% > numbercommand=\processMPheadnumber] > > \unexpanded\def\HeadTitle#1#2% > {\framed% > [frame=off,% > bottomframe=on,% > width=broad, > a

Re: [NTG-context] Emacs + latest beta

2018-08-23 Thread Vladimir Lomov
mmand=\HeadTitle,% headstyle=\ss,% numbercommand=\processMPheadnumber] \unexpanded\def\HeadTitle#1#2% {\framed% [frame=off,% bottomframe=on,% width=broad, align={broad,nothyphenated,left}]% {#1\blank[nowhite]#2}} \starttext \startchapter[title=First chapter] \input ward \sto

Re: [NTG-context] Emacs + latest beta

2018-08-23 Thread Wolfgang Schuster
ysized 50pt ; \stopusableMPgraphic \unexpanded\def\processMPheadnumber#1% {\useMPgraphic{NumberHead}} \setuphead [chapter] [command=\HeadTitle, headstyle=\ss, numbercommand=\processMPheadnumber, ] \unexpanded\def\HeadTitle#1#2% {\framed [frame=off, bottomframe=on, width=broad

[NTG-context] Emacs + latest beta

2018-08-22 Thread Fabrice Couvreur
x \startusableMPgraphic{NumberHead} draw outlinetext.f ("\bf\namedheadnumber{chapter}") (withcolor "lightgray") ysized 50pt ; \stopusableMPgraphic \unexpanded\def\processMPheadnumber#1% {\useMPgraphic{NumberHead}} \setuphead [chapter

[NTG-context] Problem of compiling a file with Emacs

2018-07-19 Thread Fabrice Couvreur
phead [chapter] [command=\HeadTitle, headstyle=\ss, numbercommand=\processMPheadnumber, ] \unexpanded\def\HeadTitle#1#2% {\framed [frame=off, bottomframe=on, width=broad, align={broad,nothyphenated,left}] {#1\blank[nowhite]#2}} \starttext \starttit

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-18 Thread Fabrice Couvreur
opusableMPgraphic > >>>> > >>>> > >>>> \unexpanded\def\processMPheadnumber#1% > >>>> {\useMPgraphic{NumberHead}} > >>>> > >>>> \setuphead > >>>>[chapter] > >>>>[comma

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-17 Thread Hans Hagen
ic \unexpanded\def\processMPheadnumber#1% {\useMPgraphic{NumberHead}} \setuphead [chapter] [command=\HeadTitle, headstyle=\ss, numbercommand=\processMPheadnumber] \unexpanded\def\HeadTitle#1#2% {\framed [frame=off, bottomframe=on, width=broad, align={broad,nothyphen

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-17 Thread Alan Braslau
ysized 50pt ; >>>> \stopusableMPgraphic >>>> >>>> >>>> \unexpanded\def\processMPheadnumber#1% >>>> {\useMPgraphic{NumberHead}} >>>> >>>> \setuphead >>>>[chapter] >>>> [command=\HeadTit

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-17 Thread Rik Kabel
ramed     [frame=off,     bottomframe=on,     width=broad,     align={broad,nothyphenated,left}]     {#1\blank[nowhite]#2}} \starttext \dorecurse{6}{\startchapter   [title={Fist chapter}]   \input knuth \stopchapter} \stoptext Using TL18 on Win64 it produces a large chapter number on the right side ab

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-17 Thread Hans Hagen
dth=broad,     align={broad,nothyphenated,left}]     {#1\blank[nowhite]#2}} \starttext \dorecurse{6}{\startchapter   [title={Fist chapter}]   \input knuth \stopchapter} \stoptext Using TL18 on Win64 it produces a large chapter number on the right side above the chapter name -- I do not know what

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-17 Thread Rik
ic \unexpanded\def\processMPheadnumber#1%   {\useMPgraphic{NumberHead}} \setuphead    [chapter]    [command=\HeadTitle,     headstyle=\ss,     numbercommand=\processMPheadnumber] \unexpanded\def\HeadTitle#1#2%   {\framed     [frame=off,     bottomframe=on,     width=broad,     align={broad,nothyphe

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-17 Thread Fabrice Couvreur
uot;) >>> (withcolor "lightgray") >>> ysized 50pt ; >>> \stopusableMPgraphic >>> >>> >>> \unexpanded\def\processMPheadnumber#1% >>>{\useMPgraphic{NumberHead}} >>> >>> \setup

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-16 Thread Fabrice Couvreur
>> \stopusableMPgraphic >> >> >> \unexpanded\def\processMPheadnumber#1% >>{\useMPgraphic{NumberHead}} >> >> \setuphead >> [chapter] >> [command=\HeadTitle, >> headstyle=\ss, >> numbercommand=\processMPheadnumber] >&g

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-16 Thread Hans Hagen
bleMPgraphic \unexpanded\def\processMPheadnumber#1%   {\useMPgraphic{NumberHead}} \setuphead    [chapter]    [command=\HeadTitle,     headstyle=\ss,     numbercommand=\processMPheadnumber] \unexpanded\def\HeadTitle#1#2%   {\framed     [frame=off,     bottomframe=on,     width=broad,     a

[NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-16 Thread Fabrice Couvreur
hapter] [command=\HeadTitle, headstyle=\ss, numbercommand=\processMPheadnumber] \unexpanded\def\HeadTitle#1#2% {\framed [frame=off, bottomframe=on, width=broad, align={broad,nothyphenated,left}] {#1\blank[nowhite]#2}} \starttext \dorecurse{6}{\startchapter [title=

[NTG-context] Strange behaviour of \start/stopplacefigure

2018-03-30 Thread Tomas Hala
indentation. What am I doing wrong? Thanks for a help, Tomáš %% TL2017 \starttext \indenting[yes,2em,first] \setupfloat[indentnext=yes] 1none. \input knuth \startplacefigure[location={none,}] \setupcaption[width=0.45\makeupwidth,align={nothyphenated,middle

Re: [NTG-context] fixed spacing

2017-07-17 Thread Floris van Manen
nepapersize[iiwii][width=125mm, height=125mm] >> \setuppapersize[iiwii] >> \setupbodyfont[7pt] >> \setuplayout[backspace=3mm, >> topspace=3mm, >> width=70mm, >> header=0mm, >> footer=0mm, >> height=119mm] >> \starttext >> &g

Re: [NTG-context] fixed spacing

2017-07-17 Thread Rik Kabel
=125mm, height=125mm] \setuppapersize[iiwii] \setupbodyfont[7pt] \setuplayout[backspace=3mm, topspace=3mm, width=70mm, header=0mm, footer=0mm, height=119mm] \starttext \starttext {\tfxx\framed[width=42mm,align={width,nothyphenated,verytolerant},frame=off] {0-1:~28, 1-2

[NTG-context] fixed spacing

2017-07-17 Thread Floris van Manen
] \setupbodyfont[7pt] \setuplayout[backspace=3mm, topspace=3mm, width=70mm, header=0mm, footer=0mm, height=119mm] \starttext \starttext {\tfxx\framed[width=42mm,align={width,nothyphenated,verytolerant},frame=off] {0-1:~28, 1-2:~1686, 0-2:~1710, 8-9:~3484, 7-8:~15862, 7-9:~17152, 1-3

Re: [NTG-context] Vertical space around displayed formulas

2017-01-18 Thread Otared Kavian
ing I should change in my documents? > > Nicola > > %% > \setuppapersize[S6][S6] > > \setuplayout[ > width=middle, > height=middle, > topspace=2mm, > header=0mm, > headerdistance=0mm, > location=singlesided, > backspace=5mm, > margin=0mm, > edgedista

  1   2   3   >