[NTG-context] compatibility between \startshapetext and \startsection ?

2024-05-14 Thread garulfo
without sectioning, and after 2 pages by uncommenting the \startsection and \stopsection commands. \setupbodyfont [pagella, 8pt] \setupframed [frame=on, offset=0.000pt, rulethickness=0.000pt, location=top, align=normal, strut=yes, ] \setuplayout [grid=yes] \setupinteraction

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

2024-03-02 Thread Wolfgang Schuster
[\directsetup{header:leftpage}] [] \setupfootertexts [] [\directsetup{footer:rightpage}] [\directsetup{footer:leftpage}] [] \setupheader [strut=no] \setupfooter [strut=no] \setuplayout [grid=yes, header=\bodyfontsize, headerdistance=\bodyfontsize, lines=26, footer=\b

[NTG-context] Re: Japanese

2024-03-01 Thread Emanuel Han via ntg-context
; between half-em spacing and the one em spacing of the character frame used > > for the kihon-hanmen. Half-em spacing can be chosen in cases where the line > > length is short, but one em spacing or close to it is more appropriate when > > the line length is longer than

[NTG-context] Re: Japanese

2024-02-29 Thread luigi scarso
for the kihon-hanmen. Half-em spacing can be chosen in cases where the line > length is short, but one em spacing or close to it is more appropriate when > the line length is longer than 35 characters.* > > I like the standard line gap which is provided by ConTeXt, which is > equival

[NTG-context] Re: Japanese

2024-02-29 Thread Jeong Dal via ntg-context
he line length is > short, but one em spacing or close to it is more appropriate when the line > length is longer than 35 characters. > > I like the standard line gap which is provided by ConTeXt, which is > equivalent to \setupwhitespace[0pt]. Even when using ruby, it works w

[NTG-context] Re: Japanese

2024-02-28 Thread Wolfgang Schuster
paragraphs but you're looking for the \setuplinespace command. The *line adjustment* provided by ConTeXt by default is not meeting the needs for Japanese  (and Chinese) text, which follow a grid pattern. Especially the last line of a paragraph is squeezed, which is "hurting the eye". When cha

[NTG-context] Re: Japanese

2024-02-28 Thread Emanuel Han via ntg-context
by default is not meeting the needs for Japanese (and Chinese) text, which follow a grid pattern. Especially the last line of a paragraph is squeezed, which is "hurting the eye". When characters need to jump to the next line due to previously discussed line breaking rules, ConTeXt seems to ap

[NTG-context] Re: context version 20240118 ("Registerhaltigkeit")

2024-01-23 Thread Thomas Meyer
paragraph is not on grid in the new and the old version (and comma). Grid is not as easy as it looks first. Low level tricks like fills or skips can mess it up. Maybe \startlinecorrection helps… (No, it doesn’t.) It also doesn’t help to add a \blank or \par after \vfill. I know it, i

[NTG-context] Re: context version 20240118 ("Registerhaltigkeit")

2024-01-22 Thread Wolfgang Schuster
. It depends on the current attention, capacity and mood of the few who can answer your questions. So the problem is still \hfill that the last paragraph is not on grid in the new and the old version (and comma). Grid is not as easy as it looks first. Low level tricks like fills or skips can mess it up

[NTG-context] Re: context version 20240118 ("Registerhaltigkeit")

2024-01-22 Thread Thomas Meyer
and mood of the few who can answer your questions. So the problem is still \hfill that the last paragraph is not on grid in the new and the old version (and comma). Grid is not as easy as it looks first. Low level tricks like fills or skips can mess it up. Maybe \startlinecorrection helps

[NTG-context] Re: context version 20240118 ("Registerhaltigkeit")

2024-01-22 Thread Henning Hraban Ramm
the problem is still \hfill that the last paragraph is not on grid in the new and the old version (and comma). Grid is not as easy as it looks first. Low level tricks like fills or skips can mess it up. Maybe \startlinecorrection helps… (No, it doesn’t.) It also doesn’t help to add a \blank

[NTG-context] Re: context version 20240118 ("Registerhaltigkeit")

2024-01-22 Thread Thomas Meyer
Hi Hans, I might get a bit impatient if I have the impression that others get an answer faster. Sorry for that. I thought my example couldn't be any smaller. The only answer I got from Wolfgang was the question for a mwe. Now I found the missing comma and  grid works with the new version

[NTG-context] Re: context version 20240118 ("Registerhaltigkeit")

2024-01-22 Thread Hans Hagen via ntg-context
cided to treat bad values to equivalent to 'no'"! Which values are bad in this context? Did you read Wolfgangs answers? We support "yes" but not "yes " etc etc. We just added a bit more rigorous test. With the new ConTeXt version, "grid" no longer works fo

[NTG-context] Re: context version 20240118 ("Registerhaltigkeit")

2024-01-22 Thread Thomas Meyer
with "as follow up on the keyword thread we decided to treat bad values to equivalent to 'no'"! Which values are bad in this context? With the new ConTeXt version, "grid" no longer works for me! Too bad. Should my attempt to use ConTeXt end here? Greetings Am 18.01.24 um 13:06 sc

[NTG-context] Re: context version 20240118

2024-01-18 Thread Thomas Meyer
Am 18.01.24 um 13:51 schrieb luigi scarso: On Thu, 18 Jan 2024 at 13:00, Thomas Meyer wrote: What is going on? Yesterday I got a perfect on-grid-written document! But today, with the newest context-version (20240118) all changed for the worse. I may not get a reply

[NTG-context] Re: context version 20240118 (was: "Registerhaltigkeit")

2024-01-18 Thread luigi scarso
On Thu, 18 Jan 2024 at 13:00, Thomas Meyer wrote: > What is going on? > > Yesterday I got a perfect on-grid-written document! > But today, with the newest context-version (20240118) all changed for the > worse. > > I may not get a reply to this e-mail either! > > >

[NTG-context] Re: context version 20240118

2024-01-18 Thread Hans Hagen via ntg-context
On 1/18/2024 12:59 PM, Thomas Meyer wrote: What is going on? Yesterday I got a perfect on-grid-written document! But today, with the newest context-version (20240118) all changed for the worse. as follow up on the keyword thread we decided to treat bad values to equivalent to 'no' I may

[NTG-context] context version 20240118 (was: "Registerhaltigkeit")

2024-01-18 Thread Thomas Meyer
What is going on? Yesterday I got a perfect on-grid-written document! But today, with the newest context-version (20240118) all changed for the worse. I may not get a reply to this e-mail either! Am 17.01.24 um 20:57 schrieb Thomas Meyer: Got it. Am 14.01.24 um 17:36 schrieb Thomas Meyer

[NTG-context] Re: "Registerhaltigkeit"

2024-01-17 Thread Thomas Meyer
Got it. Am 14.01.24 um 17:36 schrieb Thomas Meyer: Here comes my minimal example. \vfill doesn't fit the grid, the counted blank works. Is it possible to jump to grid with blank[?] ? Am 14.01.24 um 13:53 schrieb Wolfgang Schuster: Thomas Meyer schrieb am 14.01.2024 um 11:21: Thank you

[NTG-context] Re: "Registerhaltigkeit"

2024-01-14 Thread Thomas Meyer
Here comes my minimal example. \vfill doesn't fit the grid, the counted blank works. Is it possible to jump to grid with blank[?] ? Am 14.01.24 um 13:53 schrieb Wolfgang Schuster: Thomas Meyer schrieb am 14.01.2024 um 11:21: Thank you Wolfgang and Hraban, it can be so easy! But if my last

[NTG-context] Re: "Registerhaltigkeit"

2024-01-14 Thread Wolfgang Schuster
Thomas Meyer schrieb am 14.01.2024 um 11:21: Thank you Wolfgang and Hraban, it can be so easy! But if my last subject should be at the end of the page and I shift it with \vfill to the end, the last subject doesn't fit the grid! Can you provide a minimal example where you show what you're

[NTG-context] Re: "Registerhaltigkeit"

2024-01-14 Thread Thomas Meyer
Thank you Wolfgang and Hraban, it can be so easy! But if my last subject should be at the end of the page and I shift it with \vfill to the end, the last subject doesn't fit the grid! Am 14.01.24 um 11:02 schrieb Henning Hraban Ramm: Am 14.01.24 um 10:30 schrieb Thomas Meyer: which settings

[NTG-context] Re: "Registerhaltigkeit"

2024-01-14 Thread Henning Hraban Ramm
Am 14.01.24 um 10:30 schrieb Thomas Meyer: which settings are necessary to achieve "Registerhaltigkeit"? \setuplayout[grid=yes] You might like \showgrid, and please read the manual details.pdf WRT to placement of elements that don’t fit the grid

[NTG-context] Re: "Registerhaltigkeit"

2024-01-14 Thread Wolfgang Schuster
Thomas Meyer schrieb am 14.01.2024 um 10:30: Hi folks, which settings are necessary to achieve "Registerhaltigkeit"? \setuplayout[grid=yes] but sometimes elements elements have to be forced to be on the grid, e.g. tables need to be part of a float.

[NTG-context] Re: Why the way key-value argument is called affected the document's output?

2024-01-13 Thread Wolfgang Schuster
Ali Ali schrieb am 08.01.2024 um 23:53: Since in the "setup-en.pdf" on p. 234, in "\setuplayout" the possible values for "grid" key is "yes", "no" (default), and "off" respectively. The commands in the document are not always up to

[NTG-context] Re: LMTX schema for poster

2024-01-11 Thread Henning Hraban Ramm
Am 11.01.24 um 22:04 schrieb Bruce Horrocks: 1. "ConTeXt" should be the biggest word - or as an obvious title for the poster, away from the actual drawing. This will be only a part of the poster. I imagine a 3x3 grid with a title above and some information (website etc.) bel

[NTG-context] Re: Setuphead issue!

2024-01-09 Thread G.C.H.M. Verhaag via ntg-context
Hi Mikael, Figured out that the grid=yes option in the setuplayout command caused the issue. When I set it to no/off, the problem is gone! However, I need it because of the columnset, when I switch the grid option off than the pdf-output is totally messed up, sorry! Gerard

[NTG-context] Re: Setuphead issue!

2024-01-09 Thread Henning Hraban Ramm
}] \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 problem? Yes, because text in column(sets)s is typeset on a grid. Try \showgrid to visualize. You

[NTG-context] Re: Why the way key-value argument is called affected the document's output?

2024-01-08 Thread Ali Ali
Since in the "setup-en.pdf" on p. 234, in "\setuplayout" the possible values for "grid" key is "yes", "no" (default), and "off" respectively. So what does

[NTG-context] Re: Why the way key-value argument is called affected the document's output?

2024-01-08 Thread Wolfgang Schuster
Ali Ali schrieb am 08.01.2024 um 23:33: So is "\setuplayout[grid=yes]" AND "\setuplayout[ grid=yes ]" not same? I mean, we are initializing "grid" to "yes" in both cases. No, in the first case you end the value of the grid-key with ] which results in

[NTG-context] Re: Why the way key-value argument is called affected the document's output?

2024-01-08 Thread Ali Ali
So is "\setuplayout[grid=yes]" AND "\setuplayout[ grid=yes ]" not same? I mean, we are initializing "grid" to "yes" in both cases. Ali ___ If your question is of interes

[NTG-context] Re: Why the way key-value argument is called affected the document's output?

2024-01-08 Thread Hans Hagen
the vertical spacings are not same, on my device running the version released in the September and also tested with the latest release.) """ %% differences in outputs, for how "grid=yes" is called. %% Type 1. %\setuplayout[grid=yes] Here you set the grid varia

[NTG-context] Why the way key-value argument is called affected the document's output?

2024-01-08 Thread 111414w
running the version released in the September and also tested with the latest release.) """ %% differences in outputs, for how "grid=yes" is called. %% Type 1. %\setuplayout[grid=yes] %% Type 2. %\setuplayout[ %grid=yes %] \setuphead[section][grid=low] %% needed to obse

[NTG-context] Drawing calligraphy practice grid in metafun

2023-11-20 Thread Andres Conrado Montoya
Hello list I've been working on a little project of mine. I give calligraphy workshops and I have been using a nice tool created by Josselin Cuette, available at http://ductus.josselincuette.com/ to generate practice templates for interested people. However, I would prefer to have an offline

[NTG-context] Re: learning about the grid

2023-11-20 Thread Wolfgang Schuster
madiazm.eo...@gmail.com schrieb am 19.11.2023 um 23:17: Thanks, Pablo and Henning I suppose I am making a mistake with my setupinterlinearspace. My school asks for Times New Roman (I use termes) 12pt and onehalfspacing. In latex I used linespread{1.3} and so I supposed setting ConTeXt with

[NTG-context] Re: learning about the grid

2023-11-20 Thread Pablo Rodriguez via ntg-context
On 11/19/23 23:17, madiazm.eo...@gmail.com wrote: > Thanks, Pablo and Henning > > I suppose I am making a mistake with my setupinterlinearspace. My > school asks for Times New Roman (I use termes) 12pt and > onehalfspacing. In latex I used linespread{1.3} and so I supposed > setting ConTeXt with

[NTG-context] Re: learning about the grid

2023-11-19 Thread Henning Hraban Ramm
Am 19.11.23 um 23:17 schrieb madiazm.eo...@gmail.com: Thanks, Pablo and Henning I suppose I am making a mistake with my setupinterlinearspace. My school asks for Times New Roman (I use termes) 12pt and onehalfspacing. In latex I used linespread{1.3} and so I supposed setting ConTeXt with

[NTG-context] Re: learning about the grid

2023-11-19 Thread madiazm . eoicc
Thanks, Pablo and Henning I suppose I am making a mistake with my setupinterlinearspace. My school asks for Times New Roman (I use termes) 12pt and onehalfspacing. In latex I used linespread{1.3} and so I supposed setting ConTeXt with setupinterlinearspace[1.3ex] was the right way (I read

[NTG-context] Re: learning about the grid

2023-11-19 Thread Henning Hraban Ramm
Am 19.11.23 um 13:27 schrieb Miguel Diaz: 1. Why are the lines printed one over the other when grid=no? how do profis then use context without grid? That usually only happens in one of the column modes that requires the grid. It doesn’t happen in usual one-column typesetting. There must

[NTG-context] Re: learning about the grid

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

[NTG-context] learning about the grid

2023-11-19 Thread Miguel Diaz
Hi everyone, being a newbie I just discovered how different setups for the grid may affect my (very simple) document. In the Details manual (which of course I don't understand because of my unexperience) I read that many people don't use the grid, but when I configure grid=no the whole lines

[NTG-context] Re: placing \externalfigure

2023-11-12 Thread Hans Hagen
into the option list of setupexternalfigure but could not find one whereby the location with respect to the baseline is either top, bottom or center. Maybe this is what you're looking for: \useMPlibrary [dum] \setuplayout [grid=yes] \showgrid \starttext foo \externalfigure[][][location=high

[NTG-context] Re: placing \externalfigure

2023-11-12 Thread Marco Patzer
into the option list of setupexternalfigure but could not > find one whereby the location with respect to the baseline is either > top, bottom or center. Maybe this is what you're looking for: \useMPlibrary [dum] \setuplayout [grid=yes] \showgrid \starttext foo \externalfigure[][][location=high]

[NTG-context] stream sync (or \pushoutputstream)

2023-09-16 Thread Pablo Rodriguez
Dear list, I have the following sample: \showgrid \setuplayout[grid=yes] \starttext \startoutputstream[one] \startcolor[red] \dorecurse{4}{\input knuth\par\pushoutputstream} \stopcolor \stopoutputstream \startoutputstream[two] \startcolor

[NTG-context] Re: [ odd spacing ]

2023-08-15 Thread Hans Hagen via ntg-context
On 8/15/2023 9:13 PM, vm via ntg-context wrote: Placing identical images in a n x m grid shows extra space every two rows. you're missing \startcaption \stopcaption after each content section and have one content too many Also the vertical and horizontal spaces are different

[NTG-context] Re: [ odd spacing ]

2023-08-15 Thread Wolfgang Schuster
vm via ntg-context schrieb am 15.08.2023 um 21:13: Placing identical images in a n x m grid shows extra space every two rows. Also the vertical and horizontal spaces are different. There is probably a reason for this to happen, but how to avoid it ? 1. You're missing the caption (even

[NTG-context] [ odd spacing ]

2023-08-15 Thread vm via ntg-context
Placing identical images in a n x m grid shows extra space every two rows. Also the vertical and horizontal spaces are different. There is probably a reason for this to happen, but how to avoid it ? .Floris [MWE] \starttext \startTEXpage[offset=10mm, pagestate=start] \startcombination[nx

[NTG-context] Triaging tikz error: Cannot parse this coordinate

2023-08-08 Thread Xavier B.
er {\pgfkeyscurrentkey }{}\pgfeov \else \pgfkeys@case@one \fi \fi ... l.60 \eTABLE } 50{ 51 \startscope[shift={\p}] 52

[NTG-context] Re: Par Builder Tests

2023-07-21 Thread Hans Hagen
to the files so that my setup for xml was very simple. Here are my setups for the layout of the novels showing some trackers that were used as well: \definepapersize[pagee][width=5.06in,height=7.81in] \setuppapersize[pagee] % XML setups here \startsetups[grid][mypenalties] \setdefaultpenalties

[NTG-context] Par Builder Tests

2023-07-21 Thread Keith McKay
simple. Here are my setups for the layout of the novels showing some trackers that were used as well: \definepapersize[pagee][width=5.06in,height=7.81in] \setuppapersize[pagee] % XML setups here \startsetups[grid][mypenalties] \setdefaultpenalties \setpenalties\widowpenalties{1}{150

Re: [NTG-context] error in column sets

2023-06-20 Thread Henning Hraban Ramm via ntg-context
low and overwrite their last line. ... Also I seem to remember that column sets would enforce grid mode, but they clearly don’t. If you enable \setuplayout[grid=yes], lines get placed correctly. Also floats work well (here and top). But some columnsetspans still disappear, and footnotes get

[NTG-context] error in column sets

2023-06-19 Thread Henning Hraban Ramm via ntg-context
} \stopcolumnset \stoptext Also I seem to remember that column sets would enforce grid mode, but they clearly don’t. (BTW the old \startcolumns mode works better than I remembered.) Hraban ___ If your question is of interest

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

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

Re: [NTG-context] tikz error upgrading to texlive version (artix)

2023-03-31 Thread Xavier B. via ntg-context
cture[ scale=3,line cap=round axes/.style=, important line/.style={very thick}, information text/.style={rounded corners,fill=red!10,inner sep=1ex} ] \draw[help lines,step=0.5

Re: [NTG-context] Chapter number and titles in separate lines with grid layout

2023-02-15 Thread Alex Leray via ntg-context
 : On 2023-02-15 08:44, Alex Leray via ntg-context wrote: \showframe \showlayout \showgrid \setuplayout[     grid=yes, ] \define[2]\MySection{\framed[     location=keep,     frame=on,     width=broad,     % height=22pt,     align=middle ]{{#1.\\#2}}} \setuphead[section][     strut

Re: [NTG-context] Chapter number and titles in separate lines with grid layout

2023-02-15 Thread Rik Kabel via ntg-context
On 2023-02-15 08:44, Alex Leray via ntg-context wrote: \showframe \showlayout \showgrid \setuplayout[     grid=yes, ] \define[2]\MySection{\framed[     location=keep,     frame=on,     width=broad,     % height=22pt,     align=middle ]{{#1.\\#2}}} \setuphead[section][     strut

Re: [NTG-context] Chapter number and titles in separate lines with grid layout

2023-02-15 Thread Rik Kabel via ntg-context
On 2023-02-15 08:44, Alex Leray via ntg-context wrote: \showframe \showlayout \showgrid \setuplayout[     grid=yes, ] \define[2]\MySection{\framed[     location=keep,     frame=on,     width=broad,     % height=22pt,     align=middle ]{{#1.\\#2}}} \setuphead[section][     strut

[NTG-context] Chapter number and titles in separate lines with grid layout

2023-02-15 Thread Alex Leray via ntg-context
Hello again, I'm having another issue: I'd like Chapter/Section number and titles in separate lines but with grid alignement. I followed that advice: https://wiki.contextgarden.net/Titles#Chapter_number_and_titles_in_separate_lines I'm having an issue though: I can't get rid of the space

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-12 Thread Fabrice Couvreur via ntg-context
ed\def\euros#1{#1\,\symbol[europe][EUR]} \protected\def\point#1#2#3{\math{#1\left(#2\,;#3\right)}} \protected\def\coord#1#2{\math{\left(#1\,;#2\right)}} \define[2]\prod{\m{\vector{#1}\cdot\vector{#2}}} \protected\def\e#1{\math{{\rm e}^{#1}}\autoinsertnextspace} \stopenvironment\startenv

[NTG-context] Perceptrons

2022-10-16 Thread Thangalin via ntg-context
Okay, they aren't _real_ perceptrons, but fancy parameterized trees connected on a hex grid, coded with MetaFun and Lua. Big version: https://pdfhost.io/v/piuN04dSq_perceptron If anyone is interested in the full source code, let me know. I couldn't get "angle" to work properly.

Re: [NTG-context] floats disturb grid setting

2022-10-03 Thread Max Chernoff via ntg-context
Hi Hraban, > > As soon as I use floats, text isn’t typeset on the grid any more: > > > > > > \setuppaper[A5] > > \setuplayout[grid=yes] > > \showframe\showgrid > > Oops, my bad: It must be "grid=on". > But didn’t work "yes"

Re: [NTG-context] floats disturb grid setting

2022-10-03 Thread Henning Hraban Ramm via ntg-context
Am 03.10.22 um 14:02 schrieb Henning Hraban Ramm via ntg-context: As soon as I use floats, text isn’t typeset on the grid any more: \setuppaper[A5] \setuplayout[grid=yes] \showframe\showgrid Oops, my bad: It must be "grid=on". But didn’t work "yes" in earli

[NTG-context] floats disturb grid setting

2022-10-03 Thread Henning Hraban Ramm via ntg-context
As soon as I use floats, text isn’t typeset on the grid any more: \setuppaper[A5] \setuplayout[grid=yes] \showframe\showgrid \setupexternalfigure[ location={local,global,default}, ] \starttext \samplefile{lorem} \startplacefigure[location=left,title=left]% \externalfigure[mill][width=.25

Re: [NTG-context] Missing letters and numbers in printout

2022-09-26 Thread Hans Hagen via ntg-context
On 9/26/2022 4:06 PM, Angel M Alganza via ntg-context wrote: Hello, I have a document that includes some grids (drawn with \grid) as well as alphanumeric information (letters and numbers) which contents (the info, not the grids) I modify every year and then print it out.  I've been using

[NTG-context] Missing letters and numbers in printout

2022-09-26 Thread Angel M Alganza via ntg-context
Hello, I have a document that includes some grids (drawn with \grid) as well as alphanumeric information (letters and numbers) which contents (the info, not the grids) I modify every year and then print it out. I've been using it without any problem for a few (maybe 4 or 5) years but, this time

Re: [NTG-context] Math alignment problem

2022-09-22 Thread Jan-Erik Hägglöf via ntg-context
That was the solution, it worked! Thank you so much! /Jan-Erik > 22 sep. 2022 kl. 14:54 skrev Alexandre Christe via ntg-context > : > > Hi Jan-Erik, > > One way I came across searching the mailing list is the following: > > \starttext > > \startitemize [a,co

Re: [NTG-context] Math alignment problem

2022-09-22 Thread Alexandre Christe via ntg-context
Hi Jan-Erik, One way I came across searching the mailing list is the following: \starttext \startitemize [a,columns,joinedup] [n=3,grid=line] \item $ 56 + 2 \cdot 3 $ \item $ 5-(7) $ \item $ \frac{21}{7} $ \stopitemize \stoptext Could be that there is a *better* way. Le jeu. 22 sept. 2022 à

[NTG-context] ConTeXt meeting and the annotated cow

2022-09-18 Thread Axel Kielhorn via ntg-context
; draft := 1; color mycolor; if draft = 1 : mycolor := red ; else: mycolor := .4white ; fi ; % Draw a grid to count locations def gridscaled = pair ur; ur = urcorner currentpicture; width := xpart ur; height := ypart ur; xstep := ceiling(width / 10); ystep := ceiling(height / 10

[NTG-context] Write a long chapter title in two lines

2022-08-15 Thread Jeong Dal via ntg-context
: > > Dear list, > > adapting a the sample from mkxl/page-str.mkxl (and code from the list), > I came with the following sample: > > \setuppapersize[A6] > \showgrid > %\setuplayout[grid=yes] > \starttext > \input tufte > \startoutputstream[es] > \do

[NTG-context] sync text streams in facing pages

2022-08-15 Thread Pablo Rodriguez via ntg-context
Dear list, adapting a the sample from mkxl/page-str.mkxl (and code from the list), I came with the following sample: \setuppapersize[A6] \showgrid %\setuplayout[grid=yes] \starttext \input tufte \startoutputstream[es] \dorecurse{25} {\startlanguage[es]\input cervantes-es

Re: [NTG-context] How to display these characters

2022-08-09 Thread Wolfgang Schuster via ntg-context
? There is a Metapost/Context module for drawing flow charts that should handle this nicely. If that’s still the same module that I know, then I don’t think it’s suitable (too much fixed on a grid). There is also a Metapost module for drawing relational charts ("nodes") that could

Re: [NTG-context] How to display these characters

2022-08-09 Thread Henning Hraban Ramm via ntg-context
handle this nicely. If that’s still the same module that I know, then I don’t think it’s suitable (too much fixed on a grid). There is also a Metapost module for drawing relational charts ("nodes") that could be another approach. I actually never really looked into the nodes mod

Re: [NTG-context] [Bug] Two-column text: Larger top spacing in inline images

2022-06-27 Thread Max Chernoff via ntg-context
Not a bug, although it may be unexpected. It's a grid snapping thing. Try: \def\example{% Lorem ipsum. Lorem ipsum. Lorem ipsum. Lorem ipsum. Lorem ipsum. Lorem ipsum. Lorem ipsum. Lorem ipsum. Lorem ipsum. Lorem ipsum. Lorem ipsum. Lorem ipsum. Lorem ipsum. Lorem ipsum

[NTG-context] Problems with MetaFun Transparency Groups

2022-06-13 Thread Stefan Haller via ntg-context
Hi everyone! I have a question regarding transparency groups in MetaFun. As a toy example, I want to draw a grid of lines where the whole grid should have an opacity of 25%. If I draw intersecting lines individually with `withtransparency(1, .25)` the overlapping parts will have a total opacity

[NTG-context] small fontsize and \definecolumnsetspan cause columns to jump (bug?)

2022-06-12 Thread a badin via ntg-context
Hi, if the fontsize is smaller than ~11pt and there is \startcolumnsetspan used, then the two first lines of the second column are not aligned to the grid (they jump). Making the font bigger, or deleting the \startcolumnsetspan can both fix the problem. It seems like a bug to me, but maybe I'm

Re: [NTG-context] Two minor questions

2022-06-07 Thread Stefan Nedeljkovic via ntg-context
ated the files on Drive. Please see line >> > 19, the last word "and". It is clearly out of alignment with the gid. >> > I tested the alignment in MP and it should work, ie 2 characters are >> > indeed one grid cell (semms from the fact that IBM Plex Mono was

Re: [NTG-context] Two minor questions

2022-06-07 Thread Stefan Nedeljkovic via ntg-context
y much Wolfgang! But, there is still something weird > > going on with the font. I updated the files on Drive. Please see line > > 19, the last word "and". It is clearly out of alignment with the gid. > > I tested the alignment in MP and it should work, ie 2 characte

Re: [NTG-context] Two minor questions

2022-06-07 Thread Wolfgang Schuster via ntg-context
ment in MP and it should work, ie 2 characters are indeed one grid cell (semms from the fact that IBM Plex Mono was designed from a typewriter typeface where 12 characters are exactly 1 inch long). Do you use double hyphens (--) in your document because this is what causes the problem.

Re: [NTG-context] Two minor questions

2022-06-07 Thread Stefan Nedeljkovic via ntg-context
ang! But, there is still something weird going on > with the font. I updated the files on Drive. Please see line 19, the last > word "and". It is clearly out of alignment with the gid. I tested the > alignment in MP and it should work, ie 2 characters are indeed one grid > cell (semms from th

Re: [NTG-context] Two minor questions

2022-06-06 Thread Stefan Nedeljkovic via ntg-context
Thank you very much Wolfgang! But, there is still something weird going on with the font. I updated the files on Drive. Please see line 19, the last word "and". It is clearly out of alignment with the gid. I tested the alignment in MP and it should work, ie 2 characters are indeed one

Re: [NTG-context] Two minor questions

2022-06-06 Thread Wolfgang Schuster via ntg-context
that the red lines align with the blue lines (I think this amount is called depth). How would I do that? Quick and dirty: \setuplayout   [...,    topspace=\dimexpr5\measured{base}+2bp+\strutdp\relax,    ...] 2. The font is such that exactly 2 characters fit into the grid cell, but I see

Re: [NTG-context] Two minor questions

2022-06-06 Thread Stefan Nedeljkovic via ntg-context
is called depth). How would I do that? 2. The font is such that exactly 2 characters fit into the grid cell, but I see that towards the end of the line it gets out of sync with the grid. How would I ensure that all text rendered is strictly monospaced without any stretching/shrinking trickery? Sincerely

Re: [NTG-context] ugly bug

2022-06-03 Thread Steffen Wolfrum via ntg-context
> \dorecurse{2}{\samplefile{lorem}\par} > > \start > %\setuplocalinterlinespace[line=4.2ex]% wrong header alignment > \setuplocalinterlinespace[steffen]% correct header alignment > \dorecurse{4}{\samplefile{lorem}\par} > \stop > > \dorecurse{2}{\samplefile{lorem}\par} > &

Re: [NTG-context] Pull quote between two column - trial

2022-05-29 Thread Garulfo via ntg-context
ssue with nonsymetrical behavior, and \framed are properly aligned with the grid. Garulfo mesure_framed.pdf Description: Adobe PDF document \defineblock[myframes] \unexpanded\def\GetDim#1#2{ \setbox\scratchbox\hbox\bgroup\useblocks[#1][#2]\egroup% \directlua{% local n = tex.getbox('scratchbox'

Re: [NTG-context] Pull quote between two column - trial

2022-05-28 Thread jbf via ntg-context
. Julian On 29/5/22 04:25, Garulfo via ntg-context wrote: some progress... if it can help. No more issue with nonsymetrical behavior, and \framed are properly aligned with the grid. Garulfo ___ If your question

Re: [NTG-context] Pull quote between two column - trial

2022-05-28 Thread Garulfo via ntg-context
some progress... if it can help. No more issue with nonsymetrical behavior, and \framed are properly aligned with the grid. Garulfo getshapetext_for_pullquote.pdf Description: Adobe PDF document \setuplayout [grid=yes] \showgrid \definecolor [transparentred] [r=1,t=.5,a=1] \def\numA{18

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

2022-05-27 Thread Stefan Nedeljkovic via ntg-context
So as I understand there are two grids: The baseline grid, and the main grid. The baseline grid is shifted upward by an amount called depth in order to accommodate descenders. I want to be able to control that parameter. That is the space between the last red line (no 16) and the bottom

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

2022-05-27 Thread Aditya Mahajan via ntg-context
On Fri, 27 May 2022, Stefan Nedeljkovic via ntg-context wrote: > Thanks Rik, that fixed the issue with at which line the text begins, but I > still get the grid offset. What do you mean by grid offset?

[NTG-context] How to adjust depth (height) when using grid layout

2022-05-27 Thread Stefan Nedeljkovic via ntg-context
Dear list, I would like to know if there is a way to adjust the depth and height exactly when typesetting in grid layout (LMTX)? Sincerely, Stefan ___ If your question is of interest to others as well, please add

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

2022-05-27 Thread Stefan Nedeljkovic via ntg-context
Thanks Rik, that fixed the issue with at which line the text begins, but I still get the grid offset. On Fri, May 27, 2022 at 6:33 PM Rik Kabel via ntg-context < ntg-context@ntg.nl> wrote: > You left out the comma after the backspace setting. WIth that in, all is > well. > On 2

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

2022-05-27 Thread Rik Kabel via ntg-context
You left out the comma after the backspace setting. WIth that in, all is well. On 2022-05-27 12:03, Stefan Nedeljkovic via ntg-context wrote: Thank you very much Aditya for looking into this. But I still have the same baseline grid offset problem. Interestingly, when I remove the columns

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

2022-05-27 Thread Stefan Nedeljkovic via ntg-context
Thank you very much Aditya for looking into this. But I still have the same baseline grid offset problem. Interestingly, when I remove the columns, the text shifts downwards by two lines. My code: \definemeasure[xheight][0.1in] \definemeasure[base][3\measured{xheight}] % Since all distances

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

2022-05-27 Thread Aditya Mahajan via ntg-context
On Wed, 25 May 2022, Stefan Nedeljkovic via ntg-context wrote: > Dear list, > > My adventures into the world of grids continue. In the linked file > (slide_grid_overlay.pdf) there are two things I cannot yet achieve: > > 1. I want the baseline grid to evenly (verticall

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

2022-05-25 Thread Stefan Nedeljkovic via ntg-context
Dear list, My adventures into the world of grids continue. In the linked file (slide_grid_overlay.pdf) there are two things I cannot yet achieve: 1. I want the baseline grid to evenly (vertically) divide the text area, but my code produces a smaller height of the first line and an additional

Re: [NTG-context] Help needed with slide grid layout

2022-05-25 Thread Stefan Nedeljkovic via ntg-context
I have problems setting up the grid in question. I cannot seem to configure the grid spacing properly, despite combing through the "details" manual. Could you help me configure the grid? On Wed, May 25, 2022 at 6:24 PM Stefan Nedeljkovic wrote: > Thank you very much Wolfgang

Re: [NTG-context] Help needed with slide grid layout

2022-05-25 Thread Stefan Nedeljkovic via ntg-context
ion on my previous question about Jean-Luc > > Doumont and his grid layouts. This time I have concrete questions. I > > reverse engineered his slide (slide_grid_overlay.pdf). All his units are > > based on inches, because the inch is an integer multiple (72) of the TeX > >

Re: [NTG-context] Help needed with slide grid layout

2022-05-25 Thread Wolfgang Schuster via ntg-context
Stefan Nedeljkovic via ntg-context schrieb am 25.05.2022 um 13:35: Dear list, This is a follow-up question on my previous question about Jean-Luc Doumont and his grid layouts. This time I have concrete questions. I reverse engineered his slide (slide_grid_overlay.pdf). All his units

[NTG-context] Help needed with slide grid layout

2022-05-25 Thread Stefan Nedeljkovic via ntg-context
Dear list, This is a follow-up question on my previous question about Jean-Luc Doumont and his grid layouts. This time I have concrete questions. I reverse engineered his slide (slide_grid_overlay.pdf). All his units are based on inches, because the inch is an integer multiple (72) of the TeX

[NTG-context] Pull quote between two column - trial

2022-05-21 Thread Garulfo via ntg-context
? Question2: is there a way to use the columnset system to produce a similar output ? Thanks again for your feedbacks, Garulfo \setuplayout [grid=yes, headerdistance=5mm, margindistance=5mm, backspace=17.5mm, margin=10mm, topspace=40mm, height=23cm, header=10mm, footer=10mm

  1   2   3   4   5   6   7   8   9   10   >