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

2022-09-28 Thread Leah Neukirchen via ntg-context
Hans Hagen via ntg-context writes: >> After a bunch of debugging, it turns out that LMTX breaks the TikZ >> 'quotes' >> library, which works using code ala: >> \def\tikz@enable@node@quotes{% >>\pgfkeyssetvalue{/handlers/first char syntax/the character >>

Re: [NTG-context] new hash for buffer (as file)

2022-09-26 Thread Max Chernoff via ntg-context
nothing would work .. so it's bytes in - bytes out Ok good, that's what I was expecting. I've unfortunately used some programs that even fairly recently depended on the system code page, so I'm always a little cautious. > Hi Max, > > I realized later that I was doing something wron

Re: [NTG-context] new hash for buffer (as file)

2022-09-26 Thread Hans Hagen via ntg-context
n will depend on the system's default code page, which would complicate making reproducible hashes. For more than two decades, all my TeX sources are written in UTF-8. I thought that ConTeXt would output the same character encoding as in the source file when saving a buffer. I haven’t found this i

Re: [NTG-context] new hash for buffer (as file)

2022-09-26 Thread Pablo Rodriguez via ntg-context
that the binary > content of any file written will depend on the system's default code page, > which would complicate making reproducible hashes. For more than two decades, all my TeX sources are written in UTF-8. I thought that ConTeXt would output the same character encoding as in the s

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

2022-09-22 Thread Hans Hagen via ntg-context
^Jl.7 I think the culprit is a tikzcd arrow in cell 1-1 After a bunch of debugging, it turns out that LMTX breaks the TikZ 'quotes' library, which works using code ala: \def\tikz@enable@node@quotes{% \pgfkeyssetvalue{/handlers/first char syntax/the character "}{\tikz@quote@parser}% \let\t

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

2022-09-22 Thread Leah Neukirchen via ntg-context
f debugging, it turns out that LMTX breaks the TikZ 'quotes' library, which works using code ala: \def\tikz@enable@node@quotes{% \pgfkeyssetvalue{/handlers/first char syntax/the character "}{\tikz@quote@parser}% \let\tikz@quotes@as\tikz@node@quotes@as% } The last part of the /-key is deri

Re: [NTG-context] Combining Macron Below needed

2022-09-22 Thread Steffen Wolfrum via ntg-context
ext > : > > On 9/10/2022 5:41 PM, Steffen Wolfrum via ntg-context wrote: >> Hi, >> a text is to be set in Garamond Premier Pro and uses this character: ḵ >> Is there a way to set a combining macron below (U+0331), preferable in a >> Garamond-like font? > I'm

Re: [NTG-context] Combining Macron Below needed

2022-09-11 Thread Hans Hagen via ntg-context
On 9/10/2022 5:41 PM, Steffen Wolfrum via ntg-context wrote: Hi, a text is to be set in Garamond Premier Pro and uses this character: ḵ Is there a way to set a combining macron below (U+0331), preferable in a Garamond-like font? I'm sure that these missing accented chars in fonts have been

Re: [NTG-context] Combining Macron Below needed

2022-09-11 Thread jbf via ntg-context
\chr {k line below }ḵ \withlinebelow k On 11/9/22 01:41, Steffen Wolfrum via ntg-context wrote: Hi, a text is to be set in Garamond Premier Pro and uses this character: ḵ Is there a way to set a combining macron below (U+0331), preferable in a Garamond-like font? Best, Steffen

Re: [NTG-context] Combining Macron Below needed

2022-09-10 Thread Alan via ntg-context
On Sat, 10 Sep 2022 17:41:55 +0200 Steffen Wolfrum via ntg-context wrote: > Hi, > > a text is to be set in Garamond Premier Pro and uses this character: ḵ > > Is there a way to set a combining macron below (U+0331), preferable > in a Garamond-like font? > > Best, &g

[NTG-context] Combining Macron Below needed

2022-09-10 Thread Steffen Wolfrum via ntg-context
Hi, a text is to be set in Garamond Premier Pro and uses this character: ḵ Is there a way to set a combining macron below (U+0331), preferable in a Garamond-like font? Best, Steffen ___ If your question

Re: [NTG-context] faltal error: return code: 1

2022-08-25 Thread Pablo Rodriguez via ntg-context
\recursestring\dorecurse{26} >{\character{\recurselevel}̱ }\par > \egroup} > \egroup} > \stoptext Many thanks for your reply, Hans. I wonder whether mtxrun --script check should have spotte

Re: [NTG-context] faltal error: return code: 1

2022-08-25 Thread Hans Hagen via ntg-context
\recursestring\dorecurse{26} {\character{\recurselevel}̱ }\par}\egroup} \stoptext I get the following error: mtx-context | fatal error: return code: 1 But when checking the sources, no error is found: $ mtxrun --script check test-file.tex no error Just in case it helps

[NTG-context] faltal error: return code: 1

2022-08-25 Thread Pablo Rodriguez via ntg-context
Hans, using latest from today (and the previous one) with the following source: \starttext \doloopoverlist{\tf,\ss,\tt} {\bgroup\recursestring% \doloopoverlist{\tf,\it,\bf,\bi,\sc} {\bgroup\recursestring\dorecurse{26} {\character{\recurselevel}̱ }\par

Re: [NTG-context] C with macron

2022-08-25 Thread Hans Hagen via ntg-context
a little too far to the left I don’t know how ConTeXt handles it internally, but placement to main character differs with each letter: \starttext \doloopoverlist{\tf,\ss,\tt} {\bgroup\recursestring\doloopoverlist{\tf,\it,\bf,\bi,\sc} {\bgroup\recursestring\dorecurse{26

Re: [NTG-context] C with macron

2022-08-25 Thread Pablo Rodriguez via ntg-context
r to the left >> >> I don’t know how ConTeXt handles it internally, but placement to main >> character differs with each letter: >> >>\starttext >> \doloopoverlist{\tf,\ss,\tt} >>{\bgroup\recursestring\doloopoverlist{\tf,\it,\bf,\bi,\

Re: [NTG-context] C with macron

2022-08-24 Thread Hans Hagen via ntg-context
On 8/24/2022 8:45 PM, Pablo Rodriguez via ntg-context wrote: On 8/24/22 18:11, Thangalin via ntg-context wrote: Another nice solution, Pablo, thank you. The macron is shifted a little too far to the left I don’t know how ConTeXt handles it internally, but placement to main character differs

Re: [NTG-context] C with macron

2022-08-24 Thread Pablo Rodriguez via ntg-context
On 8/24/22 18:11, Thangalin via ntg-context wrote: > Another nice solution, Pablo, thank you. > > The macron is shifted a little too far to the left I don’t know how ConTeXt handles it internally, but placement to main character differs with each letter: \starttext \doloopoverlis

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

2022-08-21 Thread Hans Hagen via ntg-context
-pod.nl -% in font-imp-scripts, line 145, comment a few lines % % orientate = function(character) % local width = character.width or 0 % local height = character.height or 0

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

2022-08-21 Thread Hans Hagen via ntg-context
- test-directions-005.pdf Description: Adobe PDF document \noheaderandfooterlines % in font-imp-scripts, line 145, comment a few lines % % orientate = function(character) % local width = character.width or 0 % local height

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

2022-08-05 Thread Henning Hraban Ramm via ntg-context
I guess that I could define a fallbackfont. Do anyone know the unicode range that should be covered and the font that has these characters? You need box drawing [1] characters. When you need fonts with a wide range of character the Noto [2] family is a good choice. Yes, also e.g. Segoe

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

2022-08-05 Thread Wolfgang Schuster via ntg-context
characters which indicate the folder depth are not displayed. I guess that I could define a fallbackfont. Do anyone know the unicode range that should be covered and the font that has these characters? You need box drawing [1] characters. When you need fonts with a wide range of character the Noto

Re: [NTG-context] font fallbacks

2022-08-01 Thread Henning Hraban Ramm via ntg-context
Am 01.08.22 um 20:43 schrieb denis.ma...@unibe.ch: Hi, I have used more than one fallback, but each fallback is for a different character range Thank you. I tried: \definefontfallback[seguiFB] [file:seguisym.ttf] % [0x0-0xF] [0x0007F-0xF] [check=yes,force

Re: [NTG-context] font fallbacks

2022-08-01 Thread Denis Maier via ntg-context
Hi, I have used more than one fallback, but each fallback is for a different character range Denis Von: ntg-context im Auftrag von Henning Hraban Ramm via ntg-context Gesendet: Montag, 1. August 2022 19:42:51 An: Henning Hraban Ramm via ntg-context Cc

Re: [NTG-context] font fallbacks

2022-08-01 Thread Henning Hraban Ramm via ntg-context
IT ONE    9  U+0FFFD  �  REPLACEMENT CHARACTER stop missing characters start missing characters: cambriai.ttf  266  U+0276C  ❬  MEDIUM LEFT-POINTING ANGLE BRACKET ORNAMENT  266  U+0276D  ❭  MEDIUM RIGHT-POINTING ANGLE BRACKET ORNAMENT stop missing characters \stopbuffer \typebuffer[exampl

[NTG-context] font fallbacks

2022-07-30 Thread Henning Hraban Ramm via ntg-context
haracters start missing characters: cambria.ttc 9 U+0278A ➊ DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT ONE 9 U+0FFFD � REPLACEMENT CHARACTER stop missing characters start missing characters: cambriai.ttf 266 U+0276C ❬ MEDIUM LEFT-POINTING ANGLE BRACKET ORNAMENT 266 U+0276D ❭ MEDIUM

Re: [NTG-context] If a Font Has Ligature Glyphs But No Feature?

2022-07-21 Thread Hans Hagen via ntg-context
Venetian301BT-Italic.otfVenetian 301 Italic Venetian301BT-Bold.otf Venetian 301 Bold venetian-301-demi-bt.ttfVenetian Dm BT Demi They each had the fi and fl ligatures, but at different character positions depending on which file, and they weren't recognised by default. So I used

Re: [NTG-context] If a Font Has Ligature Glyphs But No Feature?

2022-07-20 Thread Bruce Horrocks via ntg-context
enetian 301 Italic Venetian301BT-Bold.otf Venetian 301 Bold venetian-301-demi-bt.ttfVenetian Dm BT Demi They each had the fi and fl ligatures, but at different character positions depending on which file, and they weren't recognised by default. So I used the following code to add them

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

2022-07-18 Thread Benjamin Buchmuller via ntg-context
insert \penalty1's (prevent > breaks) at the potential breaks before/after the "selected" break, but Hans > provided a _much_ better solution that you should use instead. > >> My guess is that one could equivalently have said "local max_length = 111", >

Re: [NTG-context] fullhz, kerning and glue

2022-07-12 Thread Hans Hagen via ntg-context
On 7/12/2022 9:42 PM, Henning Hraban Ramm via ntg-context wrote: And "fullhz" in spac-ali.mkxl calls \font_expansion_enable_k. So, apparently fullhz enables stretching of *kerning* – that sounds to me like letterspacing. no, it's the inter-character kerning (the tiny thing

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

2022-06-26 Thread Max Chernoff via ntg-context
aid "local max_length = 111", right? Not really; the hyphen is added to the accumulated width, not the accumulated character count. I made the following MWE (reproducible also online) to illustrate what I see: My code assumes that each line has _roughly_ "max_length&qu

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

2022-06-26 Thread Benjamin Buchmuller via ntg-context
.dimen["localhsize"])} \stopitemize \stoptext I'm wondering if I do understand the second while loop correctly: * Once we find the node that exceeds either the character limit or the (local-)hsize (glyphs and glues summed, for disc we add hyphen.width, do

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

2022-06-25 Thread Max Chernoff via ntg-context
aph, so it should be using the exact same value that TeX's paragraph builder uses, meaning that it should account for itemizations and such. I'm not really sure what \localhsize is, but it's probably similar to \hsize. (2) I'm (now?) running into trouble with hyphenation. In my own document, I a

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

2022-06-25 Thread Benjamin Buchmuller via ntg-context
ve, I get " The separation of any of these four components would have hurt TEX significantly. If I had not partic­- i- pated fully in all these activities, literally hundreds of improvements would never have been made, " In my own document, I also get lines with only a single

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

2022-06-25 Thread Benjamin Buchmuller via ntg-context
to limit the number of glyphs per line to 112. > > 112 characters per line sounds much too long anyways. > > From "The Elements of Typographic Style": > > Anything from 45 to 75 characters is widely regarded as a satisfactory > > length of line for a single-colum

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

2022-06-24 Thread Hans Hagen via ntg-context
to empirically match the requirement, but I'm nevertheless curious if there is a Lua/TeX solution to this "problem"? Just assume the worst case and take the narrowest character: \showframe \setupbodyfont[modern] % we need to set the font \normalexpanded { \setuplayout

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

2022-06-23 Thread Max Chernoff via ntg-context
s per line sounds much too long anyways. From "The Elements of Typographic Style": > Anything from 45 to 75 characters is widely regarded as a satisfactory > length of line for a single-column page set in a serifed text face > in a text size. The 66-character line (counting both le

Re: [NTG-context] Typesetting modern Greek (UTF8) with ConTeXt

2022-06-05 Thread Thangalin via ntg-context
u verified that the Greek glyphs are in the fallback font you've selected? Sometimes I'll use a site like FontDrop! to make sure that there are, in fact, glyphs in the character ranges specified. https://fontdrop.info/

Re: [NTG-context] issue with scite module

2022-06-04 Thread Max Chernoff via ntg-context
xml.log 0570: 5c73 6c78 6465 6661 756c 747b c37d 7d5c \slxdefault{.}}\ ^^ The character "ñ" in UTF-8 NFC is "0xC3, 0xB1". The "0xC3" starts a 2-byte character, while "0xB1" is a continuation character. In

Re: [NTG-context] issue with scite module

2022-06-04 Thread Pablo Rodriguez via ntg-context
t that pattern is a little too broad, since it will match any > non-ASCII Unicode character. Things like U+202E (xkcd.com/1137), U+00A0 > (no-break space), etc are valid UTF-8 characters, but not valid XML tag > names. Neither of these two characters are matched by the TeX catcode &

Re: [NTG-context] issue with scite module

2022-06-02 Thread Max Chernoff via ntg-context
For the sake of consistency (with buff-imp-xml.lua), I think the patch should read > [...] +local alsoname = lpatterns.utf8two + lpatterns.utf8three + lpatterns.utf8four I think that that pattern is a little too broad, since it will match any non-ASCII Unicode character. Things l

Re: [NTG-context] issue with scite module

2022-06-02 Thread Pablo Rodriguez via ntg-context
On 6/1/22 23:58, Max Chernoff via ntg-context wrote: >> Now, I still don’t understand LPEG and don’t know if there’s a general >> “character” class that doesn’t need a list... Many thanks for your reply, Hraban. > The easiest way that I found was to just cheat and use everythi

Re: [NTG-context] issue with scite module

2022-06-01 Thread Max Chernoff via ntg-context
Now, I still don’t understand LPEG and don’t know if there’s a general “character” class that doesn’t need a list... Well looking through the XML spec https://www.w3.org/TR/REC-xml/#NT-NameChar you'd think that we'd want a pattern like this: local name = (R("az","AZ&q

Re: [NTG-context] issue with scite module

2022-06-01 Thread Henning Hraban Ramm via ntg-context
and there probably local name = (R("az","AZ","09") + S("_-."))^1 Now, I still don’t understand LPEG and don’t know if there’s a general “character” class that doesn’t need a list... Hraban

Re: [NTG-context] font question re U+00336

2022-05-24 Thread Henning Hraban Ramm via ntg-context
in other words, how do I best overcome the problem of this missing character? "combining" means a combining accent. In case you’re on MacOS and copied the text from e.g. a PDF, MacOS decomposes many (all?) accented vowels, like u + combining trema instead of a proper ü umlaut glyph,

[NTG-context] font question re U+00336

2022-05-23 Thread jbf via ntg-context
ce to use for me because it has pretty much all the glyphs I normally need... except this one obviously! Isn't it really just an en rule (or very similar to such)? Or in other words, how do I best overcome the problem of this missing character? 3. And perhaps connected with the above

Re: [NTG-context] issue with two recently added PDF manuals

2022-05-15 Thread Günter Kolousek via ntg-context
Same here! ❯ qpdfview onandon.pdf documents/general/manuals "Error: Couldn't find trailer dictionary" "Error: Couldn't find trailer dictionary" "Error: Couldn't read xref table" ❯ ❯ qpdfview columnsets.pdf documents/general/manuals "Error (4194333): Ill

Re: [NTG-context] XML processing instructions

2022-05-03 Thread Duncan Hothersall via ntg-context
Just following up on my own question in case anybody else is interested, I realised that the logic of my preprocessor code wasn't the problem, it was just my ignorance of lua and character escaping. Both ? and * are special characters in string.gsub expressions, so they need to be escaped

Re: [NTG-context] right item marks for associative questions?

2022-04-11 Thread śrīrāma via ntg-context
\bTABLE\setupTABLE[frame=on,align=lohi] \setupTABLE[2][distance=1cm,align={flushright,lohi}] \setupTABLE[2,3][width=0.05\textwidth] \setupTABLE[1][align=flushright,width=0.4\textwidth] \setupTABLE[4][align=flushleft,width=0.4\textwidth] } \define\stopItemize{\eTABLE} \d

Re: [NTG-context] mathcal generates error in ConTeXt

2022-03-26 Thread A A via ntg-context
bname './test_context', input > './test_context.tex', result './test_context'* > *fonts > latin modern fonts are not preloaded* > *languages > language 'en' is active* > *open source > level 1, order 2, name './test_context.tex'* > *tex error > tex

Re: [NTG-context] mathcal generates error in ConTeXt

2022-03-26 Thread Jan-Erik Hägglöf via ntg-context
put > './test_context.tex', result './test_context' > fonts > latin modern fonts are not preloaded > languages > language 'en' is active > open source > level 1, order 2, name './test_context.tex' > tex error > tex error on line 1 in file ./test_context.

[NTG-context] Fwd: mathcal generates error in ConTeXt

2022-03-26 Thread A A via ntg-context
'./test_context'* *fonts > latin modern fonts are not preloaded* *languages > language 'en' is active* *open source > level 1, order 2, name './test_context.tex'* *tex error > tex error on line 1 in file ./test_context.tex: \textfont0 is undefined in (text) char, font

[NTG-context] Fwd: mathcal generates error in ConTeXt

2022-03-26 Thread A A via ntg-context
ex error on line 1 in file ./test_context.tex: \textfont0 is undefined in (text) char, font id 0, character 63)* ** *$\mathcal{A}$* *1 >> $\mathcal{A}$* *2* *Somewhere in the math formula just ended, you used the stated character from an* *undefined font family. For example, plain

[NTG-context] mathcal generates error in ConTeXt

2022-03-25 Thread A A via ntg-context
> tex error on line 1 in file ./test_context.tex: \textfont0 is undefined in (text) char, font id 0, character 63)* ** *$\mathcal{A}$* *1 >> $\mathcal{A}$* *2* *Somewhere in the math formula just ended, you used the stated character from an* *undefined font family. For example,

Re: [NTG-context] tilde character

2022-03-14 Thread Henning Hraban Ramm via ntg-context
Am 14.03.22 um 18:45 schrieb Aditya Mahajan: On Mon, 14 Mar 2022, Henning Hraban Ramm via ntg-context wrote: Hi, I’ve a stupid question: How do I get the default tilde character from a font? ~ is a fixed space \texttilde gives a tilde accent \utfchar{0x007E} yields a space (probably the same

Re: [NTG-context] tilde character

2022-03-14 Thread Marco Patzer via ntg-context
On Mon, 14 Mar 2022 18:36:08 +0100 Henning Hraban Ramm via ntg-context wrote: > How do I get the default tilde character from a font? \starttext \startasciimode a~b \stopasciimode a\textasciitilde b \stoptext Ma

Re: [NTG-context] tilde character

2022-03-14 Thread Wolfgang Schuster via ntg-context
Henning Hraban Ramm via ntg-context schrieb am 14.03.2022 um 18:36: Hi, I’ve a stupid question: How do I get the default tilde character from a font? ~ is a fixed space \texttilde gives a tilde accent \utfchar{0x007E} yields a space (probably the same as ~) \lettertilde Wolfgang

Re: [NTG-context] tilde character

2022-03-14 Thread Aditya Mahajan via ntg-context
On Mon, 14 Mar 2022, Henning Hraban Ramm via ntg-context wrote: > Hi, I’ve a stupid question: How do I get the default tilde character > from a font? > > ~ is a fixed space > \texttilde gives a tilde accent > \utfchar{0x007E} yields a space (probably the same as ~) \texta

[NTG-context] tilde character

2022-03-14 Thread Henning Hraban Ramm via ntg-context
Hi, I’ve a stupid question: How do I get the default tilde character from a font? ~ is a fixed space \texttilde gives a tilde accent \utfchar{0x007E} yields a space (probably the same as ~) Hraban ___ If your

Re: [NTG-context] LMTX | (.\) at end of line causes fatal error

2022-03-05 Thread Hans Hagen via ntg-context
. The only way to recover is to go through each of the files and ensure that no line ends with (.\). Is this a bug? can there be somee invisible character after the \ ? otherwise, we need a mwe Hans

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

2022-02-25 Thread Xavier B. via ntg-context
Thanks, Bruce, for clarifying this. But can we put 'c' character in the second column. So 'c' and its math content were together. The annoying thing is that the letter is in one column and its content in another. Thanks, On Thu, 24 Feb 2022 23:04:43 + Bruce Horrocks ha escrit

Re: [NTG-context] new upload

2022-01-23 Thread hanneder--- via ntg-context
tps://github.com/Sandhi-IITBombay/Shobhika The font also has a good Latin component based on PT Serif. This Latin part has good support for the roman (IAST) transliteration for Sanskrit. But strictly only the IAST spec character for Sanskrit are available. It also has glyphs for some commonly u

Re: [NTG-context] new upload

2022-01-22 Thread kauśika via ntg-context
tps://github.com/Sandhi-IITBombay/Shobhika The font also has a good Latin component based on PT Serif. This Latin part has good support for the roman (IAST) transliteration for Sanskrit. But strictly only the IAST spec character for Sanskrit are available. It also has glyphs for some commonly used mathemati

Re: [NTG-context] XML, dealing with whitespace

2022-01-17 Thread Denis Maier via ntg-context
token which ensures there is space when the next character is punctuation. begin example \starttexdefinition Italic #1 \emphasized{#1} \autoinsertnextspace \stoptexdefinition \starttexdefinition Underbar #1 \underbar{#1} \stoptexdefinition \starttext Bla Bla Bla \Underbar{\Italic

Re: [NTG-context] XML, dealing with whitespace

2022-01-15 Thread Wolfgang Schuster via ntg-context
spaces are a problem a better alternative to \ignorespace is \autoinsertnextspace which checks the following token which ensures there is space when the next character is punctuation. begin example \starttexdefinition Italic #1     \emphasized{#1}     \autoinsertnextspace \stoptexdefinition

Re: [NTG-context] new upload

2022-01-15 Thread Hans Hagen via ntg-context
after the first character in the exposant, but it is not printed). to get an idea about default and additional spacing in tex ... \starttext \startbuffer \dontleavehmode\ruledhbox{$x^2 + x$}\par \dontleavehmode\ruledhbox{$x_2 + x$}\par \dontleavehmode\ruledhbox{$x^^2 + x$}\par

Re: [NTG-context] new upload

2022-01-15 Thread Fabrice Couvreur via ntg-context
= 0 \stopformula > > > > I don't think it's normal (I see the spacing to make room for anything > > that comes after the first character in the exposant, but it is not > > printed). > i'll fix it ... > > > > -

Re: [NTG-context] new upload

2022-01-15 Thread Hans Hagen via ntg-context
after the first character in the exposant, but it is not printed). i'll fix it ... - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel

Re: [NTG-context] new upload

2022-01-15 Thread Alexandre Christe via ntg-context
Just came across a weird behavior with the latest upload. The following doesn't print as it should \startformula 4^{2x} - 4^x - 25 = 0 \stopformula I don't think it's normal (I see the spacing to make room for anything that comes after the first character in the exposant, but it is not printed

Re: [NTG-context] Critical Editions?

2022-01-06 Thread Hans Hagen via ntg-context
out that using grayish fonts is best, that hyphenation doesn't need checking, that inter character spacing and extrems expansion looks great, or: soon we migh ditch it because it became hard to read). so ... i suppose authors are pretty much on their own and maybe not even seen as (human

Re: [NTG-context] context manuals -- absence of \definefontfamily

2022-01-04 Thread Jeong Dal via ntg-context
nt whose family name is “Nanum Myeongjo OTF” as main font. Since it doesn’t have italic style and bold italic style, I add [it=… , bi=…] to simulate the styles. 2. Since I want to use English character in "TeX Gyre Pagella”. I add it in the first \definefallbackfamily with an option [range=

Re: [NTG-context] Asking context to switch to a different font for a single character in many places

2022-01-01 Thread Ajith R via ntg-context
On Sat, 1 Jan 2022 11:25:34 +0100 Wolfgang Schuster wrote: > > You used "Latin Modern" which isn't a valid font name, the correct > name is "Latin Modern Roman". > > Wolfgang > Hi, Thanks for that info. So, when I used "Latin Modern" as the font definition, Context falls back to a system

Re: [NTG-context] Asking context to switch to a different font for a single character in many places

2022-01-01 Thread Wolfgang Schuster via ntg-context
Ajith R via ntg-context schrieb am 01.01.2022 um 11:06: On Sat, 01 Jan 2022 14:28:12 +0530 kauśika wrote: Try with the following: \definefallbackfamily [malayalam] [serif] [TeX Gyre Pagella][range=controlpictures,force=yes] \definefontfamily [malayalam] [serif] [RIT

Re: [NTG-context] Malayalam character overlapping with footnote number

2022-01-01 Thread Ajith R via ntg-context
On Sat, 1 Jan 2022 11:06:01 +0100 Hans Hagen wrote: > it makes sense to have styles like s-malayalam (or so) that set up > some parameters to suit practice (often widths and margins) for some > languages but it is somethign that should be 'organized' and > 'coordinated' > > Hans Hi, I am

Re: [NTG-context] Asking context to switch to a different font for a single character in many places

2022-01-01 Thread Ajith R via ntg-context
On Sat, 01 Jan 2022 14:28:12 +0530 kauśika wrote: > Try with the following: > > \definefallbackfamily > [malayalam] > [serif] > [TeX Gyre Pagella][range=controlpictures,force=yes] > \definefontfamily > [malayalam] > [serif] > [RIT Rachana][features=malayalam-two] > >

Re: [NTG-context] Malayalam character overlapping with footnote number

2022-01-01 Thread Hans Hagen via ntg-context
On 12/31/2021 1:58 PM, Ajith R via ntg-context wrote: Hi, I am trying to prepare a moderate sized document in Malayalam using Context. Overall I have been successful. However, there are a few rough edges for which I need help. This is the fourth problem I face. One character, ഼ U+0D3C, when

Re: [NTG-context] Asking context to switch to a different font for a single character in many places

2022-01-01 Thread Ajith R via ntg-context
On Sat, 01 Jan 2022 14:28:12 +0530 kauśika wrote: > Try with the following: > > \definefallbackfamily > [malayalam] > [serif] > [TeX Gyre Pagella][range=controlpictures,force=yes] > \definefontfamily > [malayalam] > [serif] > [RIT Rachana][features=malayalam-two] > >

Re: [NTG-context] Malayalam conjuncts

2022-01-01 Thread Ajith R via ntg-context
rfbuzz (which is what Xe(La)TeX uses > by default) uses some heuristics to work out these conjuncts (?!). > > To answer your specific question regarding the conjuncts in the given > words you have to use some Unicode hacking to get what you want in > ConTeXt. > > In each of the follow

Re: [NTG-context] Asking context to switch to a different font for a single character in many places

2022-01-01 Thread kauśika via ntg-context
On Saturday, January 1, 2022 1:37:49 PM IST Ajith R wrote: > This doesn't print the open box. If I remove the definefontfamily > command or define font family using only Latin Modern, open box is > printed, but not the title. > > What am I missing? Try with the following: \definefallbackfamily

Re: [NTG-context] Asking context to switch to a different font for a single character in many places

2022-01-01 Thread Ajith R via ntg-context
On Fri, 31 Dec 2021 20:54:16 +0530 kauśika wrote: > On Friday, December 31, 2021 6:30:26 PM IST Ajith R via ntg-context > wrote: > > Is it possible to instruct Context to use a font in general, except > > for a single character? > > Since you have mentioned

Re: [NTG-context] Malayalam conjuncts

2021-12-31 Thread kauśika via ntg-context
you have to use some Unicode hacking to get what you want in ConTeXt. In each of the following ZWS refers to the Unicode character (zero-width space U+200B) 1. ശ്രീ This is typeset correctly by writing ശ്ര + ZWS (U+200B) + ീ 2. അശ്രു Typeset correctly with അശ്ര +

Re: [NTG-context] Asking context to switch to a different font for a single character in many places

2021-12-31 Thread kauśika via ntg-context
On Friday, December 31, 2021 6:30:26 PM IST Ajith R via ntg-context wrote: > Is it possible to instruct Context to use a font in general, except for > a single character? Since you have mentioned elsewhere that you have \definefontfamily[…] you can set a fallback font

Re: [NTG-context] Malayalam character overlapping with footnote number

2021-12-31 Thread kauśika via ntg-context
On Friday, December 31, 2021 6:28:30 PM IST Ajith R via ntg-context wrote: > One character, ഼ U+0D3C, when used in \footnote[഼ ]{the foot note}, > overlaps with the footnote number. How can I ask Context to provide > extra space between the character and the footnote number? The

[NTG-context] Asking context to switch to a different font for a single character in many places

2021-12-31 Thread Ajith R via ntg-context
Hi, I am trying to prepare a moderate sized document in Malayalam using Context. Overall I have been successful. However, there are a few rough edges for which I need help. This is the fifth problem I face. Is it possible to instruct Context to use a font in general, except for a single character

[NTG-context] Malayalam character overlapping with footnote number

2021-12-31 Thread Ajith R via ntg-context
Hi, I am trying to prepare a moderate sized document in Malayalam using Context. Overall I have been successful. However, there are a few rough edges for which I need help. This is the fourth problem I face. One character, ഼ U+0D3C, when used in \footnote[഼ ]{the foot note}, overlaps

Re: [NTG-context] Why are back-to-back \autocite commands not working in ConTeXt-SBL?

2021-12-24 Thread Joey McCollum via ntg-context
ootcite helper commands are > intended to handle trailing punctuation intelligently (in order to do > things like move punctuation after a footnote citation before the footnote > marker), so they treat the next character after the command as a "hidden" > parameter. This works a

Re: [NTG-context] Why are back-to-back \autocite commands not working in ConTeXt-SBL?

2021-12-24 Thread Denis Maier via ntg-context
ion intelligently (in order to do things like move punctuation after a footnote citation before the footnote marker), so they treat the next character after the command as a "hidden" parameter. This works as expected if the next character is a punctuation character or something like a \

Re: [NTG-context] Why are back-to-back \autocite commands not working in ConTeXt-SBL?

2021-12-24 Thread Joey McCollum via ntg-context
ers. > > The \autocite, \inlinecite, \parencite, and \footcite helper commands are > intended to handle trailing punctuation intelligently (in order to do > things like move punctuation after a footnote citation before the footnote > marker), so they treat the next character after

Re: [NTG-context] Why are back-to-back \autocite commands not working in ConTeXt-SBL?

2021-12-24 Thread Joey McCollum via ntg-context
punctuation intelligently (in order to do things like move punctuation after a footnote citation before the footnote marker), so they treat the next character after the command as a "hidden" parameter. This works as expected if the next character is a punctuation character or something lik

Re: [NTG-context] Found a weird URL that breaks things

2021-12-19 Thread Bruce Horrocks via ntg-context
optext >> >> under "mtx-context | current version: 2021.12.10 11:41" >> >> \useURL fails as well so I assume it's in the URL parser. > > The hash (#) is a special character in TeX and you have to either replace it > with something safe like \let

Re: [NTG-context] Found a weird URL that breaks things

2021-12-19 Thread Wolfgang Schuster via ntg-context
)] \stoptext under "mtx-context | current version: 2021.12.10 11:41" \useURL fails as well so I assume it's in the URL parser. The hash (#) is a special character in TeX and you have to either replace it with something safe like \letterhash or in case of \useurl you can put al

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

2021-12-18 Thread Wolfgang Schuster via ntg-context
ing line but you cheat and modify the dimensions of all characters. The following example set the height and depth to 0 ex for all character in the current font (I used \definedfont to keep it local to the group) and now you can change the interlinespace to whatever value you like. \definefon

Re: [NTG-context] Defining new float types fails in LMTX

2021-12-10 Thread Hans Hagen via ntg-context
if the error changed or if I copied the wrong error message in the OP, but a current LMTX throws: close source> level 1, order 2, name './t.tex' (\end occurred when parameter character luatex warning > print: bad string offset was incomplete)error (nodes): attempt to doubl

Re: [NTG-context] Defining new float types fails in LMTX

2021-12-10 Thread Marco Patzer via ntg-context
wrong error message in the OP, but a current LMTX throws: close source> level 1, order 2, name './t.tex' (\end occurred when parameter character luatex warning > print: bad string offset was incomplete)error (nodes): attempt to double-free glue node 2986, ignored LMTX 2021.

Re: [NTG-context] Checking for a Unicode prefix of a Unicode string

2021-11-27 Thread Joey McCollum via ntg-context
> Thanks! > > Joey > > On Fri, Nov 26, 2021 at 3:46 AM Hans Hagen via ntg-context < > ntg-context@ntg.nl> wrote: > >> On 11/26/2021 7:42 AM, Joey McCollum via ntg-context wrote: >> > I wasn't aware of a general-purpose "doifstartswith" macro in ConTeXt &

Re: [NTG-context] Math prime issues for some fonts

2021-11-27 Thread Hans Hagen via ntg-context
, in tex the ' is made into an "active in math mode" character (one of few, an dit might even be that the reason for active math characters is in primes) in order to ease input. It effectively being a macro means that it can do some lookahead in order to (1) position itself as well as

Re: [NTG-context] Checking for a Unicode prefix of a Unicode string

2021-11-26 Thread Joey McCollum via ntg-context
l> wrote: > On 11/26/2021 7:42 AM, Joey McCollum via ntg-context wrote: > > I wasn't aware of a general-purpose "doifstartswith" macro in ConTeXt > > (the \doifnextcharelse macro only works one character at a time, and the > > \doifinstring macros may capture substrings

Re: [NTG-context] Checking for a Unicode prefix of a Unicode string

2021-11-26 Thread Hans Hagen via ntg-context
On 11/26/2021 7:42 AM, Joey McCollum via ntg-context wrote: I wasn't aware of a general-purpose "doifstartswith" macro in ConTeXt (the \doifnextcharelse macro only works one character at a time, and the \doifinstring macros may capture substrings that are not prefixes), and I'd like

[NTG-context] Checking for a Unicode prefix of a Unicode string

2021-11-25 Thread Joey McCollum via ntg-context
I wasn't aware of a general-purpose "doifstartswith" macro in ConTeXt (the \doifnextcharelse macro only works one character at a time, and the \doifinstring macros may capture substrings that are not prefixes), and I'd like to develop one for something I'm working on. I've been tr

[NTG-context] minimum working example plus (output)

2021-11-13 Thread skyhorse--- via ntg-context
fallback modern-designsize rm 12pt' is loaded tex error > tex error on line 9 in file ./bullet-style-example-iteration.lmtx: \textfont0 is undefined in (text) char, font id 0, character 63) \textormathchar ...ar \scratchcounter \else \ifconditional \prefermathovertextchar \setfo

  1   2   3   4   5   6   7   8   9   10   >