[NTG-context] Re: ligatures and inputtranslation

2025-08-15 Thread Wolfgang Schuster
Am 15.08.2025 um 21:02 schrieb Rik Kabel: On 2025-08-15 14:49, Michael Guravage wrote: Hi, I have a document that uses the doves type font in its two variants, one for titles, and one for text. I would like to replace several character combinations with ligatures. The same letter

[NTG-context] Re: ligatures and inputtranslation

2025-08-15 Thread Rik Kabel
On 2025-08-15 14:49, Michael Guravage wrote: Hi, I have a document that uses the doves type font in its two variants, one for titles, and one for text. I would like to replace several character combinations with ligatures. The same letter combinations have their own Unicode ligatures in

[NTG-context] ligatures and inputtranslation

2025-08-15 Thread Michael Guravage
Hi, I have a document that uses the doves type font in its two variants, one for titles, and one for text. I would like to replace several character combinations with ligatures. The same letter combinations have their own Unicode ligatures in each font variant. With \replaceword I could replace

[NTG-context] Re: ConTeXt query: Retain original spacing while applying shrinking to the font file

2025-08-11 Thread John Was
; error!/ > > > > Greetings Everybody, I wish everyone is doing great! > > > > > > I was trying to shrink the font's width for my own personal preference. > > > > Using the method as presented in the example would shrink all the > > > > fon

[NTG-context] Re: ConTeXt query: Retain original spacing while applying shrinking to the font file

2025-08-11 Thread Hans Hagen via ntg-context
uld shrink all the font characters by the same factor, including the space character. I'd desire to retain the original width of the space character, while shrinking all the other characters. Is there any way to get it done? I would highly appreciate any help or suggestions! Thanks, Al

[NTG-context] Re: [ constructing poly lines in metafun using lua ]

2025-08-10 Thread Hans Hagen via ntg-context
ocument.mypath) and then use "mp.path" to print from a lua call at the mp end; or as string and print with "mp.print" or bypass the parser with "mp.inject.path" or ... (grep for these in the tree) the reason why you can run out of tokens is that every character becom

[NTG-context] Re: Redefined ~ conserves \protected status although \show~ does not say so

2025-08-09 Thread Hans Hagen via ntg-context
On 8/8/2025 9:21 PM, user691586 via ntg-context wrote: I meant of course "natively active in Plain TeX". I was referring to the format, and applies to the pdftex, xetex, luatex engines too. it is unrelated to engines: any can define any character active what luametatex adds is mor

[NTG-context] Re: Redefined ~ conserves \protected status although \show~ does not say so

2025-08-09 Thread Hans Hagen via ntg-context
efine ~ as it's a \permanent one in context Good to know, thanks. This would break the usage I had in mind, but I can take this as fact of life. The real life is nothing fancy, but the sole natively active character in TeX in ascii range 32-127 being the ~ , it presented itself readily for some

[NTG-context] Re: Redefined ~ conserves \protected status although \show~ does not say so

2025-08-08 Thread user691586 via ntg-context
t; also keep in mind that when overload protection is enabled you can't > even redefine ~ as it's a \permanent one in context Good to know, thanks. This would break the usage I had in mind, but I can take this as fact of life. The real life is nothing fancy, but the sole natively act

[NTG-context] Re: Redefined ~ conserves \protected status although \show~ does not say so

2025-08-08 Thread Hans Hagen via ntg-context
\edef`. Maybe ConTeXt has other way which do not compare to the e-TeX `\protected` as is. well, it's not that there is no protected def or so, it's about interpreting an active character ... and in thsi case the amcode setting prevents it being expanded in an edef like situation

[NTG-context] Re: Redefined ~ conserves \protected status although \show~ does not say so

2025-08-08 Thread Hans Hagen via ntg-context
e in the editor (contrary to a nbsp character) and because etc always did that. fwiw: We also make _ and ^ and & behave like other characters because there is no reason to do otherwise. An ` is handled in math as prime but is also kind of special, as are . and , while in math ^ ^^ ^^^ and

[NTG-context] Re: [OT] Mini-keypad for typing math symbols

2025-07-27 Thread Henning Hraban Ramm
al keyboard and provides rapid access to 112 mathematical symbols and Greek letters, saving the need to hunt around in fiddly character viewers. It's switchable between Word, OpenOffice and LaTeX For german users the following will be more interesting which provides keycaps for the exte

[NTG-context] Re: [OT] Mini-keypad for typing math symbols

2025-07-27 Thread Wolfgang Schuster
athematical symbols and Greek letters, saving the need to hunt around in fiddly character viewers. It's switchable between Word, OpenOffice and LaTeX For german users the following will be more interesting which provides keycaps for the extended E1 keybaord layout. [1] https://typotast

[NTG-context] Re: Layout of a table with formulae

2025-07-25 Thread Willi Egger
uct. >> It appears that this causes ConTeXt to use the alignment character at the >> end of the headings + 1 position. >> I would be glad if someone could enlighten me how to improve the layout. > > Disable the character alignment in the header with > >\bTD[alignchara

[NTG-context] Re: Layout of a table with formulae

2025-07-24 Thread Wolfgang Schuster
aligncharacter=yes for aligning the formulae in a bTABLE…\eTABLE construct. It appears that this causes ConTeXt to use the alignment character at the end of the headings + 1 position. I would be glad if someone could enlighten me how to improve the layout. Disable the character alignment in the header with

[NTG-context] Layout of a table with formulae

2025-07-24 Thread Willi Egger
…\eTABLE construct. It appears that this causes ConTeXt to use the alignment character at the end of the headings + 1 position. I would be glad if someone could enlighten me how to improve the layout. Kind regards Willi test.pdf Description: Adobe PDF document test.tex Description: Binary data

[NTG-context] [OT] Mini-keypad for typing math symbols

2025-07-21 Thread Bruce Horrocks
ed to hunt around in fiddly character viewers. It's switchable between Word, OpenOffice and LaTeX — Bruce Horrocks Hampshire, UK ___ If your question is of interest to others as well, please add an entry to the

[NTG-context] Keeping math formula information for export

2025-07-06 Thread Jairo A. del Rio
tracingonline\plusone $1 + 1$ \tracingcommands\zerocount \stopTEXpage Log: (a lot of info...) 7:7: {\Umathfractiondelsize} 7:7: {\Umathfractiondelsize} 7:7: {\Umathfractiondelsize} 7:7: {\Umathfractiondelsize} 7:6: {\Umathskeweddelimitertolerance} (a lot of info...) 7:4: {the character U+0031 1} 7:3: {blank s

[NTG-context] Re: New user here!

2025-06-16 Thread Wolfgang Schuster
mation that there is more than one instance of # between instances of & in the setup of the table.  They lie! I'm disappointed that I can't use \catcode = \active to do anything useful - I do often use that, particularly to fetch a character not in the typeface.  For example, if I wa

[NTG-context] Re: New user here!

2025-06-16 Thread John Was
ne is presented with the > false information that there is more than one instance of # between > instances of & in the setup of the table. They lie! > > This should help: > > https://wiki.contextgarden.net/Tables/Natural_tables_with_TABLE#Rules > > > I'm disappoi

[NTG-context] Re: New user here!

2025-06-16 Thread Taco Hoekwater
I can't use \catcode = \active to do anything useful - > I do often use that, particularly to fetch a character not in the typeface. > For example, if I want a yogh and am obliged to use a particular typeface > (because of house style for a journal or book series) that doesn

[NTG-context] Re: New user here!

2025-06-16 Thread John Was
between instances of & in the setup of the table. They lie! I'm disappointed that I can't use \catcode = \active to do anything useful - I do often use that, particularly to fetch a character not in the typeface. For example, if I want a yogh and am obliged to use a particular type

[NTG-context] Re: Opening quotation mark

2025-06-15 Thread Wolfgang Schuster
font, and that the equivalent in XeTeX works as expected for both opening and closing marks. What you see for the closing quotation mark are two single quotation marks which are the same character as the apostroph but you don't get the correct double quotation mark. While the best solu

[NTG-context] Re: K with combining macron below

2025-05-28 Thread Hans Hagen
On 5/28/2025 2:51 PM, Denis Maier via ntg-context wrote: Thanks,. Hans! That doesn't change the slightly off-placed bar, but now I can use the character with the precomposed bar. Interesting... (This also looks not perfect, but much better than the version with the combining character.)

[NTG-context] Re: K with combining macron below

2025-05-28 Thread Denis Maier via ntg-context
Thanks,. Hans! That doesn't change the slightly off-placed bar, but now I can use the character with the precomposed bar. Interesting... (This also looks not perfect, but much better than the version with the combining character.) Has using \definefontfeature[default][default][compose=yes

[NTG-context] Re: K with combining macron below

2025-05-28 Thread Hans Hagen via ntg-context
, Denis Christian (UB) *Gesendet:* Dienstag, 20. Mai 2025 14:36 *An:* mailing list for ConTeXt users *Betreff:* K with combining macron below Hi, I’m trying to use a k with a bar/line below: ḵ. The problem is that my font (Cardo) doesn’t seem to have this character in a precombined version. So, I

[NTG-context] Re: K with combining macron below

2025-05-26 Thread denis.maier
trying to use a k with a bar/line below: ḵ. The problem is that my font (Cardo) doesn’t seem to have this character in a precombined version. So, I need to combine the letter with the combining macron below: https://www.compart.com/en/unicode/U+0331 While this works with the default font, with

[NTG-context] K with combining macron below

2025-05-20 Thread denis.maier
Hi, I’m trying to use a k with a bar/line below: ḵ. The problem is that my font (Cardo) doesn’t seem to have this character in a precombined version. So, I need to combine the letter with the combining macron below: https://www.compart.com/en/unicode/U+0331 While this works with the default

[NTG-context] Re: character replace

2025-04-08 Thread alan . caruanambom
Thanks, just what I needed! ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage :

[NTG-context] Re: Alternate text for images?

2025-04-05 Thread Matthias Weber
ule NameStatusDescription Tagged contentPassedAll page content is tagged Tagged annotationsPassedAll annotations are tagged Tab orderFailedTab order is consistent with structure order Character encodingPassedReliable character encoding is provided Tagged multimediaPassedAll multimedia objects are tagged Scr

[NTG-context] Re: Alternate text for images?

2025-04-04 Thread Matthias Weber
ent Rule NameStatusDescription Tagged contentFailedAll page content is tagged Tagged annotationsPassedAll annotations are tagged Tab orderFailedTab order is consistent with structure order Character encodingPassedReliable character encoding is provided Tagged multimediaPassedAll multimedia objects

[NTG-context] Re: character replace

2025-04-04 Thread Wolfgang Schuster
Am 04.04.2025 um 02:29 schrieb Alan Caruanambo: Hi, I'm using a font (only in the headers) that doesn't have Spanish characters. What I want is for it to automatically replace the text with a custom font when I type it in the header. Sample: \chapter{Peru} ==> Peru (replace ú with u)

[NTG-context] Re: character replace

2025-04-03 Thread alan . caruanambom
Correction in sample: \chapter{Perú} ==> Peru (replace ú with u) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3

[NTG-context] character replace

2025-04-03 Thread Alan Caruanambo
Hi, I'm using a font (only in the headers) that doesn't have Spanish characters. What I want is for it to automatically replace the text with a custom font when I type it in the header. Sample: \chapter{Peru} ==> Peru (replace ú with u) = \definefont[typographercaps][name:typographercaps

[NTG-context] Re: automatic character comparison

2025-03-26 Thread Pablo Rodriguez via ntg-context
On 3/26/25 23:57, Bruce Horrocks wrote: > On 25 Mar 2025, at 18:48, Pablo Rodriguez via ntg-context > wrote: >> >> Is this a feasible approach? I don’t need the most efficient solution, >> just one that I can handle and that just works. > > I think relying on diff's colouring and a 1000 line chan

[NTG-context] Re: automatic character comparison

2025-03-26 Thread Bruce Horrocks
> On 25 Mar 2025, at 18:48, Pablo Rodriguez via ntg-context > wrote: > > Is this a feasible approach? I don’t need the most efficient solution, > just one that I can handle and that just works. I think relying on diff's colouring and a 1000 line change window would work but is not robust as i

[NTG-context] Re: automatic character comparison

2025-03-26 Thread Pablo Rodriguez via ntg-context
On 3/25/25 20:04, Hans Hagen wrote: > [...] > Whatever works for you is okay right? > > The attached is what is coming one day. The prototype (some 150 lines of > code) works ok here but we need some interface that MS and I will look > into when we pick up the columnsets track. Many thanks for the

[NTG-context] Re: automatic character comparison

2025-03-25 Thread Hans Hagen
character that differs from the other column (it might be different, or just missing or being added). I'm not aware of anything built-in. [In short, my previous request intended how to have an automatic comparison of two versions from the same text automatically done.] Replying to this message

[NTG-context] Re: automatic character comparison

2025-03-25 Thread Pablo Rodriguez via ntg-context
On 3/5/25 02:21, Bruce Horrocks wrote: >> On 4 Mar 2025, at 18:26, Pablo Rodriguez wrote: >> >> The first line shows different versions text. I wonder whether there >> would be an automatic way to get the \inframed highlighting with any >> character that differs from

[NTG-context] Footer issue (for graduated wizards mastering kung-fu)

2025-03-13 Thread roberto . bianchi
odymatter 18 Here is working 19 %\input{.\\TEX\\Chapter_1.tex} 20 %\input{.\\TEX\\Chapter_2.tex} 21 %\input{.\\TEX\\Chapter_3.tex} 22 %\input{.\\TEX\\Chapter_4.tex} 23 %\input{.\\TEX\\Chapter_5.tex} 24 %\input{.\\TEX\\Chapter_6.tex} You started a keyword but it seems to

[NTG-context] Re: automatic character comparison

2025-03-05 Thread Pablo Rodriguez via ntg-context
On 3/5/25 05:23, Max Chernoff via ntg-context wrote: > Hi Pablo, Hi Max, many thanks for your reply. > Not quite what you're asking for, but the "compare" script does > something fairly similar: > [...] > The source for that script is in > > tex/context/base/mkiv/mtx-context-compare.tex > >

[NTG-context] Re: automatic character comparison

2025-03-05 Thread Pablo Rodriguez via ntg-context
On 3/5/25 02:27, Bruce Horrocks wrote: >> On 5 Mar 2025, at 01:21, Bruce Horrocks wrote: >> [...] >> I'm not aware of anything built-in. >> >> One way would be to use buffers: you enter your text into two >> buffers ("left" & "right"); compare them using a script which then >> modifies the buffers

[NTG-context] Re: automatic character comparison

2025-03-04 Thread Max Chernoff via ntg-context
gt; would be an automatic way to get the \inframed highlighting with any > character that differs from the other column (it might be different, or > just missing or being added). > > I think this may be possible with ConTeXt, but I don’t know how to > achieve it automagically. Not quite w

[NTG-context] Re: automatic character comparison

2025-03-04 Thread Bruce Horrocks
> On 5 Mar 2025, at 01:21, Bruce Horrocks wrote: > > > >> On 4 Mar 2025, at 18:26, Pablo Rodriguez via ntg-context >> wrote: >> >> The first line shows different versions text. I wonder whether there >> would be an automatic way to get the \infram

[NTG-context] Re: automatic character comparison

2025-03-04 Thread Bruce Horrocks
> On 4 Mar 2025, at 18:26, Pablo Rodriguez via ntg-context > wrote: > > The first line shows different versions text. I wonder whether there > would be an automatic way to get the \inframed highlighting with any > character that differs from the other column (it might be di

[NTG-context] automatic character comparison

2025-03-04 Thread Pablo Rodriguez via ntg-context
same text (in different subcolumnsets). The first line shows different versions text. I wonder whether there would be an automatic way to get the \inframed highlighting with any character that differs from the other column (it might be different, or just missing or being added). I think this may

[NTG-context] Re: calculate ...

2025-03-04 Thread Thomas Meyer
the textarea width to 2.6 alphabets. \setbox\scratchbox\hbox{\dorecurse{26}{\character\recurselevel}} \newdimen\Width \Width=\dimexpr(2.6\wd\scratchbox) That's something I don't understand! What is a 2.6 alphabet? What means "scratchbox", "2.6\wd" ... ? This is stra

[NTG-context] Re: calculate ...

2025-03-03 Thread Wolfgang Schuster
Am 03.03.2025 um 15:46 schrieb Rik Kabel: On 2025-03-03 08:43, Thomas Meyer wrote: You mean that: % Set the textarea width to 2.6 alphabets. \setbox\scratchbox\hbox{\dorecurse{26}{\character\recurselevel}} \newdimen\Width \Width=\dimexpr(2.6\wd\scratchbox) That's something I don't

[NTG-context] Re: calculate ...

2025-03-03 Thread Rik Kabel
On 2025-03-03 08:43, Thomas Meyer wrote: You mean that: % Set the textarea width to 2.6 alphabets. \setbox\scratchbox\hbox{\dorecurse{26}{\character\recurselevel}} \newdimen\Width \Width=\dimexpr(2.6\wd\scratchbox) That's something I don't understand! What is a 2.6 alphabet? W

[NTG-context] Re: calculate ...

2025-03-03 Thread Thomas Meyer
h, splitting the remaining space among the margins. I think that there are a couple of problems with the code as shown. *  It conflates paper size and page size -- try adding \setuppapersize[A5][A3] and you will see what I mean. How can I change that? *  I do not see where your soluti

[NTG-context] Re: Mathdigits fallback does not work

2025-02-23 Thread Mohammad Hossein Bateni
get this to work. 5. Can we do transitive definefontsynonyms and add features and fallback iteratively? I mean, define B from A with some features and fallbacks, and then C from B with some additional features and fallbacks. 6. I see that we have digitsnormal and digitsbold in the normal (non-bold)

[NTG-context] Re: Weird date output

2025-01-14 Thread Wolfgang Schuster
ot;૭", ["8"] = "૮", ["9"] = "૯", }, ['gurmurkhi'] = { ["0"] = "੦", ["1"] = "੧", ["2"] = "੨", ["3"] = "੩", ["4"] = "੪", [

[NTG-context] Re: Quickly invoke a self-defined index sorting file?

2025-01-12 Thread Hans Hagen
x27;t really need the huge entries table because you're not going to split the index for every first character maybe this definitions["cn-hanzi"].entries = table.setmetatableindex(function(t,k) if utfbyte(k) < 1000 then return "latin" else ret

[NTG-context] Re: defining macros

2025-01-11 Thread Hans Hagen via ntg-context
On 1/11/2025 10:21 AM, Henning Hraban Ramm wrote: Am 11.01.25 um 00:19 schrieb Hans Hagen: Yes, of course, but I’m often surprised by funny characters like #: Well, there are reasons: It has to fit in the #1 .. #9 approach because these things are stored into tokens, so single character. Then

[NTG-context] Re: defining macros

2025-01-11 Thread Henning Hraban Ramm
Am 11.01.25 um 00:19 schrieb Hans Hagen: Yes, of course, but I’m often surprised by funny characters like #: Well, there are reasons: It has to fit in the #1 .. #9 approach because these things are stored into tokens, so single character. Then one has to decide on what characters. There&#

[NTG-context] Re: defining macros

2025-01-10 Thread Hans Hagen
character. Then one has to decide on what characters. There's also a performance issue because we don't want to sacrifice too much and these preamble tokens are "parsed" every time a macro is called so they better can be efficient. In the end only a few users (mostly developers)

[NTG-context] Re: \goto is corrupting a URL

2024-12-30 Thread Bruce Horrocks
t. Then we render a - or not and there are two vartiants > then: 0x2D and 0xAD. Currently we mark your -'s as 0xAD in the pdf but i can > limit that to syllable discretionaties only case 1 so i'll do that instead. > > Then there is the cut'n'paste as well as inter

[NTG-context] Re: Strange character output when mixing different fonts

2024-12-18 Thread autumnus
It worked, thanks. BTW, is this a common solution for font names that contain CJK characters? autumnus ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@n

[NTG-context] Re: Strange character output when mixing different fonts

2024-12-18 Thread Wolfgang Schuster
autumnus schrieb am 18.12.2024 um 11:41: hi, When I mix the four fonts below, only the serif (mincho) outputs my characters correctly. However, if I only use any of these fonts for output, I will get normal characters. It's not clear to me if this is a bug with the font itself or what. If it's

[NTG-context] Strange character output when mixing different fonts

2024-12-18 Thread autumnus
hi, When I mix the four fonts below, only the serif (mincho) outputs my characters correctly. However, if I only use any of these fonts for output, I will get normal characters. It's not clear to me if this is a bug with the font itself or what. If it's an issue with the fonts themselves, I'l

[NTG-context] Re: A few question about defining symbols and creating downarrow to illustrate function rules

2024-11-24 Thread Henning Hraban Ramm
{\symbol[cedis]} or just \def\cedis{{\definedfont[MySymFont*default]\tochar{x:20B5}}} \definesymbol[cedis][\utfchar{“20B5}] \def\cedis{   \switchtobodyfont[dejavu]\tf\symbol[cedis] } I have GH\cedis 10.00 in my pocket Don’t use \switchtobodyfont for a single character. For such cases, a

[NTG-context] Re: Hyphenated word in html export

2024-11-07 Thread Florent Michel
‘proper’ utf-8 > hyphen character (0x2010) instead of 0x002d solves the issue. > I'd be interested to hear if someone has an easier-to-type > solution, though. > > Le jeu. 7 nov. 2024 à 22:35, Florent Michel a > écrit : > >> Hello, >> >> Is there a way to pres

[NTG-context] Re: Hyphenated word in html export

2024-11-07 Thread Rik Kabel
On 2024-11-07 17:56, Florent Michel wrote: Apologies for the double email. I raised just after sending the previous one that using the ‘proper’ utf-8 hyphen character (0x2010) instead of 0x002d solves the issue. I'd be interested to hear if someone has an easier-to-type solution, though.

[NTG-context] Re: Hyphenated word in html export

2024-11-07 Thread Florent Michel
Apologies for the double email. I raised just after sending the previous one that using the ‘proper’ utf-8 hyphen character (0x2010) instead of 0x002d solves the issue. I'd be interested to hear if someone has an easier-to-type solution, though. Le jeu. 7 nov. 2024 à 22:35, Florent Mich

[NTG-context] What is the current correct way to load fallback fonts?

2024-11-05 Thread Joel via ntg-context
n't get it to appear as a fallback. Basically if the character can't be found in EB Garamond, I hope it will use FreeSerif.otf, but generally, I'm just using it for a couple special symbols. How do I correct his so it proper

[NTG-context] Re: configuring spitter

2024-10-08 Thread Henning Hraban Ramm
n’t check if it works without quote character. Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/

[NTG-context] Re: Is there any way to automatically control the spacing between Chinese and non-Chinese characters?

2024-10-04 Thread hf
gt;> >> and n_next.id == glyph_id >> >> and not ischinesechar(n_next.char) >> >> then >> >> local glue = node_new("glue") >> >> glue.width = tex_sp("0.25em") >> >> glue.stretch = tex_sp("0.25em&

[NTG-context] Re: Is there any way to automatically control the spacing between Chinese and non-Chinese characters?

2024-10-02 Thread 黄复雄
> glue.width = tex_sp("0.25em") > > > > glue.stretch = tex_sp("0.25em") > > > > print("insert space after:", utf8.char(n.char)) > > > > head, glue = node_insertafter(head, n, glue) > > > > n = glue.next > > > &g

[NTG-context] Re: Is there any way to automatically control the spacing between Chinese and non-Chinese characters?

2024-10-02 Thread hf
uot;, utf8.char(n.char)) > > head, glue = node_insertafter(head, n, glue) > > n = glue.next > > end > > end > > n = n.next > > end > > return head, done > > end > > nodes.tasks.appendaction("processors", "after", "Thi

[NTG-context] Re: Is there any way to automatically control the spacing between Chinese and non-Chinese characters?

2024-10-01 Thread 黄复雄
能提升。 \stoptext ``` On Tue, Oct 1, 2024 at 2:07 PM wrote: > > hi, > Is there any way to automatically control the spacing between Chinese and > non-Chinese characters? > I noticed that there is a tracker that tracks character types and annotates > them. > But I don't kno

[NTG-context] Is there any way to automatically control the spacing between Chinese and non-Chinese characters?

2024-09-30 Thread ai2472206007
hi, Is there any way to automatically control the spacing between Chinese and non-Chinese characters? I noticed that there is a tracker that tracks character types and annotates them. But I don't know much about lua and the underlying tex. Any suggestions would be greatly appreciated.

[NTG-context] Re: suitable macros for Pandoc custom styles for paragraphs, spans and tables

2024-09-26 Thread mf
Il 24/09/24 09:04, Henning Hraban Ramm ha scritto: Am 24.09.24 um 00:08 schrieb mf: Any ideas to specify paragraph and character styles? I’d use \definehighlight for character styles and \defineparagraph for par styles. For the latter to work, you must add \startparagraph … \stopparagraph

[NTG-context] Re: suitable macros for Pandoc custom styles for paragraphs, spans and tables

2024-09-24 Thread Henning Hraban Ramm
Am 24.09.24 um 00:08 schrieb mf: Any ideas to specify paragraph and character styles? I’d use \definehighlight for character styles and \defineparagraph for par styles. For the latter to work, you must add \startparagraph … \stopparagraph around each. Not to be confused with

[NTG-context] suitable macros for Pandoc custom styles for paragraphs, spans and tables

2024-09-23 Thread mf
ragraph or character style in DOCX, ICML or ODT when exported to those formats - e.g. when you have a Span with custom-style="myStyle" around some inline text, you'll get a character style "myStyle" in those formats - for paragraphs, it's a bit different: since they ha

[NTG-context] What could possibly be wrong with 'P'?

2024-09-09 Thread jbf
\c!leftwidth \n \\hss \\egroup ...\n ...\n\n \n \\stopfrontmatter\n\n", ["lastluaerror"]="", ["lasttexerror"]="Valid keyword expected, likely 'plus'", ["lasttexhelp"]="You started a keyword but it seems to be an invalid one. The

[NTG-context] Re: Defining mathsymbols from unicode char

2024-08-29 Thread Wolfgang Schuster
Jethro Djan schrieb am 29.08.2024 um 21:27: Dear all, 1. I am trying to define the "pitchfork" unicode character(https://unicodeplus.com/U+22D4) to use in ConTeXt as stated on page 387 of new math manual authored by Hans and Mikael: \definemathsymbol[pitchfork][relation]["

[NTG-context] Defining mathsymbols from unicode char

2024-08-29 Thread Jethro Djan
Dear all, 1. I am trying to define the "pitchfork" unicode character( https://unicodeplus.com/U+22D4) to use in ConTeXt as stated on page 387 of new math manual authored by Hans and Mikael: \definemathsymbol[pitchfork][relation]["22D4] It works with some unicode characters and n

[NTG-context] Re: understanding units / dimensions

2024-08-25 Thread Henning Hraban Ramm
), vh (relative to the \vsize), maybe a percentage (but of what) and ch (width of the current zero digit character). As if that wasn’t official documentation… WRT to funits see also https://www.tug.org/TUGboat/tb44-2/tb137egger-edith.pdf

[NTG-context] Quotation mark in drop caps

2024-07-07 Thread Thangalin
Hi list! I have a three-part question. First, when using \placeinitial, how would you detect whether the first character is a quotation mark, and, if so, override the setupinitial to use m=2? Second, when using m=2 to capture a quotation mark, how would you change the font size of only the

[NTG-context] weekend update

2024-06-21 Thread Hans Hagen via ntg-context
Hi, I uploaded a new version: -- fix for hraban's svg image (one character patch) -- more verbose link comments for pablo (for experimenting) -- support for stacking at the tex end (maybe for presentations) \starttext \definestacking[one] \definestacking[two] \startbuffer This is a

[NTG-context] Re: How to improve appearance of bars in frac, sqrt, etc. on screens?

2024-06-14 Thread Hans Hagen via ntg-context
to thsi due to generous overlaps (unless they use a sequence of connecting strokes in the same direction) also keep in mind that looking at a blown up character is not that realistic (for instance a traditional bitmap font might look great at 600 or 1200 dpi at intended size so zooming in showing ra

[NTG-context] Re: Number in a circle

2024-05-30 Thread Henning Hraban Ramm
-0x2] % look up the right Unicode ranges!    [check=no,force=no] \definetypeface [myfonts] [rm] [serif] [times] [default] [fallbacks=SymbolFB] And then copy the character from a symbol table, no need for a macro. Hmm, that's a great idea. But I can't seem to get a minimal to work

[NTG-context] Re: BibTeX choking on comments in database

2024-05-29 Thread Alan Braslau via ntg-context
ly. > > I see. The first few lines of my BibTeX file just contains a copyright > notice that is commented out with the % character. If that is not a > valid comment character, is there no way to write a comment in the > file? > 1) You appear to be using the long-frozen mki

[NTG-context] Re: BibTeX choking on comments in database

2024-05-28 Thread Kip Warner
ht notice that is commented out with the % character. If that is not a valid comment character, is there no way to write a comment in the file? -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed mes

[NTG-context] Re: BibTeX choking on comments in database

2024-05-28 Thread Kip Warner
On Wed, 2024-05-29 at 00:45 +0200, Aditya Mahajan wrote: > Hard to say without looking at the bib file, but % is not a comment > character in bibtex. So, if your file starts with The first few lines of the file is just a copyright notice, with each line beginning with %. If that&#x

[NTG-context] Re: BibTeX choking on comments in database

2024-05-28 Thread Aditya Mahajan
ot warning about text outside of an entry that > should be treated as a comment? Hard to say without looking at the bib file, but % is not a comment character in bibtex. So, if your file starts with % @article{key, % title = {...}, % } you will get an error from the bib parser. If you want to c

[NTG-context] Re: Number in a circle

2024-05-28 Thread Kip Warner
number 1. > > > > I am assuming it needs a font that supports it, but I'm not sure > > how to > > switch to a supporting font just to typeset that character and then > > revert back. Is there some way to define a macro? > > You could just define a fallback fon

[NTG-context] Re: Number in a circle

2024-05-27 Thread Henning Hraban Ramm
t get them to work in ConTeXt. I tried using the \utfchar{0x2460} but it just displays the number 1. I am assuming it needs a font that supports it, but I'm not sure how to switch to a supporting font just to typeset that character and then revert back. Is there some way to define a macro? You

[NTG-context] Re: BibTeX choking on comments in database

2024-05-27 Thread Henning Hraban Ramm
4, order 13, name '/usr/share/texmf/tex/context/bib/mkii/bibl-apa.tex' ... All that's present on the first few lines of the References.bib BibTeX database are comments that begin with the '%' character. Is there a different character that should be used for BibT

[NTG-context] BibTeX choking on comments in database

2024-05-27 Thread Kip Warner
/mkii/bibl-apa.tex' ... All that's present on the first few lines of the References.bib BibTeX database are comments that begin with the '%' character. Is there a different character that should be used for BibTeX databases when used with ConTeXt? -- Kip Warner OpenPGP signe

[NTG-context] Re: Number in a circle

2024-05-27 Thread Kip Warner
Xt. I tried using the \utfchar{0x2460} but it just displays the number 1. I am assuming it needs a font that supports it, but I'm not sure how to switch to a supporting font just to typeset that character and then revert back. Is there some way to define a macro? -- Kip Warner OpenPGP

[NTG-context] wrong font scaling in LMTX?

2024-05-26 Thread Pablo Rodriguez via ntg-context
confirm the issue? BTW, this is the first time I indent the sample sent to the list with a single character (one tab) instead of two or four spaces. If the sample is wrong displayed in the medium you use with the mailing list, please tell me and I will go back to spaces instead of tabs. Many thanks

[NTG-context] what am I missing in the typescript?

2024-05-15 Thread madiazm . eoicc
sage in log, as if it was invisible. What am I missing? here my script: \definefontfeature[Libertinusfeatures][ mode=node, ccmp=yes, % character composition liga=yes, tlig=yes, % ligatures tnum=yes, cpsp=yes, % capital spacing kern=yes, language=dflt, protrusion=quality, ex

[NTG-context] Re: How to isolate serious errors from warnings?

2024-04-19 Thread Hans Hagen
onTeXt couldn't find, as I mispelled the filenmame, and it fully compiled and made a PDF, without me noticing. (3) Or maybe in some case, a font couldn't be found for a specific character, so a single character in the file isn't displaying. Those are just some examples; I inten

[NTG-context] Re: How to isolate serious errors from warnings?

2024-04-17 Thread Henning Hraban Ramm
e filenmame, and it fully compiled and made a PDF, without me noticing. (3) Or maybe in some case, a font couldn't be found for a specific character, so a single character in the file isn't displaying. Those are just some examples; I intended for something to be printed on the PDF, bu

[NTG-context] How to isolate serious errors from warnings?

2024-04-17 Thread Joel via ntg-context
me noticing. (3) Or maybe in some case, a font couldn't be found for a specific character, so a single character in the file isn't displaying. Those are just some examples; I intended for something to be printed on the PDF, but it isn't showing there. Since a document of this size

[NTG-context] Re: Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 14.04.2024 um 14:53: Am 14.04.24 um 14:46 schrieb Wolfgang Schuster: garu...@azules.eu schrieb am 14.04.2024 um 12:41: Hi all, Is it on purpose that 128 pages "https://wiki.contextgarden.net/Command/ " start with a space character ? I didn

[NTG-context] Re: Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread Henning Hraban Ramm
Am 14.04.24 um 14:46 schrieb Wolfgang Schuster: garu...@azules.eu schrieb am 14.04.2024 um 12:41: Hi all, Is it on purpose that 128 pages "https://wiki.contextgarden.net/Command/ " start with a space character ? I didn't find an explanation in https://wiki.contextgar

[NTG-context] Re: Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread Wolfgang Schuster
garu...@azules.eu schrieb am 14.04.2024 um 12:41: Hi all, Is it on purpose that 128 pages "https://wiki.contextgarden.net/Command/ " start with a space character ? I didn't find an explanation in https://wiki.contextgarden.net/Command For example, these two pages

[NTG-context] Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread garulfo
Hi all, Is it on purpose that 128 pages "https://wiki.contextgarden.net/Command/ " start with a space character ? I didn't find an explanation in https://wiki.contextgarden.net/Command For example, these two pages exist : - https://wiki.contextgarden.net/Command/star

  1   2   3   4   5   6   7   8   9   10   >