[NTG-context] Re: Japanese

2024-03-02 Thread Wolfgang Schuster
etscript[nihongo] \begingroup \showmakeup[glyph,fontkern] % \startfont[file:notosanscjkjpregular*default]「うわアぬすと狐め」と、どなりたてました。\stopfont % % \startfont[file:notosanscjkjpregular*default]「「うわアぬすと狐め」と、「どなりたてました」。\stopfont % % \startfont[file:notosanscjkjpregular*default,halt]「うわアぬすと狐め」と、どなりたて

[NTG-context] backend not forcing 1000 width units on fonts; em size must be applied or else fails

2023-08-20 Thread Carlos
end with any font other than latin modern > > Here > > \setupbodyfont[stixtwo] > > > \setuplayout[width=16cm] > \showmakeup > > \starttext > > Thus, I came to the conclusion that the designer of a new > system must not only be the implementer and

[NTG-context] Re: redefine space to be the same as \␣ similar to knuthian approach

2023-08-19 Thread Mikael Sundqvist
th any font other than latin modern Here \setupbodyfont[stixtwo] \setuplayout[width=16cm] \showmakeup \starttext Thus, I came to the conclusion that the designer of a new system must not only be the implementer and first large||scale user; the designer should also write the first user manual. \

[NTG-context] Re: redefine space to be the same as \␣ similar to knuthian approach

2023-08-19 Thread Carlos
I sent prior to your message? > 2. The example below results in a correct output for \TEX. > Not in my end with any font other than latin modern > \setuplayout[width=16cm] > \showmakeup > > \starttext > > Thus, I came to the conclusion that the designer of a new >

[NTG-context] unsubscribe

2023-08-18 Thread Thomas Floeren via ntg-context
n >>> of any of these four components would have hurt \TeX\ significantly. } >> >> Likewise what? >> >>> >>> The next sentence: «If I had not participated…» does not get any >>> \nofrenchspacing which is equally and doubly problematic. It shows lack of >>

[NTG-context] Re: redefine space to be the same as \␣ similar to knuthian approach

2023-08-18 Thread Wolfgang Schuster
Hi, 1. Learn to two provide a working minimal example which shows the problem. 2. The example below results in a correct output for \TEX. \setuplayout[width=16cm] \showmakeup \starttext Thus, I came to the conclusion that the designer of a new system must not only be the implementer

[NTG-context] Re: redefine space to be the same as \␣ similar to knuthian approach

2023-08-18 Thread Carlos
consistency. And this ought not to be an ‹either› ‹or› scenario. But > > rather, an and conjunctional construct. It fails both ways. > > Consistency of what? Spacing? Where? Can you make a complete example? > (You can show space amount with \showmakup[space]) yes. and showmakeup d

[NTG-context] Re: Tracker for hyphens at the end of lines

2023-08-09 Thread denis.maier
e hyphens at the edge of lines. > >> > >> Any help would be appreciated. > > I suppose you would be disappointed it there was no tracker ... > > > > \enabletrackers[hyphenation.applied.console] > > \enabletrackers[hyphenation.applied.visualize] >

[NTG-context] Re: Tracker for hyphens at the end of lines

2023-08-01 Thread Keith McKay
letrackers[hyphenation.applied.console] \enabletrackers[hyphenation.applied.visualize] you even get a file with the hyphenated words You can see all of them with \disabledirectives[backend.cleanup.flatten] \bitwiseflip \normalizelinemode -\flattendiscretionariesnormalizecode \showmakeup[discretionary] weren't it

[NTG-context] Re: Tracker for hyphens at the end of lines

2023-08-01 Thread Hans Hagen via ntg-context
up.flatten] \bitwiseflip \normalizelinemode -\flattendiscretionariesnormalizecode \showmakeup[discretionary] weren't it that i had to provide the directive for this to work well (disbale flattening) so for that you have to wait till we upd

[NTG-context] Re: Par Builder Tests

2023-07-21 Thread Hans Hagen
] \setcounter[userpage][1] %\showmakeup[vbox] %\showlayout \dostepwiserecurse{0}{30}{1}{ \xmlprocessfile{mysetups}{/path to xhtml files/4439720318703948998_84-h-\recurselevel.htm.xhtml}{} } \stoptext Below are the result showing the number of overfull boxes for these novels using the setups

[NTG-context] Par Builder Tests

2023-07-21 Thread Keith McKay
] %\setupalignpass[test1] \setupalignpass[test2] %\setupalignpass[test3] %\setupalignpass[test4] %\setupalignpass[test5] %\setupalignpass[optional1] %\setupalignpass[test2b] \starttext \setuppagenumbering[location={footer,middle},alternative=doublesided,state=start] \setcounter[userpage][1] %\showmakeup

[NTG-context] Re: \showmakeup adds unwanted space despite accurate readings; \qquad mandatory before \TeX\

2023-07-07 Thread Hans Hagen via ntg-context
On 7/7/2023 1:09 PM, Carlos wrote: \showmakeup displays it astonishingly correctly indeed probably a side effect of the fact that injected stuff resynchronizes the character progression in the pdf file (every char start with explicit coordinates) while without showing it depends on the width

[NTG-context] Re: \showmakeup adds unwanted space despite accurate readings; \qquad mandatory before \TeX\

2023-07-07 Thread Carlos
2:32PM +0200, Hans Hagen wrote: > > > > > On 7/5/2023 5:53 PM, Carlos wrote: > > > > > > On Wed, Jul 05, 2023 at 04:43:56PM +0200, Hans Hagen wrote: > > > > > > > On 7/5/2023 3:18 PM, Carlos wrote: > > > > > > > > \showmakeup

[NTG-context] Re: \showmakeup adds unwanted space despite accurate readings; \qquad mandatory before \TeX\

2023-07-06 Thread Carlos
> > > > > On Wed, Jul 05, 2023 at 04:43:56PM +0200, Hans Hagen wrote: > > > > > > On 7/5/2023 3:18 PM, Carlos wrote: > > > > > > > \showmakeup on \TeX\ shows a > > > > > > > > > > > >

[NTG-context] Re: \showmakeup adds unwanted space despite accurate readings; \qquad mandatory before \TeX\

2023-07-06 Thread Carlos
On Wed, Jul 05, 2023 at 07:37:56PM +0200, Hans Hagen via ntg-context wrote: > On 7/5/2023 7:05 PM, Carlos wrote: > > > And I don't want to stir up anything here either, but if the convention of > > using non-official vs official fonts is the new de facto under lmtx, > > I guess my opening

[NTG-context] Re: \showmakeup adds unwanted space despite accurate readings; \qquad mandatory before \TeX\

2023-07-06 Thread Carlos
te: > > > > > On 7/5/2023 3:18 PM, Carlos wrote: > > > > > > \showmakeup on \TeX\ shows a > > > > > > > > > > > > tSP:3.282 > > > > > > THK:-1.721 > > > > > > H__E > > > >

[NTG-context] Re: \showmakeup adds unwanted space despite accurate readings; \qquad mandatory before \TeX\

2023-07-05 Thread Hans Hagen via ntg-context
On 7/5/2023 7:05 PM, Carlos wrote: And I don't want to stir up anything here either, but if the convention of using non-official vs official fonts is the new de facto under lmtx, I guess my opening question is invalid by all acounts Well, the policy wrt font is quite simple: (1) one can

[NTG-context] Re: \showmakeup adds unwanted space despite accurate readings; \qquad mandatory before \TeX\

2023-07-05 Thread Carlos
On Wed, Jul 05, 2023 at 06:15:41PM +0200, Alan Braslau via ntg-context wrote: > On 05/07/23 05/07/23, 17:53, Carlos wrote: > > (sorry for duplicate messages. sending out to mailing list works > > sporadically Sometimes works, other times doesn't). > > As reported, the contextgarden server was

[NTG-context] Re: \showmakeup adds unwanted space despite accurate readings; \qquad mandatory before \TeX\

2023-07-05 Thread Carlos
On Wed, Jul 05, 2023 at 06:12:32PM +0200, Hans Hagen wrote: > On 7/5/2023 5:53 PM, Carlos wrote: > > On Wed, Jul 05, 2023 at 04:43:56PM +0200, Hans Hagen wrote: > > > On 7/5/2023 3:18 PM, Carlos wrote: > > > > \showmakeup on \TeX\ shows a > > > > > &g

[NTG-context] Re: \showmakeup adds unwanted space despite accurate readings; \qquad mandatory before \TeX\

2023-07-05 Thread Hans Hagen
On 7/5/2023 6:38 PM, Carlos wrote: On Wed, Jul 05, 2023 at 06:12:32PM +0200, Hans Hagen wrote: On 7/5/2023 5:53 PM, Carlos wrote: On Wed, Jul 05, 2023 at 04:43:56PM +0200, Hans Hagen wrote: On 7/5/2023 3:18 PM, Carlos wrote: \showmakeup on \TeX\ shows a tSP:3.282 THK:-1.721 H__E X HK:-1.291

[NTG-context] Re: \showmakeup adds unwanted space despite accurate readings; \qquad mandatory before \TeX\

2023-07-05 Thread Carlos
On Wed, Jul 05, 2023 at 06:12:32PM +0200, Hans Hagen wrote: > On 7/5/2023 5:53 PM, Carlos wrote: > > On Wed, Jul 05, 2023 at 04:43:56PM +0200, Hans Hagen wrote: > > > On 7/5/2023 3:18 PM, Carlos wrote: > > > > \showmakeup on \TeX\ shows a > > > > > &g

[NTG-context] Re: \showmakeup adds unwanted space despite accurate readings; \qquad mandatory before \TeX\

2023-07-05 Thread Alan Braslau via ntg-context
On 05/07/23 05/07/23, 17:53, Carlos wrote: (sorry for duplicate messages. sending out to mailing list works sporadically Sometimes works, other times doesn't). As reported, the contextgarden server was down following a disk controller failure and had taken some time to be reconfigured with

[NTG-context] Re: \showmakeup adds unwanted space despite accurate readings; \qquad mandatory before \TeX\

2023-07-05 Thread Hans Hagen
On 7/5/2023 5:53 PM, Carlos wrote: On Wed, Jul 05, 2023 at 04:43:56PM +0200, Hans Hagen wrote: On 7/5/2023 3:18 PM, Carlos wrote: \showmakeup on \TeX\ shows a tSP:3.282 THK:-1.721 H__E X HK:-1.291 SP:3.282 no MWE includes so clueless \starttypescript[mylucidaserif] \definefontsynonym

[NTG-context] Re: \showmakeup adds unwanted space despite accurate readings; \qquad mandatory before \TeX\

2023-07-05 Thread Carlos
On Wed, Jul 05, 2023 at 11:53:47AM -0400, Carlos wrote: > On Wed, Jul 05, 2023 at 04:43:56PM +0200, Hans Hagen wrote: > > On 7/5/2023 3:18 PM, Carlos wrote: > > > \showmakeup on \TeX\ shows a > > > > > > tSP:3.282 > > > THK:-1.721 > > > H__E

[NTG-context] Re: \showmakeup adds unwanted space despite accurate readings; \qquad mandatory before \TeX\

2023-07-05 Thread Carlos
On Wed, Jul 05, 2023 at 04:43:56PM +0200, Hans Hagen wrote: > On 7/5/2023 3:18 PM, Carlos wrote: > > \showmakeup on \TeX\ shows a > > > > tSP:3.282 > > THK:-1.721 > > H__E > > X > > HK:-1.291 > > SP:3.282 > > no MWE includes so cluel

[NTG-context] Re: \showmakeup adds unwanted space despite accurate readings; \qquad mandatory before \TeX\

2023-07-05 Thread Hans Hagen
On 7/5/2023 3:18 PM, Carlos wrote: \showmakeup on \TeX\ shows a tSP:3.282 THK:-1.721 H__E X HK:-1.291 SP:3.282 no MWE includes so clueless > I assume that SP stands for space. Correct me if I'm wrong After reading some of the manuals that mention \showmakeup with and without [spa

[NTG-context] Re: \showmakeup adds unwanted space despite accurate readings; \qquad mandatory before \TeX\

2023-07-05 Thread Carlos
On Wed, Jul 05, 2023 at 09:32:51AM -0400, Carlos wrote: > On Wed, Jul 05, 2023 at 09:18:35AM -0400, Carlos wrote: > > \showmakeup on \TeX\ shows a > > > > tSP:3.282 > > THK:-1.721 > > H__E > > X > > HK:-1.291 > > SP:3.282 > > >

[NTG-context] Re: \showmakeup adds unwanted space despite accurate readings; \qquad mandatory before \TeX\

2023-07-05 Thread Carlos
On Wed, Jul 05, 2023 at 09:18:35AM -0400, Carlos wrote: > \showmakeup on \TeX\ shows a > > tSP:3.282 > THK:-1.721 > H__E > X > HK:-1.291 > SP:3.282 > > I assume that SP stands for space. Correct me if I'm wrong > > After reading some of the manuals that me

[NTG-context] \showmakeup adds unwanted space despite accurate readings; \qquad mandatory before \TeX\

2023-07-05 Thread Carlos
\showmakeup on \TeX\ shows a tSP:3.282 THK:-1.721 H__E X HK:-1.291 SP:3.282 I assume that SP stands for space. Correct me if I'm wrong After reading some of the manuals that mention \showmakeup with and without [spaces] and so forth, I couldn't find any more info related to this. If anyone

Re: [NTG-context] new version

2023-06-23 Thread Marcus Vinicius Mesquita via ntg-context
fset=1ts] > \startcombination[1*3] > {\startoverlay > {\vtop{\showmakeup[space]\hsize #1mm\ttest > \samplefile{tufte}}} > {\vtop{\showmakeup[space]\hsize #1mm\rtest > \setupalign[granular]\samplefile{tufte}}} > \stopoverla

Re: [NTG-context] new version

2023-06-23 Thread Hans Hagen via ntg-context
] \definecolor[rtest][a=1,t=.5,r=1] \dostepwiserecurse{80}{120}{1}{ \startTEXpage[offset=1ts] \startcombination[1*3] {\startoverlay {\vtop{\showmakeup[space]\hsize #1mm\ttest \samplefile{tufte}}} {\vtop{\showmakeup[space]\hsize #1mm\rtest

Re: [NTG-context] Spacing problem around decimal point

2023-03-26 Thread Bruce Horrocks via ntg-context
} = 0.935 >>>> \stopformula >>>> \stoptext >>>> This produces the result attached below. The 1.32 looks fine, but >>>> the next two >>>> numbers have excess space around the decimal point. Adding the line >>>> \showmakeup[mathglue] %\m

Re: [NTG-context] Spacing problem around decimal point

2023-03-26 Thread Jim via ntg-context
This produces the result attached below. The 1.32 looks fine, but >>> the next two >>> numbers have excess space around the decimal point. Adding the line >>>\showmakeup[mathglue] %\mathspacingmode=1 >>> to the preamble reveals that the second and th

Re: [NTG-context] Spacing problem around decimal point

2023-03-26 Thread Günter Kolousek via ntg-context
the decimal point. Adding the line \showmakeup[mathglue] %\mathspacingmode=1 to the preamble reveals that the second and third decimal points are being treated as binary operators. It’s very strang. Are others getting this? can you pick up a binary from: https://dl.contextgarden.net/build

Re: [NTG-context] Spacing problem around decimal point

2023-03-26 Thread Hans Hagen via ntg-context
fine, but the next two numbers have excess space around the decimal point. Adding the line \showmakeup[mathglue] %\mathspacingmode=1 to the preamble reveals that the second and third decimal points are being treated as binary operators. It’s very strang. Are others getting this? can you pick up

Re: [NTG-context] Spacing problem around decimal point

2023-03-26 Thread Hans Hagen via ntg-context
fine, but the next two numbers have excess space around the decimal point. Adding the line \showmakeup[mathglue] %\mathspacingmode=1 to the preamble reveals that the second and third decimal points are being treated as binary operators. It’s very strang. Are others getting this? weird indeed

[NTG-context] Spacing problem around decimal point

2023-03-25 Thread Gavin via ntg-context
the decimal point. Adding the line \showmakeup[mathglue] %\mathspacingmode=1 to the preamble reveals that the second and third decimal points are being treated as binary operators. It’s very strang. Are others getting this? Gavin PastedGraphic-1.pdf Description: Adobe PDF document

Re: [NTG-context] new upload

2022-12-27 Thread Floris van Manen via ntg-context
cell three \NC \darkblue cell three \NC \NR \TM[a] \NC \darkred cell four \NC \darkgray cell four \NC \NR \TM[b] \NC \darkgreen cell four \NC \darkblue cell four \NC \NR \stoptabulate \stopbuffer \start \showmakeup[line] \showstruts \ruledvbox{\getbuffer[b]} \stop \start

[NTG-context] new upload

2022-12-27 Thread Hans Hagen via ntg-context
three \NC \darkblue cell three \NC \NR \TM[a] \NC \darkred cell four \NC \darkgray cell four \NC \NR \TM[b] \NC \darkgreen cell four \NC \darkblue cell four \NC \NR \stoptabulate \stopbuffer \start \showmakeup[line] \showstruts \ruledvbox{\getbuffer[b]} \stop \start

Re: [NTG-context] xtables regression with LMTX 2022-12-21

2022-12-22 Thread Hans Hagen via ntg-context
for noticing, i uploaded a new lmtx as a reward i'll reveal a new mechanism: \useMPlibrary[dum] \definetextdisplay[steppedbystep][before={\blank[halfline]}] \starttext \showmakeup[line] \dostepwiserecurse{10}{25}{1}{ \par \starttextdisplay \externalfigure

[NTG-context] Unwanted space with \startframedtext

2022-12-21 Thread Max Chernoff via ntg-context
Hi Hans, There's an uncommented linebreak in the definition of \pack_framed_text_start that's introducing an unwanted space just before \startframedtext. Minimal example: \showmakeup[space] \starttext \hbox{.\startframedtext.\stopframedtext} \stoptext Patch: --- texmf

[NTG-context] Dimension atom in math? (was: Spacing in \unit)

2022-10-12 Thread Gavin via ntg-context
Hi List, I am trying to improve the spacing produced by the \unit command. I have solved three of my four issues by modifying phys-dim.mkxl, but the fourth issue has me stumped. Consider this example: \showmakeup[mathglue] \mathspacingmode=1 \starttext \startformula \unit{1.23e5 kg m^2/s^2

[NTG-context] Spacing in \unit

2022-10-08 Thread Gavin via ntg-context
Hi list, I made a small example with all of the issues I am trying to fix for the \units command. The first formula below uses the \unit command, but produces strange spacing. The second formula produces the desired spacing, without using the \unit command. \showmakeup[mathglue

[NTG-context] Spacing issue with \digits in math mode

2022-10-04 Thread Gavin via ntg-context
the “x" in scientific notation, which might be accomplished the same way. Thanks for all the work on spacing in math! Gavin \setuppapersize[A4] \showmakeup[mathglue] %\mathspacingmode=1 \starttext Digits in math mode have problems with comma separators. \startbuffer 10 \setdigitmo

Re: [NTG-context] new uplaod

2022-09-11 Thread Hans Hagen via ntg-context
| www.pragma-pod.nl - % \setupbodyfont[cambria] \setupbodyfont[pagella] % \setupbodyfont[bonum] \starttext % \showmakeup[mathglue] \mathspacingmode1 \showglyphs \enablemathautospacing % more global \enablemathautofencing % more global

Re: [NTG-context] update

2022-08-05 Thread Hans Hagen via ntg-context
ers[math.dictionaries] \starttext \definemathgroupset[demoa][binary arithmic,nary relation] \definemathgroupset[demob][binary relation,nary relation] % \tracingmath2 \tracingonline2 \showmakeup[mathglue] \startbuffer[a] $ a \leq b \geq c < d > e = \naturalnumbers = ℕ$ \stopbuffer \getbuffer[a] \blank

Re: [NTG-context] upload

2022-07-07 Thread Hans Hagen via ntg-context
, and everything looks really nice! Thanks. Btw, you can run with \showmakeup[mathglue] % \mathspacingmode=1 to see what math atoms are 'seen' (the spacingmode also injects zero spaces) (there are other tracers too but this is the one we use most) Hans

Re: [NTG-context] upload

2022-03-28 Thread Otared Kavian via ntg-context
ealignments. We can use them for example to > collect some equations with a brace (and give the collection one > number). > > /Mikael > > \setupbodyfont[lucidadk] > > \definemathsimplealign[collecteqequations][ > left={\startmathfenced[sesac]}, > right=\stopmath

Re: [NTG-context] upload

2022-03-28 Thread Mikael Sundqvist via ntg-context
ecteqequations][ left={\startmathfenced[sesac]}, right=\stopmathfenced, align={1:right,2:left}, ] \starttext %\showmakeup[mathglue] ${\mathcal ABC}$ and ${\mathscr ABC}$ \placeformula \startformula \startcollecteqequations \NC x \NC = r\sin\theta\cos\phi\NR \NC y \NC = r\sin\theta\sin\phi \NR \NC z \NC

Re: [NTG-context] Problems with itemize with several columns

2022-02-25 Thread Bruce Horrocks via ntg-context
ons-amb-fraccions-2]{multiplicació i divisió} > Opereu: > \startitemize[a, columns] > > > the 'c' jumps. > > Isn't ConTeXt capable of handle that? Please see the attached PDF which is your sample with the command \showmakeup[vbox] added after \starttext The green l

Re: [NTG-context] new upload, new trickery

2021-11-16 Thread Marcus Vinicius Mesquita via ntg-context
}% > \ignorespaces > \input tufte > \stoptext > > Indeed it looks bad (ugly) but it illustrates the idea. What makes > vadjust sort of useless for content is that it messes up spacing (but if > there is real demand and usage i can sort that out at some point, maybe

[NTG-context] new upload, new trickery

2021-10-28 Thread Hans Hagen via ntg-context
demand and usage i can sort that out at some point, maybe some new options or so). Thsi example also brings us to local boxes: \showframe \starttext \showmakeup[hbox] \startnarrower[2*left] \raggedleft {\localleftbox par {L1}\input tufte \par} \stopnarrower \blank \startnarrower[2*middle

Re: [NTG-context] upload

2021-10-21 Thread Mikael Sundqvist via ntg-context
tarttext > > \dostepwiserecurse{40}{110}{2}{ > \startTEXpage[offset=4mm,width=#1mm,align={stretch,normal,tolerant}] > \showmakeup[penalty]% > \orphanpenalties 4 4000 3000 2000 1000\relax > \updateparagraphpenalties > \samplefile{tufte} >

[NTG-context] upload

2021-10-21 Thread Hans Hagen via ntg-context
=darkred] \stopTEXpage (there always were command line options for it) More interesting is asome new experimental code: \starttext \dostepwiserecurse{40}{110}{2}{ \startTEXpage[offset=4mm,width=#1mm,align={stretch,normal,tolerant}] \showmakeup[penalty]% \orphanpenalties 4 4000

[NTG-context] new upload

2021-10-13 Thread Hans Hagen via ntg-context
th) \starttext \showframe % this is the current default behaviour; we have a topskip with % quite some stretch and that stretch is taken into account % when tex calculates the badness; watch the next page \dorecurse{4}{ \bgroup \shapingpenaltiesmode\zerocount \sho

[NTG-context] lmtx upload

2021-06-24 Thread Hans Hagen
\showmakeup[math] f = 10 $ $ \mathcontrolmode\plusone \bitwiseflip\mathfontcontrol\orditalickernmathcontrolcode \bitwiseflip\mathfontcontrol\charitalicnoreboxmathcontrolcode \bitwiseflip\mathfontcontrol\orditalickernmathcontrolcode \bitwiseflip\mathfontcontrol

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

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

[NTG-context] new upload lmtx

2021-06-18 Thread Hans Hagen
enupheight5mm^1_2^^3__4 \mathinner{\vrule height 30mm depth 30mm width 5mm} \rab\Umathadapttoleft \Umathnoaxis\Umathvoid\Umathopenupdepth 5mm^5_6^^7__8 $ \stopTEXpage \startTEXpage[offset=5mm] $ \showmakeup[math] \rab\Umathadapttoright\Umathnoaxis\Umathopenupheight 5mm^1_2^^3__4 \

[NTG-context] new upload

2021-06-13 Thread Hans Hagen
axis\Umathvoid\Umathopenupheight5mm^1_2^^3__4 \mathinner{\vrule height 30mm depth 30mm width 5mm} \rab\Umathadapttoleft \Umathnoaxis\Umathvoid\Umathopenupdepth 5mm^5_6^^7__8 $ \stopTEXpage \startTEXpage[offset=5mm] $ \showmakeup[math] \rab\Umathadapttoright\Umathnoaxis\Umathopenuphe

Re: [NTG-context] dictionary example

2021-06-13 Thread Hans Hagen
}   ] 2nd, note the before={\vskip 0.5\lineheight}. A bit of a hack one has to admit, but it solves the problem of reducing the gap between each entry. Instead of using \vskip try to use blank because that also handles whitespace and unwanted breaks. \starttext \showmakeup[line,glue] \strut test

Re: [NTG-context] new upload

2021-06-01 Thread Hans Hagen
correction prevention, as shown in: \starttext \startTEXpage[offset=10pt] \showglyphs \startcombination[nx=3,ny=1] \startcontent \framed[strut=no,align=normal,offset=1ex]\bgroup \showmakeup[math,kern]% $a = b + c$\par $b = c + d$\par $c = e

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

2021-04-29 Thread denis.maier
\displaywidowpenalties{2}{0} \stopsetups \setuplayout[setups=mypenalties] %\showframe \showmakeup \showsetups \starttext \dorecurse{5}{\input knuth\par} \stoptext === > -Ursprüngliche Nachricht- > Von: Maier, Denis Christian (UB) > Gesendet: Donne

[NTG-context] calculating optimal height of textblock

2021-04-28 Thread denis.maier
=mypenalties] %\showframe \showmakeup %\showsetups \starttext \dorecurse{5}{\input knuth\par} \stoptext = How do you do this usually? Any best-practices? Hints? Trial and error seems to work ok, but maybe there is a more efficient method... Best Denis

[NTG-context] lmtx update: two experimental features

2021-04-18 Thread Hans Hagen
Just try this (notice the spacing): \startTEXpage[offset=10pt] \showmakeup[mathglue]% \enableexperiments[simplegroups]% $ a = b \color[red]{=} c \startcolor[blue]=\stopcolor d $\par $ \sin \color[green]{(x)} = \sin {(x)} $\par \disableexperiments[simplegroups]% $ a = b \col

[NTG-context] flushleft nbsp with unequal width

2020-11-23 Thread Jano Kula
Hello, with \setupalign[flushleft] non-breakable space has different width than regular space. With pure \rightskip0pt plus 1fill all spaces are equal. Is this wanted behaviour or do I miss additional settings? \showmakeup[glue] \startTEXpage[width=80mm,offset=5mm] \rightskip0pt plus 1fill woo

Re: [NTG-context] Fwd: Continued fractions in ConTeXt

2020-06-29 Thread Jairo A. del Rio
will look okay: > > \definemathfraction >[gefrac] >[d:frac] > > \setupmathfraction >[gefrac] >[mathstyle=display, > alternative=inner, > rule=hidden] > > \unexpanded\def\cofrac#1#2{% > \rlap{\cfrac{1}{\phantom{#1}}}% > \gefrac{}{\gef

Re: [NTG-context] Fwd: Continued fractions in ConTeXt

2020-06-29 Thread Hans Hagen
\startformula \showmakeup[kern] \alpha + \cofrac {\alpha'} {\cofrac {\alpha''} {\cofrac {\alpha'''} {\endfrac {\ddots + \frac{1}{\alpha'''} \stopformula \stopTEXpage \stoptext

[NTG-context] \registerhyphenationexception not working

2020-03-07 Thread Jano Kula
Hello Hans, \registerhyphenationexception as described in latest languages-mkiv.pdf and i-context.pdf does nothing, contrary to \startexceptions, which behaves as expected. Here is the minimal example: \mainlanguage[cs] \showmakeup[discretionary] \registerhyphenationexception[cs][cíl-em

Re: [NTG-context] structures.lists.ordered empty in latest beta

2018-08-19 Thread Joseph Canedo
; hm, not here, so question for wolfgang: > > can you run the test with > > \showmakeup[whatsit] > > and see if there are lateluas shown The visualizer for section 16 appears one the first page but the section itself is moved to the second page. Wolfgang _

Re: [NTG-context] structures.lists.ordered empty in latest beta

2018-08-18 Thread Wolfgang Schuster
for wolfgang: can you run the test with \showmakeup[whatsit] and see if there are lateluas shown The visualizer for section 16 appears one the first page but the section itself is moved to the second page. Wolfgang resolvers > trees > analyzing 'home:texmf' open source > level

Re: [NTG-context] structures.lists.ordered empty in latest beta

2018-08-18 Thread Hans Hagen
with \showmakeup[whatsit] and see if there are lateluas shown (beta on ftp) Joseph *De : *Hans Hagen <mailto:j.ha...@xs4all.nl> *Envoyé le :*samedi 18 août 2018 13:48 *À : *mailing list for ConTeXt users <mailto:ntg-context@ntg.nl>; Wolfgang Schuster <mailto:wolfgang.schuster.li...@gma

Re: [NTG-context] show bounding boxes

2017-08-24 Thread Herbert Voss
Am 24.08.2017 um 15:46 schrieb Hans Hagen: you can enable some tracers: \starttext \bgroup \showglyphs \showfontkerns \showmakeup[hbox] »Tee for Two« shows negative kerning. \input sapolsky \par \egroup \stoptext thanks, works fine! Herbert (I will add

Re: [NTG-context] show bounding boxes

2017-08-24 Thread Hans Hagen
: \starttext \bgroup \showglyphs \showfontkerns \showmakeup[hbox] »Tee for Two« shows negative kerning. \input sapolsky \par \egroup \stoptext (I will add a \showmakeup[line] that will mark lines

Re: [NTG-context] Adjusting column width dynamically to get rid of orphans and widows

2017-06-26 Thread Thomas Widmann
mn >> until the column doesn't generate orphan/widow >> >> Is this possible with ConTeXt/LuaTeX? > > maybe be more explicit with very large penalties helps > > \startdocument > > \showmakeup[penalty] > > [...] > > \stopdocument Thanks, Hans, that's a ver

Re: [NTG-context] Adjusting column width dynamically to get rid of orphans and widows

2017-06-25 Thread Hans Hagen
repeat adjust parameters (column width, looseness, ...) typeset column until the column doesn't generate orphan/widow Is this possible with ConTeXt/LuaTeX? maybe be more explicit with very large penalties helps \startdocument \showmakeup[penalty] \startbuffer \dorecurse{30}{ \widowp

Re: [NTG-context] framedtext

2016-04-11 Thread Hans Hagen
(you can use \showmakeup to see what is in a \framed box) - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.com

Re: [NTG-context] Microtypography in ConTeXt

2016-04-06 Thread Hans Hagen
refers to some logging or visualization of spacing. AFAIR ConTeXt can do that very nicely (while I never used it and don’t know how to enable it). \starttext \start \showfontkerns \showmakeup[glue] \input tufte \par \stop \st

Re: [NTG-context] Length range control of the last line of paragraph

2016-03-25 Thread Hans Hagen
) emememememememememememememememememememem emememememem (longest) emememememememememememememememememememem emememememememememememememememememem I slightly modified your example and even with verystrict settings all seems to be fine (except too narrow blocks, which is not my use case). \showmakeup[glue] \setupindenting[yes,2em

Re: [NTG-context] Length range control of the last line of paragraph

2016-03-25 Thread Hans Hagen
emememememememememememememememememem I slightly modified your example and even with verystrict settings all seems to be fine (except too narrow blocks, which is not my use case). \showmakeup[glue] \setupindenting[yes,2em] \edef\ward{\cldloadfile{ward}} \setupalign[verystrict,hz] \starttext \dorecurse{100}{ \hsize

Re: [NTG-context] Length range control of the last line of paragraph

2016-03-25 Thread Jan Tosovsky
-- So there are two last line lengths extrems: (shortest) emememememememememememememememememememem emememememem (longest) emememememememememememememememememememem emememememememememememememememememem I slightly modified your example and even with verystrict settings all seems to be fine (except too

Re: [NTG-context] Length range control of the last line of paragraph

2016-03-24 Thread Hans Hagen
TeX interpretation of the above pseudo code may be inappropriate... you can see what glue eventually is used with: \showmakeup[glue] \start \parfillskip 123pt \relax \input tufte \par \parfillskip 123pt plus 1fil \relax \input tufte \par \parfillskip 123pt \relax \input

Re: [NTG-context] Length range control of the last line of paragraph

2016-03-24 Thread Jan Tosovsky
at the end of the line ... so like any skip > and if you give it a fill that will be taken into account in > linebreaks (just like other fill) > > \starttext > > \dorecurse{100}{testtesttesttesttest #1 \hskip0ptplus1fill\relax} > > \stoptext > To be honest, I can'

Re: [NTG-context] bug in latest beta?

2015-06-01 Thread Otared Kavian
from 2015.05.15 11:42 includes a wrong page break. The setups for widow and orphan lines move the two last lines to the next page. Could anyone confirm this bug? i wonder if it's a bug or just tex's decision ... you can use \showmakeup[penalty] and see what penalties get injected

Re: [NTG-context] bug in latest beta?

2015-05-31 Thread Hans Hagen
includes a wrong page break. The setups for widow and orphan lines move the two last lines to the next page. Could anyone confirm this bug? i wonder if it's a bug or just tex's decision ... you can use \showmakeup[penalty] and see what penalties get injected are the linebreaks identical, i.e. same

Re: [NTG-context] bug in latest beta?

2015-05-31 Thread Pablo Rodriguez
for widow and orphan lines move the two last lines to the next page. Could anyone confirm this bug? i wonder if it's a bug or just tex's decision ... you can use \showmakeup[penalty] and see what penalties get injected are the linebreaks identical, i.e. same hyphenation? Many thanks for your

Re: [NTG-context] bug in latest beta?

2015-05-28 Thread Hans Hagen
2015.05.24 12:42 (or even with beta from 2015.05.15 11:42 includes a wrong page break. The setups for widow and orphan lines move the two last lines to the next page. Could anyone confirm this bug? i wonder if it's a bug or just tex's decision ... you can use \showmakeup[penalty] and see what penalties

Re: [NTG-context] new blank

2014-03-28 Thread Jannik Voges
in the beta \showmakeup \starttext \strut \hfill first line \blank[overlay] second line \hfill \strut \ruledvbox { \strut \hfill line 1 \blank[overlay] line 2\hfill \strut \blank[overlay] \strut \hfill line 3\hfill \strut } \startitemize[n] \item bla \item

[NTG-context] new blank

2014-03-27 Thread Hans Hagen
Hi, this works ok in the beta \showmakeup \starttext \strut \hfill first line \blank[overlay] second line \hfill \strut \ruledvbox { \strut \hfill line 1 \blank[overlay] line 2\hfill \strut \blank[overlay] \strut \hfill line 3\hfill \strut } \startitemize[n] \item

Re: [NTG-context] new blank

2014-03-27 Thread Vladimir Lomov
Hello, ** Hans Hagen [2014-03-27 20:09:55 +0100]: Hi, this works ok in the beta \showmakeup \starttext \strut \hfill first line \blank[overlay] second line \hfill \strut \ruledvbox { \strut \hfill line 1 \blank[overlay] line 2\hfill \strut \blank[overlay

Re: [NTG-context] Linespacing in TOC

2014-02-10 Thread Jan Tosovsky
. if the grid is on that can indeed be the case but only if there are lines with lineheight so that's why you can use less strict options (older mails) Yes, it is true, but in my example the grid is not activated, just shown to compare differences... maybe \showmakeup shows what

Re: [NTG-context] [***SPAM***] Provide showgrid as a PDF layer

2013-11-30 Thread Hans Hagen
this process more efficient (not requiring to generate both variants). I've noticed something like this is already implemented for the body area (visualizer vbox layer). Or is there any option for this already? \setupinteraction[state=start] \showgrid \showframe \showmakeup \showlayoutcomponents

Re: [NTG-context] [***SPAM***] Provide showgrid as a PDF layer

2013-11-30 Thread Jan Tosovsky
On 2013-11-30 Hans Hagen wrote: On 11/30/2013 12:04 AM, Jan Tosovsky wrote: it would be nice to have a possibility to interactively disable/enable a grid rendered via \showgrid command. \setupinteraction[state=start] \showgrid \showframe \showmakeup \showlayoutcomponents

Re: [NTG-context] Linespacing in TOC

2013-11-23 Thread Hans Hagen
if there are lines with lineheight so that's why you can use less strict options (older mails) Yes, it is true, but in my example the grid is not activated, just shown to compare differences... maybe \showmakeup shows what makes that happen (for instance it can be that you inject invisible stuff

[NTG-context] beta

2012-06-27 Thread Hans Hagen
into it). As they are often used for testing, \ruledhbox, \ruledvbox and \ruledvtop remained and all the others have been replaced by placeholders (and might go away). The \show* commands are mostly dummies (and will disappear) but these remain: \showmakeup \showallmakeup \showstruts \showglyphs Hopefully this doesn't

Re: [NTG-context] beta

2012-06-27 Thread Otared Kavian
, \ruledvbox and \ruledvtop remained and all the others have been replaced by placeholders (and might go away). The \show* commands are mostly dummies (and will disappear) but these remain: \showmakeup \showallmakeup \showstruts \showglyphs Hopefully this doesn't spoil your playing

[NTG-context] writetolist causes mystery blank

2010-07-08 Thread Michael Murphy
Hi all, I'm having a but of a problem using writetolist. In principle, I want to insert something into the table of contents, but I don't want to disturb the flow of the text. Unfortunately, the following code seems to generate a blank at the top of the page: \showframe \showmakeup

Re: [NTG-context] writetolist causes mystery blank

2010-07-08 Thread Hans Hagen
of the page: mkii or mkiv or both? \showframe \showmakeup \starttext \writetolist[section]{}{}% \framed{This box has been pushed down} \stoptext I've also tried using a section command where the output has been set to empty: \showframe \showmakeup \setuphead[section][ before=, after=, command

Re: [NTG-context] Different os, different output (and other)

2008-03-31 Thread Aditya Mahajan
is in higher position). What's wrong? \bfc does not correct interline spacing. If you notice, the Title is aligned at the top to the rest of the text. \showmakeup % \defineenumeration[test][location=left,text={\bfc Title}] \defineenuemration[test][location=left,text={Title},headstyle={\bfc

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
|margin|edge] \showgrid # \showgridboxes # \showgridsnapping \showlayout # \showlayoutcomponents \showmakeup \showpalet[name][horizontal|vertical|name|value] \showprint[typesetting papersize][printing papersize][settings] \showsetups \showstruts # \showstruts \showsymbolset[name] # \snaptogrid

  1   2   >