Re: [NTG-context] Floating Figure in framed-environment

2022-10-19 Thread Oliver Sieber via ntg-context
works perfectly. I included everything in this code, to show exactly, what is not working. \starttext \framed[corner=round, rulethickness=2pt, width=\textwidth, align=flushleft, offset=1em,background=color,framecolor=black] {{\bf Box with centered image} \blank[medium] \input khatt-en

Re: [NTG-context] Floating Figure in framed-environment

2022-10-19 Thread Ursula Hermann via ntg-context
=color, backgroundcolor=lightgreen, foreground=color, foregroundcolor=black, offset=2mm, align=flushleft] \starttext \startprettyblock \setupindenting[next] The Earth, as a habitat for animal life, is in old age and has a fatal illness. Several, in fact. It would be happening whether

Re: [NTG-context] Missing parinitskips in \normalizelinemode=0

2022-10-19 Thread Hans Hagen via ntg-context
On 10/19/2022 3:01 AM, Max Chernoff via ntg-context wrote: Hi Hans, When running in \normalizelinemode=0, the \parinitleftskip and \parinitrightskip nodes are either nonexistant or invisible from Lua, causing tex.linebreak to not work correctly. This sample file: \enabledirectives

[NTG-context] Floating Figure in framed-environment

2022-10-19 Thread Oliver Sieber via ntg-context
Dear ConTeXt Users I am relatively new to context and I am suffering with a problem with the framed environment. I want to use a framed textbox for Definitions in my script. I also want to use floating figures. But this does not work and I haven’t found out why. Maybe I totally use it the

[NTG-context] Missing parinitskips in \normalizelinemode=0

2022-10-18 Thread Max Chernoff via ntg-context
Hi Hans, When running in \normalizelinemode=0, the \parinitleftskip and \parinitrightskip nodes are either nonexistant or invisible from Lua, causing tex.linebreak to not work correctly. This sample file: \enabledirectives[system.callbacks.permitoverloads] \normalizelinemode=0

Re: [NTG-context] Spacing in \unit - SOLVED

2022-10-14 Thread Hans Hagen via ntg-context
On 10/13/2022 1:52 PM, Gavin via ntg-context wrote: Hi Oli, Thank four your effort. I found out, that the following definition of a new unit, i called it SI, results also in a correct spaceing in the math environment: \defineunit[SI][alternative=text] It seems, that the option alternative

Re: [NTG-context] Spacing in \unit - degrees

2022-10-13 Thread Alan Braslau via ntg-context
On Wed, 12 Oct 2022 21:14:52 -0600 Gavin wrote: > As a recovering string theorist, I cannot help but speculate that > this rule extends to spherical coordinates in any number of > dimensions. However, if you don’t want the space, you can use > 135\unit{℃}, which does not add a spac

Re: [NTG-context] Spacing in \unit - SOLVED

2022-10-13 Thread Gavin via ntg-context
Hi Oli, > Thank four your effort. I found out, that the following definition of a new > unit, i called it SI, results also in a correct spaceing in the math > environment: > > \defineunit[SI][alternative=text] > > It seems, that the option alternative=text solves the p

Re: [NTG-context] Spacing in \unit - SOLVED

2022-10-13 Thread Oliver Sieber via ntg-context
Hi Gavin Thank four your effort. I found out, that the following definition of a new unit, i called it SI, results also in a correct spaceing in the math environment: \defineunit[SI][alternative=text] It seems, that the option alternative=text solves the problem with no spaces between value

Re: [NTG-context] Spacing in \unit - degrees

2022-10-12 Thread Gavin via ntg-context
(e.g. a 45° angle) and for longitude and latitude (e.g. 45°30’N) is not > separated from the numeral by a space. [§12.2.1.1 SI Rules, pp.169-170] As a recovering string theorist, I cannot help but speculate that this rule extends to spherical coordinates in any number of dimensions. However, if

Re: [NTG-context] Spacing in \unit - SOLVED

2022-10-12 Thread Gavin via ntg-context
bably too large, > but I think that a little more space than you currently have would be > better. I haven’t adjusted the space directly. I just changed the \times and \cdot from class binom to class ord. I’m not going to tweak the space. I don’t even use this font. With proportional numbers i

Re: [NTG-context] Spacing in \unit - degrees

2022-10-12 Thread Alan Braslau via ntg-context
Further \unit question(s): \unit{135℃} adds a space after the digits 135. I do not believe that this is correct (for ℃ is *not* a "real" unit, unlike \unit{408.15 K} which *is* a real unit). Also, \unit{135°C} drops the "C". Is this a parsing bug? Related, \unit{90°} does not seem to introduce a

Re: [NTG-context] Spacing in \unit - SOLVED

2022-10-12 Thread Max Chernoff via ntg-context
Hi Gavin, On Wed, 2022-10-12 at 15:54 -0600, Gavin wrote: > Hi Max, Alan, Bruce, Hans, et.al > > I solved my four issues with \unit spacing. In the process, I > prevented unwanted line breaks and removed an overzealous backspace > before division symbols. Below is a MWE that sho

Re: [NTG-context] Spacing in \unit - SOLVED

2022-10-12 Thread Rik Kabel via ntg-context
On 2022-10-12 17:54, Gavin via ntg-context wrote: Hi Max, Alan, Bruce, Hans, et.al I solved my four issues with \unit spacing. In the process, I prevented unwanted line breaks and removed an overzealous backspace before division symbols. Below is a MWE that shows all of these issues, as well

Re: [NTG-context] Spacing in \unit - SOLVED

2022-10-12 Thread Gavin via ntg-context
Hi Max, Alan, Bruce, Hans, et.al I solved my four issues with \unit spacing. In the process, I prevented unwanted line breaks and removed an overzealous backspace before division symbols. Below is a MWE that shows all of these issues, as well as pictures of the result with the unmodified phys

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

2022-10-12 Thread Gavin via ntg-context
- No space between the number and the following units. Should be a thin > space. > - No space between the units and the following symbol (+ and = above). > Should be appropriate “bin" or “rel" space. > - Too much space around the \cdot in the units. Should be trea

Re: [NTG-context] Help test a LMTX bug fix: tweaks in PDF generation

2022-10-11 Thread Gerion Entrup via ntg-context
Am Sonntag, 9. Oktober 2022, 17:33:09 CEST schrieb Leah Neukirchen via ntg-context: > So please: Try to preview and then try to print the attached PDF; > and report back if either preview or printout does not look like > the attached reference PNG image (i.e. something is missing, > the fonts look

Re: [NTG-context] TOC colors and in-page anchors

2022-10-11 Thread Sylvain Hubert via ntg-context
ext wrote: > > Thanks for the pointers, but unfortunately I cannot reproduce the second > > fix with either the system pdf viewer or the browser one. > > Hi Sylvain, > > it seems that ConTeXt is basically ignoring "focus=standard" in lists. > > Compare bot

Re: [NTG-context] Help test a LMTX bug fix: tweaks in PDF generation

2022-10-10 Thread Pablo Rodriguez via ntg-context
ferent, or have wrong relative size.) Hi Leah, I used Acrobat DC, SumatraPDF and Firefox in Windows and all programs displayed and printed your document fine (Canon imageRUNNER ADVANCE). I had no issues before printing LMTX-generated documents. Many thanks for your work fixing the issues (wro

Re: [NTG-context] Help test a LMTX bug fix: tweaks in PDF generation

2022-10-10 Thread Rik Kabel via ntg-context
Win 11 64 Intel, Sumatra PDF 3.4.6 to Brother MFC-L2740DW looks good. Win 11 64 Intel, Sumatra PDF 3.4.6 to HP LJPro M254dw looks good. Printing via Firefox, as others have noted, is fuzzy, but nothing is missing. -- Rik __

Re: [NTG-context] Help test a LMTX bug fix: tweaks in PDF generation

2022-10-10 Thread Willi Egger via ntg-context
>> Thunderbird was fuzzy and not as sharp as the others. > > The latter is because Thunderbird uses pdf.js, and that prints PDFs as images > (rasterized in a low resolution), as Leah confirmed my guess. > > Hraban > > _

Re: [NTG-context] Help test a LMTX bug fix: tweaks in PDF generation

2022-10-10 Thread Henning Hraban Ramm via ntg-context
fuzzy and not as sharp as the others. The latter is because Thunderbird uses pdf.js, and that prints PDFs as images (rasterized in a low resolution), as Leah confirmed my guess. Hraban ___ If your question is of

Re: [NTG-context] Help test a LMTX bug fix: tweaks in PDF generation

2022-10-10 Thread Keith McKay via ntg-context
size.) If you use other PDF tools in your workflow, please also check they continue to work as before (and just as well as with MKIV-generated PDFs). Thank you very much, ___ If your question is of interest to othe

Re: [NTG-context] Spacing in \unit

2022-10-09 Thread Max Chernoff via ntg-context
Hi Alan, > I would very strongly argue that the space between the number and the > following units be UNBREAKABLE. Perhaps a thin space (preference), but > most certainly non-breakable. > > Similarly around the times in scientific notation. > > I further cannot imagine

Re: [NTG-context] Spacing in \unit

2022-10-09 Thread Alan Braslau via ntg-context
e “bin" or “rel" space. > - Too much space around the \cdot in the units. Should be treated > like an “ord" when used to separate units. > - Too much space around the \times in the scientific notation. > Should be treated like an "ord" when used in scientific

Re: [NTG-context] Help test a LMTX bug fix: tweaks in PDF generation

2022-10-09 Thread Leah Neukirchen via ntg-context
ut does not look like >> the attached reference PNG image (i.e. something is missing, >> the fonts look different, or have wrong relative size.) >> If you use other PDF tools in your workflow, please also check they >> continue to work as before (and just as well as with MKIV-ge

Re: [NTG-context] Help test a LMTX bug fix: tweaks in PDF generation

2022-10-09 Thread Henning Hraban Ramm via ntg-context
size.) If you use other PDF tools in your workflow, please also check they continue to work as before (and just as well as with MKIV-generated PDFs). Hi Leah, thank you! I viewed and printed the PDF with pdf.js in Thunderbird, Apple Preview and Adobe Acrobat Pro 9 to my Kyocera FS-C5100DN

[NTG-context] Help test a LMTX bug fix: tweaks in PDF generation

2022-10-09 Thread Leah Neukirchen via ntg-context
: Try to preview and then try to print the attached PDF; and report back if either preview or printout does not look like the attached reference PNG image (i.e. something is missing, the fonts look different, or have wrong relative size.) If you use other PDF tools in your workflow, please also

[NTG-context] Spacing in \unit

2022-10-08 Thread Gavin via ntg-context
\stoptext I’m trying to fix four issues: - No space between the number and the following units. Should be a thin space. - No space between the units and the following symbol (+ and = above). Should be appropriate “bin" or “rel" space. - Too much space around the \cdot in the uni

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

2022-10-04 Thread Gavin via ntg-context
Hi list, I have been trying to understand the workings of the \unit command, which is producing strange spacing in math mode. In an effort to be more systematic, I began by investigating the related \digit command. \digit works well in text, but in math mode the comma separators produce

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

2022-09-29 Thread Pablo Rodriguez via ntg-context
e distribution,) sometimes, for some people or for some of > their files. Hi Ángel, there is nothing that prevents this to be fixed (as far as I know). TeXLive is still using LuaTeX as default for ConTeXt. This will be hopefully changed in next release of TeX Live (according to https://mailman

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

2022-09-29 Thread Hans Hagen via ntg-context
publising it if it was possible.  I don't know if it has finally been removed or not, but I can't find it anywhere. openbsd is tricky in the sense that ervery update means that we need to install a new vm what you can try is to download the installation from git (contextgarden) and th

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

2022-09-29 Thread Angel M Alganza via ntg-context
On Wed, Sep 28, 2022 at 03:59:07PM +0200, Hans Hagen via ntg-context wrote: changed to have 'context file.txt' to compile using luatex instead of LuaMetaTeX? top line: % engine=luatex Thank you, I'll add that to my source files from now on. but lmtx is and will stay as default To bad the

Re: [NTG-context] LMTX incompatibility in \meaning breaks TikZ, other minor issues

2022-09-28 Thread Leah Neukirchen via ntg-context
er >> "}{\tikz@quote@parser}% >>\let\tikz@quotes@as\tikz@node@quotes@as% >> } >> The last part of the /-key is derived from \meaning, but in LMTX, >> \meaning" is "the character U+0022 'quotation mark'" >> and thus the key cannot be

Re: [NTG-context] TOC colors and in-page anchors

2022-09-28 Thread Pablo Rodriguez via ntg-context
On 9/28/22 12:20, Sylvain Hubert via ntg-context wrote: > Thanks for the pointers, but unfortunately I cannot reproduce the second > fix with either the system pdf viewer or the browser one. Hi Sylvain, it seems that ConTeXt is basically ignoring "focus=standard" in lists. Co

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

2022-09-28 Thread Hans Hagen via ntg-context
On 9/28/2022 5:10 PM, Pablo Rodriguez via ntg-context wrote: Well, that is probably too much to say (I mean, that "--luatex" generates more accurate PDF documents). depends on how one defines accurate The main issue would be pretending to use with LuaTeX some features availab

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

2022-09-28 Thread Pablo Rodriguez via ntg-context
em. Thank you! Glad to read it helped, Ángel. I had the suspicion, because font embedding seems to be changed in LMTX. There have been minor issues in the past with this (I cannot recall whether I experienced one or two myself). > If compiling with --luatex option seem to have more chan

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

2022-09-28 Thread Hans Hagen via ntg-context
On 9/28/2022 3:30 PM, Angel M Alganza via ntg-context wrote: On Tue, Sep 27, 2022 at 04:03:06PM +0200, Pablo Rodriguez via ntg-context wrote: In that case, run "context --luatex --generate" first and then "context --luatex a6lua.tex". This would give you a pure LuaTeX-c

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

2022-09-28 Thread Angel M Alganza via ntg-context
On Tue, Sep 27, 2022 at 04:03:06PM +0200, Pablo Rodriguez via ntg-context wrote: In that case, run "context --luatex --generate" first and then "context --luatex a6lua.tex". This would give you a pure LuaTeX-compiled PDF document. I think that this PDF document will be fi

Re: [NTG-context] TOC colors and in-page anchors

2022-09-28 Thread Sylvain Hubert via ntg-context
t > > \completecontent > > \section{s1}\ipsum > > \section{s2}\ipsum > > \section{s3}\ipsum > > \section{s4}\ipsum > > \section{s5}\ipsum > > \section{s6}\ipsum > > \stoptext > > > > In the table of conten

Re: [NTG-context] TOC colors and in-page anchors

2022-09-28 Thread Bruce Horrocks via ntg-context
tion{s3}\ipsum > \section{s4}\ipsum > \section{s5}\ipsum > \section{s6}\ipsum > \stoptext > > In the table of contents, s1 and s2 (at page 1) are rendered in red, while > others in green. > > Moreover, when I click s4, it jumps to page 2 without locatin

[NTG-context] TOC colors and in-page anchors

2022-09-28 Thread Sylvain Hubert via ntg-context
Dear list, \usemodule[ipsum] \setupinteraction[state=start] \starttext \completecontent \section{s1}\ipsum \section{s2}\ipsum \section{s3}\ipsum \section{s4}\ipsum \section{s5}\ipsum \section{s6}\ipsum \stoptext In the table of contents, s1 and s2 (at

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

2022-09-27 Thread Angel M Alganza via ntg-context
On Tue, Sep 27, 2022 at 04:03:06PM +0200, Pablo Rodriguez via ntg-context wrote: Producer: LuaMetaTeX-2.09 No, this was compiled with LuaMetaTeX. It looks so obvious now, but it didn't (to me) before. :-) In that case, run "context --luatex --generate" first an

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

2022-09-27 Thread Pablo Rodriguez via ntg-context
df | modification date > D:20220920071929+02'00' > mtx-pdf | cropbox > pages: 1-1, width: 841.889758, height: > 595.27559 Hans, many thanks for the pdf script in mtxrun. I have two suggestions: 1. Would it be possible that dates could be in a more fri

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

2022-09-27 Thread Pablo Rodriguez via ntg-context
king "context source.tex", use "context --luatex >> source.tex". > > When I try that I get: > > $ context --luatex a6lua.tex > [...] > mtxrun | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua' In that case, run "cont

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

2022-09-26 Thread Hans Hagen via ntg-context
On 9/26/2022 11:04 PM, Angel M Alganza via ntg-context wrote: On Mon, Sep 26, 2022 at 10:44:55PM +0200, Hans Hagen via ntg-context wrote: mtxrun --script pdf --info oeps.pdf $ mtxrun --script pdf --info a6.pdf mtx-pdf | filename  > a6.pdf mtx-pdf | pdf version   >

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

2022-09-26 Thread Hans Hagen via ntg-context
cters are in there - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-p

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

2022-09-26 Thread Angel M Alganza via ntg-context
On Mon, Sep 26, 2022 at 10:44:55PM +0200, Hans Hagen via ntg-context wrote: mtxrun --script pdf --info oeps.pdf $ mtxrun --script pdf --info a6.pdf mtx-pdf | filename > a6.pdf mtx-pdf | pdf version > 1.7 mtx-pdf | major version > 1 mtx-pdf | m

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

2022-09-26 Thread Hans Hagen via ntg-context
On 9/26/2022 8:26 PM, Angel M Alganza via ntg-context wrote: I didn't know any of the poppler-utils, thank you! mtxrun --script pdf --info oeps.pdf mtxrun --script pdf --fonts oeps.pdf the second one also shows what characters are in there

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

2022-09-26 Thread Angel M Alganza via ntg-context
On Mon, Sep 26, 2022 at 07:10:40PM +0200, Pablo Rodriguez via ntg-context wrote: BTW, is TeX Gyre Heros the font with missing chars in the printed version of your PDF document? It doesn't seem to be that: $ pdffonts a6.pdf name type enc

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

2022-09-26 Thread Pablo Rodriguez via ntg-context
that the first > printer in missing the font the document uses, whereas the second > printer received the font from the computer (Devuan Linux), which has > the appropriate font. Could that be correct? From my experience, this is possible, but maybe not highly probable. By default, ConTeXt i

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

2022-09-26 Thread Angel M Alganza via ntg-context
On Mon, Sep 26, 2022 at 04:54:31PM +0200, Hans Hagen via ntg-context wrote: i assume that you use mkiv or lmtx in which case fonts are embedded in I guess I'm using LMTX, but I don't know how to tell for sure, since I downloaded the installer from https://wiki.context

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

2022-09-26 Thread Hans Hagen via ntg-context
ng it without any problem for a few (maybe 4 or 5) years but, this time, only the grid showed up on the printout, but none of the letters or numbers would, using the same printer I used every time before.  I always copy the PDF file into a USB stick that I bring to the (departamental) printer, plug it i

[NTG-context] Missing letters and numbers in printout

2022-09-26 Thread Angel M Alganza via ntg-context
time, only the grid showed up on the printout, but none of the letters or numbers would, using the same printer I used every time before. I always copy the PDF file into a USB stick that I bring to the (departamental) printer, plug it in the printer and directly print from it. I tried printin

Re: [NTG-context] Spacing in \unit

2022-09-25 Thread Bruce Horrocks via ntg-context
The dot between “kg” and “m” has different spacing depending on whether the > \unit command is in text or math mode. I think that the tighter spacing in > the first one, in text, is correct. > > I personally would also like less space around the \times. To me, the number > 3.00e8 shou

Re: [NTG-context] Spacing in \unit

2022-09-25 Thread Hans Hagen via ntg-context
On 9/25/2022 5:29 PM, Gavin via ntg-context wrote: Hi Hans, I also just noticed that the space between the number and the unit is missing when I typeset with ConTeXt ver: 2022.09.11 20:44 LMTX fmt: 2022.9.25. This space was present in with the ConTeXt version I was using earlier, from a

Re: [NTG-context] Spacing in \unit

2022-09-25 Thread Gavin via ntg-context
Hi Hans, I also just noticed that the space between the number and the unit is missing when I typeset with ConTeXt ver: 2022.09.11 20:44 LMTX fmt: 2022.9.25. This space was present in with the ConTeXt version I was using earlier, from a couple months ago. Thanks for putting it on the math todo

Re: [NTG-context] Spacing in \unit

2022-09-25 Thread Hans Hagen via ntg-context
\unit command is in text or math mode. I think that the tighter spacing in the first one, in text, is correct. I personally would also like less space around the \times. To me, the number 3.00e8 should be typeset more like a single number, rather than like a product of 3.00 and 10^8. I am probably

[NTG-context] Spacing in \unit

2022-09-25 Thread Gavin via ntg-context
Hello list, I have a few questions about space produced by the unit command. Consider this MWE \starttext \unit{3.00e8 kg m/s} $\unit{3.00e8 kg m/s}$ \stoptext The dot between “kg” and “m” has different spacing depending on whether the \unit command is in text or math mode. I think that the

Re: [NTG-context] LMTX incompatibility in \meaning breaks TikZ, other minor issues

2022-09-22 Thread Hans Hagen via ntg-context
preloading latin modern fonts (second stage) fonts > 'fallback modern-designsize rm 12pt' is loaded tex error > tex error on line 8 in file ./tik.tex: Package pgfkeys Error: I do not know the key '/tikz/"{A}"{}' and I am going to ignore it. Perh

[NTG-context] LMTX incompatibility in \meaning breaks TikZ, other minor issues

2022-09-22 Thread Leah Neukirchen via ntg-context
'fallback modern-designsize rm 12pt' is loaded tex error > tex error on line 8 in file ./tik.tex: Package pgfkeys Error: I do not know the key '/tikz/"{A}"{}' and I am going to ignore it. Perhaps you misspelled it.^^J...^^Jl.7 I think the culprit is a tikzcd

[NTG-context] ConTeXt news in the Fediverse

2022-09-20 Thread Henning Hraban Ramm via ntg-context
interfaces. In that, it’s similar to Email: You choose a server of your liking and can subscribe to and communicate with users on other servers, while most of them have some focus (e.g. regional, political, interests). See also e.g. https://joinmastodon.org Please tell me if you post something

Re: [NTG-context] Hyphenation in multi-language projects

2022-09-14 Thread Pablo Rodriguez via ntg-context
On 9/14/22 16:54, Denis Maier via ntg-context wrote: >> [...] >> Isn’t there a way to list exceptions that will work in *all* >> languages? > > I thought that \hyphenation would work like that, or \startexceptions > without a language code. Apparently that's not th

Re: [NTG-context] Hyphenation in multi-language projects

2022-09-14 Thread Steffen Wolfrum via ntg-context
users >> Cc: Steffen Wolfrum ; Hans Hagen >> >> Betreff: Re: [NTG-context] Hyphenation in multi-language projects >> >> Isn’t there a way to list exceptions that will work in *all* languages? > > I thought that \hyphenation would work like that, or \st

Re: [NTG-context] Hyphenation in multi-language projects

2022-09-14 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Steffen > Wolfrum via ntg-context > Gesendet: Mittwoch, 14. September 2022 16:45 > An: mailing list for ConTeXt users > Cc: Steffen Wolfrum ; Hans Hagen > > Betreff: Re: [NTG-context] Hyphenation in

Re: [NTG-context] Hyphenation in multi-language projects

2022-09-14 Thread Steffen Wolfrum via ntg-context
Isn’t there a way to list exceptions that will work in *all* languages? Steffen > Am 14.09.2022 um 09:19 schrieb Denis Maier via ntg-context > : > >> -Ursprüngliche Nachricht- >> Von: ntg-context Im Auftrag von Max >> Chernoff via ntg-context >> Gesen

Re: [NTG-context] Hyphenation in multi-language projects

2022-09-14 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Max > Chernoff via ntg-context > Gesendet: Mittwoch, 14. September 2022 08:51 > An: ntg-context@ntg.nl > Cc: Max Chernoff ; cont...@st.estfiles.de > Betreff: Re: [NTG-context] Hyphenation in multi-lang

Re: [NTG-context] Hyphenation in multi-language projects

2022-09-13 Thread Max Chernoff via ntg-context
Hi Steffen, > … \replaceword should be the correct way for proper hyphenation?? Well I'm not sure if it's "correct", but it seems to work. Based on my testing, having three subsequent sets of groups ({A}{B}{C}) is converted to a discretionary. The discretionary hyphen "\-" is equivalent to the Pl

Re: [NTG-context] Hyphenation in multi-language projects

2022-09-13 Thread Steffen Wolfrum via ntg-context
… \replaceword should be the correct way for proper hyphenation?? st. > Am 14.09.2022 um 08:35 schrieb Max Chernoff : > > > Hi Steffen, > >> The idea is to set the hyphenation for certain words regardless of the >> language that is used in the surrounding paragra

Re: [NTG-context] Hyphenation in multi-language projects

2022-09-13 Thread Max Chernoff via ntg-context
Hi Steffen, > The idea is to set the hyphenation for certain words regardless of the > language that is used in the surrounding paragraphs. > > In this example it should stay: «steff-en» > > How do i set this to all non-english paragraphs (without using > \hyphenation on

Re: [NTG-context] Hyphenation in multi-language projects

2022-09-12 Thread Denis Maier via ntg-context
Von: ntg-context im Auftrag von Steffen Wolfrum via ntg-context Gesendet: Montag, 12. September 2022 17:11:55 An: mailing list for ConTeXt users Cc: Steffen Wolfrum Betreff: [NTG-context] Hyphenation in multi-language projects Hi, please have a look at this minimal example. The

[NTG-context] Hyphenation in multi-language projects

2022-09-12 Thread Steffen Wolfrum via ntg-context
Hi, please have a look at this minimal example. The idea is to set the hyphenation for certain words regardless of the language that is used in the surrounding paragraphs. In this example it should stay: «steff-en» How do i set this to all non-english paragraphs (without using \hyphenation on

Re: [NTG-context] searching in the source browser

2022-09-05 Thread Taco Hoekwater via ntg-context
> On 5 Sep 2022, at 20:28, Henning Hraban Ramm via ntg-context > wrote: > > Hi, this is probably for Taco: > > Is there a possibility in the source browser to search for macros > (\something) or anything containing dots (logs.errors)? > Because neither “simple” nor

Re: [NTG-context] searching in the source browser

2022-09-05 Thread Max Chernoff via ntg-context
Hi Hraban, > Am 05.09.22 um 21:07 schrieb Pablo Rodriguez via ntg-context: > > has it to be the source browser? > > > > I mean, I use grep in Linux (MSYS2 in Windows [and brew.sh is available > > for macOS]) and it works perfectly fine with ConTeXt. > > >

Re: [NTG-context] searching in the source browser

2022-09-05 Thread Henning Hraban Ramm via ntg-context
Am 05.09.22 um 20:59 schrieb Wolfgang Schuster via ntg-context: Henning Hraban Ramm via ntg-context schrieb am 05.09.2022 um 20:28: Hi, this is probably for Taco: Is there a possibility in the source browser to search for macros (\something) or anything containing dots (logs.errors)? Because

Re: [NTG-context] searching in the source browser

2022-09-05 Thread Henning Hraban Ramm via ntg-context
Am 05.09.22 um 21:07 schrieb Pablo Rodriguez via ntg-context: On 9/5/22 20:28, Henning Hraban Ramm via ntg-context wrote: Hi, this is probably for Taco: Is there a possibility in the source browser to search for macros (\something) or anything containing dots (logs.errors)? Because neither

Re: [NTG-context] searching in the source browser

2022-09-05 Thread Hans Hagen via ntg-context
On 9/5/2022 9:07 PM, Pablo Rodriguez via ntg-context wrote: On 9/5/22 20:28, Henning Hraban Ramm via ntg-context wrote: Hi, this is probably for Taco: Is there a possibility in the source browser to search for macros (\something) or anything containing dots (logs.errors)? Because neither

Re: [NTG-context] searching in the source browser

2022-09-05 Thread Pablo Rodriguez via ntg-context
On 9/5/22 20:28, Henning Hraban Ramm via ntg-context wrote: > Hi, this is probably for Taco: > > Is there a possibility in the source browser to search for macros > (\something) or anything containing dots (logs.errors)? > Because neither “simple” nor with Lua patterns I get any r

Re: [NTG-context] searching in the source browser

2022-09-05 Thread Wolfgang Schuster via ntg-context
Henning Hraban Ramm via ntg-context schrieb am 05.09.2022 um 20:28: Hi, this is probably for Taco: Is there a possibility in the source browser to search for macros (\something) or anything containing dots (logs.errors)? Because neither “simple” nor with Lua patterns I get any results. E.g

[NTG-context] searching in the source browser

2022-09-05 Thread Henning Hraban Ramm via ntg-context
Hi, this is probably for Taco: Is there a possibility in the source browser to search for macros (\something) or anything containing dots (logs.errors)? Because neither “simple” nor with Lua patterns I get any results. E.g. I wanted to look for all trackers and/or directives. Hraban

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

2022-09-03 Thread 黄复雄 via ntg-context
> I noticed an issue with multiple glyphs but am not sure why ... (so we > need very small examples to figure it out). I have observed a phenomenon that when the base text contains glues/spaces, an error occurs, as in the following example. Coincidentally, when using \setscript[hanzi], the

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

2022-08-22 Thread Hans Hagen via ntg-context
On 8/22/2022 7:21 AM, 黄复雄 via ntg-context wrote: Dear Hans. Thank you very much for so many examples and guidance. In fact, I have read one of the examples in the followingup.pdf, and the https://github.com/Fusyong/vertical-typesetting module I made is based on the example. The examples all

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

2022-08-21 Thread 黄复雄 via ntg-context
Dear Hans. Thank you very much for so many examples and guidance. In fact, I have read one of the examples in the followingup.pdf, and the https://github.com/Fusyong/vertical-typesetting module I made is based on the example. The examples all worked after I changed the font settings according to

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

2022-08-21 Thread 黄复雄 via ntg-context
uby before): %%%begin error …… tex error > tex error on line 1 in file d:/ah21/TEX/vertical-and-ruby-examples/ruby.lmtx: lua error: registered function call [209]: ...n64/tex/texmf-context/tex/context/base/mkxl/typo-rub.lmt:268: attempt to index a nil value (local 'ruby

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

2022-08-21 Thread 黄复雄 via ntg-context
p-cambria.mkiv' open source > level 3, order 5, name 'D:/venvs/context-win64/tex/texmf-context/tex/context/fonts/mkiv/type-imp-dejavu.mkiv' close source> level 3, order 5, name 'D:/venvs/context-win64/tex/texmf-context/tex/context/fonts/mkiv/type-imp-dejavu.mkiv&#

[NTG-context] How to reset settings in setuphead back to defaults?

2022-08-21 Thread Joel via ntg-context
I have some settings like this, which define the part, chapter, and section titles within a file that contains all of my common settings for all files. \definepagebreak[chapterpagebreak][yes, right] \setuphead[part][style=\sse, placehead=yes, expansion=yes] \setuphead[chapter][style=\sse, placeh

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

2022-08-21 Thread Hans Hagen via ntg-context
On 8/21/2022 12:10 PM, Wolfgang Schuster via ntg-context wrote: 黄复雄 via ntg-context schrieb am 21.08.2022 um 10:24: Currently, the ruby module does not seem to support cjk fonts? I have a preliminary implementation of furigana(pinyin in Chinese) as: attached a variant (no pdf attached) using

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

2022-08-21 Thread Wolfgang Schuster via ntg-context
黄复雄 via ntg-context schrieb am 21.08.2022 um 10:24: Currently, the ruby module does not seem to support cjk fonts? I have a preliminary implementation of furigana(pinyin in Chinese) as: ```lmtx % define the pinyin font \definefont[pinyinfont][name:ahpinying*default at 9pt] % define the pinyin

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

2022-08-21 Thread Hans Hagen via ntg-context
On 8/21/2022 10:24 AM, 黄复雄 via ntg-context wrote: Currently, the ruby module does not seem to support cjk fonts? I have a preliminary implementation of furigana(pinyin in Chinese) as: Actually a few years ago I added some basic new features for doing vertical scripts effciently but (as often

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

2022-08-21 Thread 黄复雄 via ntg-context
Currently, the ruby module does not seem to support cjk fonts? I have a preliminary implementation of furigana(pinyin in Chinese) as: ```lmtx % define the pinyin font \definefont[pinyinfont][name:ahpinying*default at 9pt] % define the pinyin command \define[2]\pinyin{% \setbox1 = \hbox{#1

[NTG-context] A few questions about texmfcnf.lua and mtxrun in TexLive.

2022-08-20 Thread amano.kenji via ntg-context
I'm currently using TexLive 2021 from Gentoo Linux. TexLive 2022 may behave with slight differences. * How does /usr/share/texmf-local/web2c/texmfcnf.lua override /usr/share/texmf-dist/web2c/texmfcnf.lua? According to mtxrun --configurations, /usr/share/texmf-dist comes later than /usr/share/te

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

2022-08-19 Thread Hans Hagen via ntg-context
On 8/19/2022 3:03 AM, Jeong Dal wrote: Dear all, A few days ago, I sent an email as follows. But it is linked to another subject because I choose reply of another subject. So, I send the same mail again. \startuseMPgraphic{outlineT} draw lmt_outline [ text = \MPvar{tt},

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

2022-08-18 Thread Jeong Dal via ntg-context
Dear all, A few days ago, I sent an email as follows. But it is linked to another subject because I choose reply of another subject. So, I send the same mail again. Thank you for reading. Best regards, Dalyoung ** I’d like to write a long chapter title in two lines if it is longer

Re: [NTG-context] Using MathTime Pro 2 fonts in ConTeXt

2022-08-18 Thread Hans Hagen via ntg-context
On 8/18/2022 12:51 AM, Sebastian Leonardo Molina Diaz via ntg-context wrote: Any hints on how to do it? you can look into mathtimes-math.lfg type-imp-mathtimes.mkiv to see how to turn t2 fonts into virtual ot fonts but one never knopws how well that works (depends on the fonts) Hans -

Re: [NTG-context] Using MathTime Pro 2 fonts in ConTeXt

2022-08-17 Thread Sebastian Leonardo Molina Diaz via ntg-context
Any hints on how to do it? On Sat, Aug 13, 2022 at 10:18 AM Sebastian Leonardo Molina Diaz < smoli...@unal.edu.co> wrote: > I really like the design of the characters in MathTime, TeX Gyre doesn't > do the work for m, so I would get hands on work only to make it work. > &g

Re: [NTG-context] \nolimits no effect in LMTX

2022-08-16 Thread Stefan Haller via ntg-context
ve to put the \limits / \nolimits directive *after* the symbol I want to modify. If somebody else stumbled across this: The code for the *mathoperators macros sits in `mkxl/math-lop.mkxl`. Best regards, Stefan ___ If your

Re: [NTG-context] \nolimits no effect in LMTX

2022-08-16 Thread Hans Hagen via ntg-context
On 8/16/2022 3:38 PM, Stefan Haller via ntg-context wrote: Hello, The \nolimits macro has no effect in LMTX, but works fine in the context mkiv version of my texlive installation. Small example: \starttext \startformula \sum\nolimits_{i=1}^{n} a_i \stopformula \stoptext In LMTX the sub

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

2022-08-16 Thread Wolfgang Schuster via ntg-context
amano.kenji schrieb am 16.08.2022 um 13:33: At least, furigana seems covered. How do I know which document to consult? There are many PDF files that come with ConTeXt. You can start with the following thread from 2020: https://mailman.ntg.nl/pipermail/ntg-context/2020/098389.html Useful do

[NTG-context] \nolimits no effect in LMTX

2022-08-16 Thread Stefan Haller via ntg-context
Hello, The \nolimits macro has no effect in LMTX, but works fine in the context mkiv version of my texlive installation. Small example: \starttext \startformula \sum\nolimits_{i=1}^{n} a_i \stopformula \stoptext In LMTX the sub- and superscripts are incorrectly placed below and above the sum

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

<    5   6   7   8   9   10   11   12   13   14   >