[NTG-context] Re: blank line and \placefigure

2024-04-06 Thread Thomas Meyer
Here is a minimal example that better describes my problem. It seems to depend on the size of the image. 30 mm and 40 mm width works, 35 mm does not. I have not tested height, although the image I want to use would be portrait format. \setuplayout[grid=yes] \setupinterlinespace[line=15pt

[NTG-context] Re: Comments placed in the margin

2024-03-19 Thread Jean-Pierre Delange
Hi Jeroen, You can try this : \setupmargindata[inmargin][location=inner, style={\ssx\setupinterlinespace[line=2.8ex]}] \setupmarginframed[inmargin][align=left] Sorry if I send owls to Athens ! JP Le 19/03/2024 à 15:38, Jeroen a écrit : For comments that are placed in the margin

[NTG-context] Re: Japanese

2024-03-02 Thread Wolfgang Schuster
rotrusion}] \definefontfamily [noto_japanese] [rm] [Noto Serif JP] [features={default,fullprotrusion}] \definefontfamily [noto_japanese] [ss] [Noto Sans JP] [features={default,fullprotrusion}] \setupbodyfont [noto_japanese] \setscript [nihongo] \setupalign [hanging] \setupindenting [

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

2024-03-01 Thread Jean-Pierre Delange
=doublesided, location={header, inmargin}] \setupmargindata[inmargin][location=inner, style={\ssx\setupinterlinespace[line=2.8ex]}] \setupmarginframed[inmargin][align=right] \setupbodyfontenvironment[default][em=italic] % Use Theano Didot as Ancient Greek font \definefallbackfamily[mainface][serif

[NTG-context] Re: Issue with italics

2024-02-26 Thread Jean-Pierre Delange
] \setuppagenumbering[alternative=doublesided, location={header, inmargin}] \setupmargindata[inmargin][location=inner, style={setupinterlinespace[line=2.8ex]}] \setupmarginframed[inmargin][align=right] \setupbodyfontenvironment[default][em=italic] \definefallbackfamily[mainface][rm][Theano Didot

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

2023-12-10 Thread Gavin via ntg-context
ng font features for this, but I haven’t learned how to do that. Any advice is welcome. Example code below uses the Libertinus font, which has these superior and inferior numbers, to produce sample paragraph demonstrating a few options for fractions in text. Gavin \usetypescriptfile[libertinus] \se

[NTG-context] Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread Wolfgang Schuster
with \setupinterlinespace or you use a different fraction command which uses smaller numbers or creates inline fractions. \starttext \startlines \type{\frac{1}{3}}: \m{\frac{1}{3}} \type{\xfrac{1}{3}}: \m{\xfrac{1}{3}} \type{\xxfrac{1}{3}}: \m{\xxfrac{1}{3}} \type{\tfrac{1}{3}}: \m{\tfrac{1}{3}} \type{\sfrac{1}{3

[NTG-context] Re: Inline math spacing

2023-12-04 Thread Hans Hagen via ntg-context
On 12/4/2023 6:43 AM, Alexandre Christe wrote: Hi, Here’s a MWE: \setupinterlinespace[line=3ex] \definefontfeature[default][default][lnum=yes,tnum=yes] \usetypescriptfile[alegreya_libertinus] \setupbodyfont[alegreya-light,ss,10pt] \setupmathematics[autopunctuation={all}] % math definitions

[NTG-context] Re: Inline math spacing

2023-12-03 Thread Alexandre Christe
Hi, Here’s a MWE: \setupinterlinespace[line=3ex] \definefontfeature[default][default][lnum=yes,tnum=yes] \usetypescriptfile[alegreya_libertinus] \setupbodyfont[alegreya-light,ss,10pt] \setupmathematics[autopunctuation={all}] % math definitions \enablemathautospacing % more global

[NTG-context] Re: unwanted blank page

2023-11-20 Thread Pablo Rodriguez via ntg-context
ntent than a file name. BTW, if its contents cannot be in more than a single page, the approach suggested above might be easier. > \startfrontmatter[] Empty brackets are not required here. > \start > \setuplayout[re > \setupinterlinespace[.8ex] I would say that

[NTG-context] Re: learning about the grid

2023-11-20 Thread Wolfgang Schuster
example. \starttext \heightofstring{x} \the\exheight \stoptext To get one and a half line of interlinespace with ConTeXt you can set a fixed value with the \setupinterlinespace command. \setupinterlinespace[line=18pt] \showgrid \starttext \samplefile{lorem} \stoptext Wolfgang

[NTG-context] Re: learning about the grid

2023-11-19 Thread Henning Hraban Ramm
of wordprocessors to be sure it is not such different. Sorry for not providing an example (again my lack of experience), I will do it from now on. thanks, I will try to learn a little more to get an idea of how ConTeXt ist built It’s \setupinterlinespace, and the default is 2.8ex, so 1.3ex is too small

[NTG-context] Re: unwanted blank page

2023-11-19 Thread madiazm . eoicc
] \setuppagenumbering[location=] \input{03_portadaEval.tex}%this is my title page \stopsectionblock \startfrontmatter[] \start \setuplayout[reset] \setupinterlinespace[.8ex] \completecontent \stop \stopfrontmatter \startbodymatter[] \input

[NTG-context] Re: learning about the grid

2023-11-19 Thread Pablo Rodriguez via ntg-context
ult value is \setupinterlinespace[line=2.85ex]. I have just discovered that with values such as line=1.3ex, \setuplayout[grid=yes] behaves very differently than with values such as line=2ex (and above). I mean, lines follow the grid when the text fits. See the difference with: \showframe

[NTG-context] learning about the grid

2023-11-19 Thread Miguel Diaz
of a section are printed one over the other. Playing with the options and setupinterlinespace I got the unhappily desired 1.3ex that may school requieres for the teaching programs (grid=line, interlinespace=1.3ex), but I somehow feel that's not the right way to go. 1. Why are the lines printed one over

[NTG-context] Verbatim Textbox with Reference NUmbering

2023-09-09 Thread Jeroen
=mpos:par:myexample, location=paragraph, topoffset=0.4em, leftoffset=0em, rulethickness=0.7pt] \definetyping[Listing] [option=commands] \setuptyping [Listing] [bodyfont=10pt, margin=1em, before=% {\blank[3*medium] \setupinterlinespace[line=2.4ex] \starttextbackground

[NTG-context] Re: Text runs out of Verbatim Frame

2023-09-08 Thread Wolfgang Schuster
] Change the alignment value for your Listing's. \setuptyping   [Listing]   [bodyfont=10pt,  margin=1em, align={flushleft,verytolerant},    before=%      {\blank[3*medium] \setupinterlinespace[line=2.4ex] \starttextbackground[listingbackground]},    after=%  {\stoptextbackground       \blank

[NTG-context] Text runs out of Verbatim Frame

2023-09-08 Thread Jeroen
] [bodyfont=10pt, margin=1em, before=% {\blank[3*medium] \setupinterlinespace[line=2.4ex] \starttextbackground[listingbackground]}, after=% {\stoptextbackground \blank[4*medium]}] \protect \starttext \startListing test test test test test test test test test test test

[NTG-context] Scaling characters without font switching in CLD

2023-08-12 Thread Hamid,Idris
Dear gang, I. In Context, as is well known, scaling a character is not independent of switching the font: === \startTEXpage[offset=1em] \definefont[Times][times @ 14pt] \Times Test \tfx Test \setupinterlinespace \Times Test \switchtobodyfont[x]Test \Times Test \high{Test} \stopTEXpage

[NTG-context] interlines space for local footnotes

2023-04-22 Thread jbf via ntg-context
I am using only local footnotes in a document, but am having difficulty influencing the interlines space between these notes. Since I am only using local footnotes, I thought initially that the following would work for them \startsetups[footnote:interlinespace] \setupinterlinespace[line

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-21 Thread 黄复雄 via ntg-context
% define the pinyin command > > \define[2]\pinyin{% > > \setbox1 = \hbox{#1}% > > \setbox2 = \hbox{\darkgray \pinyinfont #2}% > > \newdimen\maxwd% > > \ifdim \wd1>\wd2 \maxwd=\wd1 \else \maxwd=\wd2 \fi% > > \setbox1 = \hbox to \maxwd{\hfill

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-21 Thread 黄复雄 via ntg-context
% define the pinyin command > > \define[2]\pinyin{% > > \setbox1 = \hbox{#1}% > > \setbox2 = \hbox{\darkgray \pinyinfont #2}% > > \newdimen\maxwd% > > \ifdim \wd1>\wd2 \maxwd=\wd1 \else \maxwd=\wd2 \fi% > > \setbox1 = \hbox to \maxwd{\

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-21 Thread Hans Hagen via ntg-context
] \setupinterlinespace [40pt] \setuplayout [color=darkblue] \setuppagenumbering [location=footer] \defineconversionset [pagenumber] [] [chinesenumerals] \protected\def\stripe#1{\hbox orientation 0 yoffset 3pt{\strut #1}} \setscript[hangul] \starttext % \startscript[hangul

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-21 Thread Wolfgang Schuster via ntg-context
ill}% \hskip0pt plus5pt\vbox{\setupinterlinespace[line=0.5em]\box2\box1}% above line % \hskip0pt plus5pt\vtop{\setupinterlinespace[line=0.5em]\box1\box2}% under line } ``` usage as follows: ```lmtx \pinyin{寖備}{jìn bèi} ``` The ruby command has no problem with chinese but you need a font which

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-21 Thread Hans Hagen via ntg-context
head, current = flushrange(head,current,first,last) end setlist(box,head) end \stopluacode % % % % % % % % % % \setuptolerance[verytolerant,stretch] \definefont[NotoCJK][NotoSanstc-Regular*default @ 24pt] \setupinterlinespace[40pt] \unexpanded\def\stripe#1{\hbox orientation 0 y

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-21 Thread 黄复雄 via ntg-context
}% \setbox2 = \hbox{\darkgray \pinyinfont #2}% \newdimen\maxwd% \ifdim \wd1>\wd2 \maxwd=\wd1 \else \maxwd=\wd2 \fi% \setbox1 = \hbox to \maxwd{\hfill \box1 \hfill}% \setbox2 = \hbox to \maxwd{\hfill \box2 \hfill}% \hskip0pt plus5pt\vbox{\setupinterlinespace[line=0.5em]\box2\b

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-16 Thread amano.kenji via ntg-context
022 um 14:00: > > > Is there any documentation about \ruby? > > > You can see all available parameters in setup-en.pdf, the example below > shows a few of them: > > begin example > \setupinterlinespace[line=4ex] > > \setuptype[style=\ttx] > > \st

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-15 Thread Wolfgang Schuster via ntg-context
amano.kenji via ntg-context schrieb am 15.08.2022 um 14:00: Is there any documentation about \ruby? You can see all available parameters in setup-en.pdf, the example below shows a few of them: begin example \setupinterlinespace[line=4ex] \setuptype[style=\ttx] \starttext \start

Re: [NTG-context] Count (and limit) glyphs per line?

2022-06-24 Thread Hans Hagen via ntg-context
acing: Must be no more than six lines per vertical inch. " While the line spacing resolves in ConTeXt to \setupinterlinespace[line=\dimexpr(1in / 6)] I was wondering if one can limit "type density" as the number of glyphs per inch in TeX too? I thought, it is more convenient to r

[NTG-context] Count (and limit) glyphs per line?

2022-06-23 Thread Benjamin Buchmuller via ntg-context
e the line spacing resolves in ConTeXt to \setupinterlinespace[line=\dimexpr(1in / 6)] I was wondering if one can limit "type density" as the number of glyphs per inch in TeX too? I thought, it is more convenient to rephrase this request (for a 7 in textwidth) to limit the number of gl

[NTG-context] headings in line numbering

2022-06-18 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \setuppapersize[A6] \definelinenote[otherlinenote] \setupnote[otherlinenote] [compress=yes] \startsetups[line:notes] \setupinterlinespace[line=2.9ex] \stopsetups \setupnote[linenote] [paragraph=yes, compress=yes, compressmethod

Re: [NTG-context] interwordspace error after update

2022-06-06 Thread Hans Hagen via ntg-context
\setupinterlinespace[line=11pt, height=.79,depth=.21] \lineskiplimit-\maxdimen \setupwhitespace[0pt] \stopsetups You're using the wrong skip. These interwors* things are not meant to be set, as they are basically font dimensions (and in traditional tex you'd then set them global for each shared font

[NTG-context] interwordspace error after update

2022-06-06 Thread Steffen Wolfrum via ntg-context
Hi, with my last ConTeXt ver 2022.01.21 20:31 LMTX (arm64) this work: \startsetups footnotesetup \interwordspace 2.75pt % \setuptolerance[NEUNspace] hat hier keine Wirkung! \interwordstretch 1.7pt \interwordshrink 0.9pt \setupinterlinespace[line=11pt, height=.79,depth=.21] \lineskiplimit

[NTG-context] ugly bug

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

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

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

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

2022-05-27 Thread Rik Kabel via ntg-context
}] \setuppapersize[slide] \setupinterlinespace[line=\measure{base}] \setuplayout [ topspace=2\measured{base}, header=\zeropoint, headerdistance=\zeropoint, height=middle, % Space for 20-4=16 lines footerdistance=\zeropoint, footer=\zeropoint, bottomspace=2\measured{base}, % cutspace=2

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

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

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

2022-05-27 Thread Aditya Mahajan via ntg-context
red{base},height=20\measured{base}] \setuppapersize[slide] \setupinterlinespace[line=\measure{base}] \setuplayout [ topspace=2\measured{base}, header=\zeropoint, headerdistance=\zeropoint, height=middle, % Space for 20-4=16 lines footerdistance=\zeropoint, foote

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

2022-05-25 Thread Stefan Nedeljkovic via ntg-context
\measured{xheight},height=60\measured{xheight}] \setuppapersize[slide] \setupinterlinespace[line=\measure{base},top=1] \setuplayout[ leftedge=\zeropoint, rightedge=\measure{zero}, leftedgedistance=\zeropoint, rightedgedistance=\zeropoint, leftmargin=\zeropoint, rightmargin=\zeropoint

[NTG-context] spooky jumping headerline

2022-05-25 Thread Steffen Wolfrum via ntg-context
Hi, the \blackrule (in my real project this is the running title) on page 1 is about 1mm higher than on page 2. Why? Best, Steffen \setupbodyfont[palatino,9.5pt]\setupinterlinespace[13pt] \setuppagenumbering [alternative=doublesided,location=] \setupheader[strut=yes] \setupheadertexts[text

Re: [NTG-context] Metafun, difficulty with graphical element in the margin

2022-03-20 Thread Wolfgang Schuster via ntg-context
m] {Page background} \setlayer [l_text] [x=1cm,y=1cm] {Text background} \tracingmacros1 \dorecurse{4}{xxx\page} \tracingmacros0 \stoptext \showgrid \starttext \samplefile{lorem} \page \start \setupinterlinespace[2]% 2 lines, also possible: 1.5, 3, ... \samplefile{lorem}\par \stop \page

Re: [NTG-context] "Flushbottom" / \setupalign[line] in LMTX

2022-03-09 Thread Denis Maier via ntg-context
upindenting[yes]\tfx\setupinterlinespace}, spacebefore=medium, indentnext=no, leftmargin=no, rightmargin=no, ] \starttext \subject{asdf} \dorecurse{5}{ \input knuth \startblockquote \input ward \stopblockquote \input knuth \input ward \subject{asdf} \input knuth \startblockquote \input

[NTG-context] "Flushbottom" / \setupalign[line] in LMTX

2022-03-09 Thread Denis Maier via ntg-context
enting[yes]\tfx\setupinterlinespace}, spacebefore=medium, indentnext=no, leftmargin=no, rightmargin=no, ] \starttext \subject{asdf} \dorecurse{5}{ \input knuth \startblockquote \input ward \stopblockquote \input knuth \input ward \subject{asdf} \input knuth \startblockquote \

Re: [NTG-context] How to achieve true double space text in ConTeXt?

2022-01-17 Thread Wolfgang Schuster via ntg-context
every line. This is a line of text. % <-- here is the space between lines % <-- this space here is as tall as a line of text. % <-- here is the next space between lines This is the next visible line of text. The closest I can get is the "big" setting in `\setupinterlinespace`

[NTG-context] How to achieve true double space text in ConTeXt?

2022-01-17 Thread Joel via ntg-context
ere is the space between lines % <-- this space here is as tall as a line of text. % <-- here is the next space between lines This is the next visible line of text. The closest I can get is the "big" setting in `\setupinterlinespace`, but it isn't big enough. I've also tried manual measur

Re: [NTG-context] poetry \startlines and tab

2022-01-12 Thread Hans Hagen via ntg-context
On 1/12/2022 1:09 AM, jbf via ntg-context wrote: For poetry that has non-regular indentations, I simply \definelines[poem] and set that up the way I want, obviously, with \setuplines[poem]  e.g. [before={\blank \setupinterlinespace[line=2.5ex]},after={\blank},indenting=first

Re: [NTG-context] poetry \startlines and tab

2022-01-11 Thread jbf via ntg-context
For poetry that has non-regular indentations, I simply \definelines[poem] and set that up the way I want, obviously, with \setuplines[poem]  e.g. [before={\blank \setupinterlinespace[line=2.5ex]},after={\blank},indenting=first]. And then, but I guess it is still a hack, I use \hskip

Re: [NTG-context] definedfont vs switchtobodyfont (was "shrink inter-line space")

2021-12-20 Thread Hans Hagen via ntg-context
On 12/20/2021 12:06 PM, mf via ntg-context wrote: Il 18/12/21 13:00, Wolfgang Schuster ha scritto: \definefontfeature [tightlines] [dimensions={*,0,0}] \starttext \samplefile{ward}\par \blank \start \setupinterlinespace[line=5pt] \definedfont[Normal*default,tightlines

Re: [NTG-context] definedfont vs switchtobodyfont (was "shrink inter-line space")

2021-12-20 Thread mf via ntg-context
Il 18/12/21 13:00, Wolfgang Schuster ha scritto: \definefontfeature [tightlines] [dimensions={*,0,0}] \starttext \samplefile{ward}\par \blank \start     \setupinterlinespace[line=5pt]     \definedfont[Normal*default,tightlines]     \samplefile{ward}\par \stop \stoptext Thanks Wolfgang

Re: [NTG-context] shrink inter-line space

2021-12-18 Thread Wolfgang Schuster via ntg-context
mf via ntg-context schrieb am 18.12.2021 um 09:47: Il 17/12/21 20:17, Wolfgang Schuster ha scritto:> \starttext > > \samplefile{ward}\par > > \blank > > \start \setupinterlinespace[line=12pt] > \samplefile{ward}\par > \stop > > \stoptext Yes, but you can't

Re: [NTG-context] shrink inter-line space

2021-12-18 Thread Hans Hagen via ntg-context
On 12/18/2021 9:47 AM, mf via ntg-context wrote: Il 17/12/21 20:17, Wolfgang Schuster ha scritto:> \starttext > > \samplefile{ward}\par > > \blank > > \start \setupinterlinespace[line=12pt] > \samplefile{ward}\par > \stop > > \stoptext Yes, but you ca

Re: [NTG-context] shrink inter-line space

2021-12-18 Thread mf via ntg-context
Il 17/12/21 20:17, Wolfgang Schuster ha scritto:> \starttext > > \samplefile{ward}\par > > \blank > > \start \setupinterlinespace[line=12pt] > \samplefile{ward}\par > \stop > > \stoptext Yes, but you can't say \setupinterlinespace[line=6pt] and make lines over

Re: [NTG-context] shrink inter-line space

2021-12-17 Thread Wolfgang Schuster via ntg-context
\samplefile{ward}\par \blank \start \setupinterlinespace[line=12pt] \samplefile{ward}\par \stop \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

Re: [NTG-context] adjusting vertical space

2021-11-25 Thread jbf via ntg-context
result for a half-title page, but I need to reduce the vertical space between 'A JOURNEY' and 'from the' so that the 'h' of the 'the' is just touching the baseline of the 'R' in JOURNEY. At the moment there is some distance between them. I thought I could do this with \setupinterlinespace

Re: [NTG-context] adjusting vertical space

2021-11-25 Thread Henning Hraban Ramm via ntg-context
there is some distance between them. I thought I could do this with \setupinterlinespace[] (not represented in the MWE because it did not work) but no matter what dimensions I put in there, it makes no difference. Is there another way I can make infinitesimal adjustments to distance between the two

[NTG-context] adjusting vertical space

2021-11-24 Thread jbf via ntg-context
do this with \setupinterlinespace[] (not represented in the MWE because it did not work) but no matter what dimensions I put in there, it makes no difference. Is there another way I can make infinitesimal adjustments to distance between the two lines in question? Julian \startstandardmakeup

Re: [NTG-context] Confusing interaction between \writetolist and bookmarks (bug?)

2021-11-22 Thread Musa Furber via ntg-context
\expanded{\writetolist[chapter]{}{#1}} \startBilingualTitle \noindentation\setlatin{}\tfd\setupinterlinespace\feature[+][smallcaps]\word{#1}\feature[<] \nextBilingualTitle \hfill\nextBilingualTitle \noindentation\setarabic{}\tfd\setupinterlinespace{#2} \stopBilingual

Re: [NTG-context] LMTX error processing Adobe Arabic Naskh font

2021-11-13 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
er10.otf*arabic at 28pt] % \definefont[ARABICFONT][file:almfixed.otf*arabic at 28pt] \disabledirectives[filters.utf.reorder] \noheaderandfooterlines \setupwhitespace[big] % \setupinterlinespace[line=4.2ex] \starttext % \startTEXpage[offset=1ex] \setupdirections[bidi=global,method=one] \righttoleft \

Re: [NTG-context] LMTX error processing Adobe Arabic Naskh font

2021-11-10 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
] % \setupinterlinespace[line=4.2ex] \starttext % \startTEXpage[offset=1ex] \setupdirections[bidi=global,method=one] \righttoleft \ARABICFONT خَ‍ % a خَل % \stopTEXpage \stoptext == Three bugs: I. If we use start|stoptex and comment start|stopTeXpage, then both lines 19 and 21 give

[NTG-context] LMTX error processing Adobe Arabic Naskh font

2021-11-10 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
][file:UthmanTN1_Ver10.otf*arabic at 28pt] % \definefont[ARABICFONT][file:almfixed.otf*arabic at 28pt] \disabledirectives[filters.utf.reorder] \noheaderandfooterlines \setupwhitespace[big] % \setupinterlinespace[line=4.2ex] \starttext % \startTEXpage[offset=1ex] \setupdirections[bidi=global,method=one

Re: [NTG-context] setuplocalinterlinespace not affecting the whole group?

2021-10-13 Thread Denis Maier via ntg-context
] %\setupinterlinespace[line=25.5bp] \tfb One\crlf Two Three } \stopTEXpage % For some reason \setuplocalinterlinespace[line=25.5bp] seems to affect only the first paragraph in the group, but not the distance between the two paragraphs. Using \setupinterlinespace instead

Re: [NTG-context] setuplocalinterlinespace not affecting the whole group?

2021-10-13 Thread Wolfgang Schuster via ntg-context
{ \setuplocalinterlinespace[line=25.5bp] %\setupinterlinespace[line=25.5bp] \tfb One\crlf Two Three } \stopTEXpage % For some reason \setuplocalinterlinespace[line=25.5bp] seems to affect only the first paragraph in the group, but not the distance between

[NTG-context] setuplocalinterlinespace not affecting the whole group?

2021-10-13 Thread Denis Maier via ntg-context
Hi, I have this MWE: % \definebodyfontenvironment [9bp] [ normal=9bp, b=24bp, ] \setupbodyfont[9bp] \startTEXpage { \setuplocalinterlinespace[line=25.5bp] %\setupinterlinespace[line

[NTG-context] new upload

2021-10-13 Thread Hans Hagen via ntg-context
tiesmode\zerocount \setupinterlinespace[ntop=1] \showmakeup[penalty] \placefigure[left]{}{} \input tufte \par \egroup } \page EMPTY \page % these shaping parameters will discourage a linebreak within a % shape; the placement macro checked available space but that % doesn't m

Re: [NTG-context] lmtx update/t-vim (again)

2021-08-23 Thread Benjamin Buchmuller via ntg-context
,small]\setupinterlinespace}, before={\blank[white,small]\startcodebkg}, % a bit of extra space after={\stopcodebkg}, directory=vimout/, % note: you must create this folder yourself! ] \starttext \startvimR #!/usr/bin/env R included_aa <- list( `6d1t` = 2

[NTG-context] Progressively encouraging page/column breaks at \blank with penalties

2021-08-14 Thread Joey McCollum via ntg-context
ollowing MWE, the "preference" and "penalty" options (apart from "penalty:-1") for the second line break don't change the total page count or appearance of the final page at all (which would be expected in a document of this size): ``` \setuplayout[ grid=yes %enable

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

2021-08-07 Thread Joey McCollum via ntg-context
t; > appreciated. > > Most of the stuff was already answered by Pablo. Below is my version how > to set the layout to fit the requirements. > > \definefontfamily >[garamond] >[rm] >[EBGaramond] > > \setupbodyfont >[garamond,12pt] > > \definef

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

2021-08-07 Thread Wolfgang Schuster via ntg-context
d,12pt] \definefont [MyPartFont] [Serif at 24pt] [line=36pt] \setuppagenumbering [alternative=doublesided, location=] \setupinterlinespace [line=18pt] \definepagebreak [blankpagebreak] [yes,header,footer,right] \definehead [MyPart] [part] \definecharacterkerning [mypartkerni

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

2021-08-06 Thread Joey McCollum via ntg-context
title fonts (is any of this redundant, or can it be consolidated?): \definefontsynonym [EBGaramond] [name:EBGaramond-Regular] [features=default] \definefontfamily[garamond] [rm] [EBGaramond] [features={default}] \setupbodyfont[garamond, 12pt] \setupinterlinespace[18pt] %text line spacing \definefont[My

[NTG-context] makeups with local setups

2021-06-29 Thread Jan U. Hasecke
? \setupinterlinespace [line=2ex] \startsetups[setups:cover] \setupinterlinespace [line=6ex] \stopsetups \definemakeup [coverpage] [pagestate=start] \setuplayout [coverpage] [setups=setups:cover] \starttext \startmakeup [coverpage] \input lorem \stopmakeup % from here I expect

Re: [NTG-context] makeups with local setups

2021-06-29 Thread Hans Hagen
? Or is it better to use something else? \setupinterlinespace [line=2ex] \startsetups[setups:cover]   \setupinterlinespace [line=6ex] \stopsetups \definemakeup    [coverpage]    [pagestate=start] \setuplayout    [coverpage]    [setups=setups:cover] \starttext \startmakeup   [coverpage

Re: [NTG-context] First line of larger font paragraph on grid

2021-06-28 Thread denis.maier
Ok, I've now tried to adapt my real document to this (see below). But I'm running into some problems: 1. I'm not sure whether to use \setuplocalinterlinespace or \setupinterlinespace. With \setuphead, \setuplocalinterlinespace works, but it doesn't work with \framed... But even with \setuphead

Re: [NTG-context] Adjust Grid to last line textheight

2021-06-23 Thread denis.maier
I've tried adjusting interlinespacing, but it seems to make no difference : == \setupinterlinespace[ height=.72, depth=.28, top=2, %top=0, %top=5, %top=1, bottom

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] What is the ConTeXt way to handle this \vbox trick?

2021-05-09 Thread Hans Hagen
? Thank you in advance. you can use some old, probaly never really used, mechanism ... \defineruby[auto] [align=auto,color=darkred] \defineruby[left] [align=flushleft,color=darkred] \defineruby[right] [align=flushright,color=darkred] \defineruby[spread][stretch=yes] \setupinterlinespace[22pt

[NTG-context] setupalign[line]/setupalign[height] break \testpage

2021-05-06 Thread denis.maier
? \setuppapersize[A5][A5] % Activate this and \testpage stops working %\setupalign[height] %\setuptolerance[vertical,stretch] %\setupinterlinespace[ % stretch=0.001, % shrink=0.001, % ] % \showframe \starttext \section{Section} \input knuth\par \input knuth\par \input knuth

[NTG-context] conditionally add \vfill before section if at end of page

2021-05-04 Thread denis.maier
Hi, I'm still playing/struggling with vertical glue to have pages of a constant height. The following settings give reasonable results: = \setuppapersize[A5][A5] \setupalign[line] \setuptolerance[vertical,stretch] \setupinterlinespace[ stretch=0.001

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

2021-04-29 Thread denis.maier
, ] % \setupalign[line] % \setuptolerance[vertical,verytolerant,stretch] % \setupinterlinespace[stretch=0.01] \startsetups[mypenalties] \setdefaultpenalties \setpenalties\clubpenalties{2}{0} \setpenalties\widowpenalties{2}{0} \setpenalties

Re: [NTG-context] \setupalign[height] and \setupalign[line] in LMTX

2021-04-28 Thread denis.maier
Ok, after dabbling around a bit more, I can now come up with the following example \setuppapersize[A5][A5] \showframe \setuptolerance[vertical,stretch] %\setupalign[line] %\setupinterlinespace[stretch=0.1] % vertical stretching seems to kick

Re: [NTG-context] Style options and setupinterlinespace

2021-04-27 Thread denis.maier
> -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Aditya > Mahajan > Gesendet: Dienstag, 27. April 2021 05:49 > An: mailing list for ConTeXt users > Betreff: Re: [NTG-context] Style options and setupinterlinespace > > On Mon, 26 Apr 2021, denis

Re: [NTG-context] Style options and setupinterlinespace

2021-04-27 Thread Hans Hagen
On 4/27/2021 5:49 AM, Aditya Mahajan wrote: On Mon, 26 Apr 2021, denis.ma...@ub.unibe.ch wrote: Wikified, as per Aditya's suggestion. I expanded on the description to make it clearer (hopefully). However, as I was testing, I realized that the remark about math font sizes ("These quick font

Re: [NTG-context] Style options and setupinterlinespace

2021-04-26 Thread Aditya Mahajan
On Mon, 26 Apr 2021, denis.ma...@ub.unibe.ch wrote: > Wikified, as per Aditya's suggestion. I expanded on the description to make it clearer (hopefully). However, as I was testing, I realized that the remark about math font sizes ("These quick font switches [...] do not change the bodyfont, so

Re: [NTG-context] Style options and setupinterlinespace

2021-04-26 Thread denis.maier
Wikified, as per Aditya's suggestion. Denis > -Ursprüngliche Nachricht- > Von: Maier, Denis Christian (UB) > Gesendet: Montag, 26. April 2021 22:50 > An: mailing list for ConTeXt users > Betreff: AW: [NTG-context] Style options and setupinterlinespace > > Tha

Re: [NTG-context] Style options and setupinterlinespace

2021-04-26 Thread denis.maier
Betreff: Re: [NTG-context] Style options and setupinterlinespace > > Aditya Mahajan schrieb am 26.04.2021 um 18:02: > >> Von: Maier, Denis Christian (UB) > >> Gesendet: Donnerstag, 22. April 2021 15:15 > >> An: 'mailing list for ConTeXt users' > >>

Re: [NTG-context] Style options and setupinterlinespace

2021-04-26 Thread Wolfgang Schuster
Aditya Mahajan schrieb am 26.04.2021 um 18:02: Von: Maier, Denis Christian (UB) Gesendet: Donnerstag, 22. April 2021 15:15 An: 'mailing list for ConTeXt users' Betreff: Style options and setupinterlinespace Hi, the wiki (https://wiki.contextgarden.net/Font_Switching) currently says

Re: [NTG-context] Style options and setupinterlinespace

2021-04-26 Thread Pablo Rodriguez
style=\tfx» should change > the interline spacing as well. But it does not seem to be the case as > the example below shows. To change interlinespace you need either to use \switchtobodyfont[x] or \tfx\setupinterlinespace. In my experience, \tfx doesn’t behave in a

Re: [NTG-context] Style options and setupinterlinespace

2021-04-26 Thread Aditya Mahajan
> Von: Maier, Denis Christian (UB) > Gesendet: Donnerstag, 22. April 2021 15:15 > An: 'mailing list for ConTeXt users' > Betreff: Style options and setupinterlinespace > > Hi, > > the wiki (https://wiki.contextgarden.net/Font_Switching) currently says: > >

Re: [NTG-context] Style options and setupinterlinespace

2021-04-26 Thread denis.maier
Hi again, should I change the wiki or is the current behaviour a bug (that will eventually be corrected)? Best, Denis Von: Maier, Denis Christian (UB) Gesendet: Donnerstag, 22. April 2021 15:15 An: 'mailing list for ConTeXt users' Betreff: Style options and setupinterlinespace Hi, the wiki

Re: [NTG-context] \setupalign[height] and \setupalign[line] in LMTX

2021-04-26 Thread denis.maier
] [ before={\setupindenting[yes]\tfx\setupinterlinespace}, spacebefore=medium

[NTG-context] Page building and vertical stretching

2021-04-22 Thread denis.maier
? Best, Denis \setuppapersize[A5][A5] \showframe \setupblank[big,flexible] \setupinterlinespace[stretch=0.03] \setuptolerance[vertical,stretch] \setupalign[height] \setuphead [section,subject] [ before={\blank[2*big,flexible

[NTG-context] Style options and setupinterlinespace

2021-04-22 Thread denis.maier
nedelimitedtext[blockquoteB] \setupdelimitedtext[blockquoteB] [ before={\tfx\setupinterlinespace}, spacebefore=medium,

[NTG-context] \setupalign[height] and \setupalign[line] in LMTX

2021-04-22 Thread denis.maier
] [ before={\setupindenting[yes]\tfx\setupinterlinespace}, spacebefore=medium, indentnext

[NTG-context] Grid typesetting, blockquotes in smaller font across pagebreaks

2021-03-25 Thread denis.maier
] [ style=\tfx, %style=\tfx\setupinterlinespace, % this breaks grid snapping spacebefore=halfline

Re: [NTG-context] efficiently scaling fonts

2020-12-24 Thread Pablo Rodriguez
][style=\bfe] \dostepwiserecurse {10} {2020} {10} { \title{Here we go #1!} \start \glyphxscale#1\relax \glyphyscale#1\relax \setupinterlinespace \samplefile{ward}% \start \bf \samplefile{ward}% \glyphxscale\numexpr(#

[NTG-context] efficiently scaling fonts

2020-12-24 Thread Hans Hagen
\definescaledfont[bfe][xscale=2000,yscale=6000,style=bf] \setuphead[chapter][style=\bfe] \dostepwiserecurse {10} {2020} {10} { \title{Here we go #1!} \start \glyphxscale#1\relax \glyphyscale#1\relax \setupinterlinespace \samplefile{ward}% \start \bf \samplefile

Re: [NTG-context] MetaFun - "remove the paths of text" from a rectangle to let the background visible

2020-12-23 Thread Hans Hagen
(0,1) withshadecolors (red, blue) ; \stopuseMPgraphic \defineoverlay[MyShade][\useMPgraphic{MyShade}] \setupbackgrounds[page][background=MyShade] \startmakeup \definedfont[SerifBold*default @ 50pt] \setupinterlinespace \defineeffect[MyOutline][alternative=outer,rulethickness

[NTG-context] new font trickery

2020-12-22 Thread Hans Hagen
\glyphscale#1\relax \setupinterlinespace \samplefile{ward}% \bf \samplefile{ward} \par \stop \page } \stopbuffer \getbuffer \title{Scaled fonts} Although \CONTEXT\ is quite efficient with fonts there is always room for improvement. However, after years of finetuning the font

  1   2   3   4   5   6   7   8   9   10   >