[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 d

[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.contextgarden.n

[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 exist

[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/startbuff

[NTG-context] Re: weird character normalization in the wiki

2024-03-11 Thread Pablo Rodriguez via ntg-context
On 3/11/24 09:31, Taco Hoekwater wrote: >> On 9 Mar 2024, at 09:35, Pablo Rodriguez via ntg-context >> wrote: >> >> Sure, they may be a workaround to type codepoints instead of characters >> (such as with \utfchar{0x1fbb}, but wouln’t it be possible to disable &

[NTG-context] Re: weird character normalization in the wiki

2024-03-11 Thread Taco Hoekwater
Hi, > On 9 Mar 2024, at 09:35, Pablo Rodriguez via ntg-context > wrote: > > Sure, they may be a workaround to type codepoints instead of characters > (such as with \utfchar{0x1fbb}, but wouln’t it be possible to disable > that character normalization in the wiki? AFAIK, W

[NTG-context] weird character normalization in the wiki

2024-03-09 Thread Pablo Rodriguez via ntg-context
, these are two different characters. In some fonts each pair of different characters for each accented letter lead to the same glyph, in other fonts those glyphs are different. This sample shows the difference (there should display two slightly different accents [unless there is some character

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] 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] 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] 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] Losing a character during line break at a hyphen

2021-08-22 Thread Bruce Horrocks via ntg-context
> On 22 Aug 2021, at 10:27, Hans Hagen wrote: > > On 8/22/2021 1:27 AM, Bruce Horrocks via ntg-context wrote: >>> On 22 Aug 2021, at 00:12, Bruce Horrocks via ntg-context >>> wrote: >>> >>> Not sure whether this is a ligature problem or a hyphenation problem or >>> both! >> Smaller MWE -

Re: [NTG-context] Losing a character during line break at a hyphen

2021-08-22 Thread Hans Hagen via ntg-context
On 8/22/2021 1:27 AM, Bruce Horrocks via ntg-context wrote: On 22 Aug 2021, at 00:12, Bruce Horrocks via ntg-context wrote: Not sure whether this is a ligature problem or a hyphenation problem or both! Smaller MWE - it's not hyphenation: \starttext Diffe \stoptext gives "Dife". if

Re: [NTG-context] Losing a character during line break at a hyphen

2021-08-21 Thread Richard Mahoney via ntg-context
hica.org/ Indica et Buddhica  Littledene  Bay Road  Oxford  NZ -Original Message- From: Bruce Horrocks via ntg-context Reply-To: mailing list for ConTeXt users To: mailing list for ConTeXt users Cc: Bruce Horrocks Subject: Re: [NTG-context] Losing a character during line break at a hyph

Re: [NTG-context] Losing a character during line break at a hyphen

2021-08-21 Thread Bruce Horrocks via ntg-context
> On 22 Aug 2021, at 00:12, Bruce Horrocks via ntg-context > wrote: > > Not sure whether this is a ligature problem or a hyphenation problem or both! Smaller MWE - it's not hyphenation: \starttext Diffe \stoptext gives "Dife". — Bruce Horrocks Hampshire, UK

[NTG-context] Losing a character during line break at a hyphen

2021-08-21 Thread Bruce Horrocks via ntg-context
Not sure whether this is a ligature problem or a hyphenation problem or both!In the following MWE, the line breaks at the hyphen following "Diffe", but oneof the f's is lost so the PDF shows "Dife-".Latest LMTX, version 2021.08.19 19:48\starttextTwenty years after receiving it as a Christmas

Re: [NTG-context] latest silly question - insert unicode character?

2020-06-25 Thread Hans Hagen
On 6/25/2020 12:38 AM, Mike Cooper wrote: How does one insert/use a special character?At this particular time, I want Double Prime: Unicode 02BA. \setupbodyfont[dejavu] \setupbodyfont[dejavu] \starttext \Uchar "02BA % followed by space or \relax or {} \utfchar{"02BA}%

[NTG-context] latest silly question - insert unicode character?

2020-06-24 Thread Mike Cooper
Hi. Me again. How does one insert/use a special character? At this particular time, I want Double Prime: Unicode 02BA. How?? THANKS! Mike Cooper Technical Trainer Murchison Drilling Schools, Inc. 2501 Juan Tabo NE Albuquerque, NM 87112 Tel: (505) 293-6271 Fax: (505) 298-5294 Email: m

Re: [NTG-context] Adjust kern for one character

2019-12-26 Thread Rik Kabel
On 12/26/2019 08:40, Hans Hagen wrote: On 12/26/2019 1:41 PM, Rik Kabel wrote: Okay, I have progressed further but have run into something (else) I cannot understand. Consider the following example:     \definefontfeature   [myserif] [mode=node,kern=yes,xkern=yes]     \definefontfeature  

Re: [NTG-context] Adjust kern for one character

2019-12-26 Thread Hans Hagen
On 12/26/2019 1:41 PM, Rik Kabel wrote: Okay, I have progressed further but have run into something (else) I cannot understand. Consider the following example: \definefontfeature [myserif] [mode=node,kern=yes,xkern=yes] \definefontfeature [mysans] [mode=node,kern=yes,xkern=no]

Re: [NTG-context] Adjust kern for one character

2019-12-26 Thread Rik Kabel
kern for one character? The cap J in the font I am using is being set too close to the preceding characters and I would rather not insert a thinspace before each. (Inserting a thinspace is sufficient, but finer control is welcome.) \definecharacterspacing[distantJ] \setupcharacterspacing[distantJ

Re: [NTG-context] Adjust kern for one character

2019-12-23 Thread Rik Kabel
On 12/22/2019 21:34, Henri Menke wrote: On 12/23/19 3:33 PM, Henri Menke wrote: On 12/23/19 2:30 PM, Rik Kabel wrote: On 12/22/2019 17:40, mf wrote: Il 22/12/19 22:19, Rik Kabel ha scritto: List, Is there a way in ConTeXt to adjust the left-side kern for one character? The cap J

Re: [NTG-context] Adjust kern for one character

2019-12-23 Thread Hans Hagen
On 12/23/2019 10:13 AM, Mojca Miklavec wrote: On Sun, 22 Dec 2019 at 22:28, Henri Menke wrote: On 12/23/19 10:19 AM, Rik Kabel wrote: List, Is there a way in ConTeXt to adjust the left-side kern for one character? No, kerns always come in pairs. Bounding boxes come per-character, though

Re: [NTG-context] Adjust kern for one character

2019-12-23 Thread Mojca Miklavec
On Sun, 22 Dec 2019 at 22:28, Henri Menke wrote: > On 12/23/19 10:19 AM, Rik Kabel wrote: > > List, > > > > Is there a way in ConTeXt to adjust the left-side kern for one > > character? > > No, kerns always come in pairs. Bounding boxes come per-character, though

Re: [NTG-context] Adjust kern for one character

2019-12-22 Thread Henri Menke
On 12/23/19 3:33 PM, Henri Menke wrote: On 12/23/19 2:30 PM, Rik Kabel wrote: On 12/22/2019 17:40, mf wrote: Il 22/12/19 22:19, Rik Kabel ha scritto: List, Is there a way in ConTeXt to adjust the left-side kern for one character? The cap J in the font I am using is being set too close

Re: [NTG-context] Adjust kern for one character

2019-12-22 Thread Henri Menke
On 12/23/19 2:30 PM, Rik Kabel wrote: On 12/22/2019 17:40, mf wrote: Il 22/12/19 22:19, Rik Kabel ha scritto: List, Is there a way in ConTeXt to adjust the left-side kern for one character? The cap J in the font I am using is being set too close to the preceding characters and I would rather

Re: [NTG-context] Adjust kern for one character

2019-12-22 Thread Rik Kabel
On 12/22/2019 17:40, mf wrote: Il 22/12/19 22:19, Rik Kabel ha scritto: List, Is there a way in ConTeXt to adjust the left-side kern for one character? The cap J in the font I am using is being set too close to the preceding characters and I would rather not insert a thinspace before each

Re: [NTG-context] Adjust kern for one character

2019-12-22 Thread mf
Il 22/12/19 22:19, Rik Kabel ha scritto: List, Is there a way in ConTeXt to adjust the left-side kern for one character? The cap J in the font I am using is being set too close to the preceding characters and I would rather not insert a thinspace before each. (Inserting a thinspace

Re: [NTG-context] Adjust kern for one character

2019-12-22 Thread Henri Menke
On 12/23/19 10:19 AM, Rik Kabel wrote: List, Is there a way in ConTeXt to adjust the left-side kern for one character? No, kerns always come in pairs. The cap J in the font I am using is being set too close to the preceding characters and I would rather not insert a thinspace before each

[NTG-context] Adjust kern for one character

2019-12-22 Thread Rik Kabel
List, Is there a way in ConTeXt to adjust the left-side kern for one character? The cap J in the font I am using is being set too close to the preceding characters and I would rather not insert a thinspace before each. (Inserting a thinspace is sufficient, but finer control is welcome

[NTG-context] getting character from Noto Emoji

2019-12-06 Thread Pablo Rodriguez
Dear list, with this sample (font available at https://www.google.com/get/noto/): \definefontfamily[emoj][rm][Noto Emoji] \setupbodyfont[emoj] \starttext   \stoptext I would like to get the second line of emojis (which are flags). \tochar{n:FE4EB} outputs

Re: [NTG-context] Spurious missing character reports

2018-12-10 Thread Hans Hagen
On 12/9/2018 10:35 PM, Rik Kabel wrote: List, I have one document that after the 2018-11-18 update (beginning with 12-01 and continuing to the current 12-07) has generated hundreds of spurious missing character messages in the log. A short extract: fonts > start miss

[NTG-context] Spurious missing character reports

2018-12-09 Thread Rik Kabel
List, I have one document that after the 2018-11-18 update (beginning with 12-01 and continuing to the current 12-07) has generated hundreds of spurious missing character messages in the log. A short extract: fonts > start missing characters: C:/ConTeXt/tex/texmf/fonts/opent

Re: [NTG-context] Formulas in TABLE with character alignment

2018-10-09 Thread Axel Kielhorn
> Am 09.10.2018 um 11:54 schrieb Hans Hagen : > >\bTR[aligncharacter=no] \bTD\eTD \bTD \chemical{NH_3} > \eTD \bTD R407C \eTD \bTD R134a \eTD \eTR Great, such a simple and elegant solution. Thanks Axel

Re: [NTG-context] Formulas in TABLE with character alignment

2018-10-09 Thread Hans Hagen
On 10/9/2018 8:02 AM, Axel Kielhorn wrote: Hello, I decided to use TABLE because I may need some more complex layouts later and want to use just one way to define a table. One of the great things about TABLE is the possibility to align columns. The table below works fine when I comment the

[NTG-context] Formulas in TABLE with character alignment

2018-10-09 Thread Axel Kielhorn
Hello, I decided to use TABLE because I may need some more complex layouts later and want to use just one way to define a table. One of the great things about TABLE is the possibility to align columns. The table below works fine when I comment the first \bTR line. With the first line the result

Re: [NTG-context] handling an external sag file as a text character

2018-10-02 Thread Wolfgang Schuster
: When it is possible to handle an external svg file as a singe character with text, i assume there is someone on the list who could point me to the instructions as how to do that. Thanks Floris ___ If your question

[NTG-context] handling an external sag file as a text character

2018-10-02 Thread Floris van Manen
When it is possible to handle an external svg file as a singe character with text, i assume there is someone on the list who could point me to the instructions as how to do that. Thanks Floris signature.asc Description: Message signed with OpenPGP using GPGMail

Re: [NTG-context] about character expansion

2018-08-30 Thread Pablo Rodriguez
On 08/30/2018 03:27 AM, Henri Menke wrote: > See also “8.9 Expansion” in > http://www.pragma-ade.nl/general/manuals/fonts-mkiv.pdf > > \setupfontexpansion > [extremehz] > [stretch=50,shrink=50,step=.5,vector=default,factor=1] > > \definefontfeature > [default] > [default] >

Re: [NTG-context] about character expansion

2018-08-29 Thread Henri Menke
On 30/08/18 08:20, Pablo Rodriguez wrote: > Dear list, > > I would like to introduce character expansion to novice users. > > I know that ConTeXt adds values automatically. > > But I’m interested in showing extremely stretched and shrinked > characters, as an example of

[NTG-context] about character expansion

2018-08-29 Thread Pablo Rodriguez
Dear list, I would like to introduce character expansion to novice users. I know that ConTeXt adds values automatically. But I’m interested in showing extremely stretched and shrinked characters, as an example of character expansion done wrong. Sorry for not providing a minimal example, but I

Re: [NTG-context] problem with character entities in XML processing

2018-04-19 Thread Hans van der Meer
Indeed. I should have known better. Temporary attack of brain weakness, I suppose. For those who want to see for themselves, the minimal example below will do. dr. Hans van der Meer % test character entity. \startxmlsetups demo:entity \xmlsetsetup{#1}{root}{demo:entity

[NTG-context] problem with character entities in XML processing

2018-04-19 Thread Hans van der Meer
The following use of character entities aborts in ConTeXt. That is of course because the # is seen as a parameter. Changing this to &\#xxx; or &\letterhash xxx; typesets  as is, but that is not the intention, because an ampersand should appear. So, how do I proceed here?Minimal exampl

Re: [NTG-context] issue with character and \xmlprettyprinttext

2018-02-20 Thread Pablo Rodriguez
On 02/20/2018 06:10 PM, Hans Hagen wrote: > [...] > local name = P("\\") * (patterns.utf8char + S("@!?_"))^1 After checking other code samples, I realized that the approach had to be different: local name = P("\\") * (patterns.letter + S("@!?_") + patterns.utf8two + patterns.utf8three +

Re: [NTG-context] issue with character and \xmlprettyprinttext

2018-02-20 Thread Pablo Rodriguez
On 02/20/2018 06:10 PM, Hans Hagen wrote: > On 2/20/2018 5:18 PM, Pablo Rodriguez wrote: >> [...] >> I’m afraid it might be a bug. > > local name = P("\\") * (patterns.utf8char + S("@!?_"))^1 Hans, I’m afraid that my previous reply was too fast. Just after testing it worked, I saw it broke

Re: [NTG-context] issue with character and \xmlprettyprinttext

2018-02-20 Thread Pablo Rodriguez
On 02/20/2018 06:10 PM, Hans Hagen wrote: > On 2/20/2018 5:18 PM, Pablo Rodriguez wrote: >> [...] >> I’m afraid it might be a bug. > > local name = P("\\") * (patterns.utf8char + S("@!?_"))^1 Many thanks for your fast fix, Hans. Pablo -- http://www.ousia.tk

Re: [NTG-context] issue with character and \xmlprettyprinttext

2018-02-20 Thread Hans Hagen
I missing something? are you sure that the font you use has the character Many thanks for your reply, Hans. The chars are there: \setuptype[option=tex] \starttext \startTEXpage[offset=1em] \type{\ ␣ \ á \ ñ} % \type{\␣ \á \ñ} {\ttbf \letterbackslash ␣ \letterb

Re: [NTG-context] issue with character and \xmlprettyprinttext

2018-02-20 Thread Pablo Rodriguez
g or am I missing something? > are you sure that the font you use has the character Many thanks for your reply, Hans. The chars are there: \setuptype[option=tex] \starttext \startTEXpage[offset=1em] \type{\ ␣ \ á \ ñ} % \type{\␣ \á \ñ} {\ttbf \letterbackslash ␣ \l

Re: [NTG-context] issue with character and \xmlprettyprinttext

2018-02-20 Thread Hans Hagen
, "\␣" is problematic only when \xmlprettyprinttext (or \xmlinlineprettyprinttext) is set to tex. Is this a bug or am I missing something? are you sure that the font you use has the

[NTG-context] issue with character and \xmlprettyprinttext

2018-02-19 Thread Pablo Rodriguez
Hans, I have the following sample: \startbuffer[demo] b \␣ \stopbuffer \startxmlsetups xml:initialize \xmlsetsetup{#1}{doc|p|code}{xml:*} \stopxmlsetups \xmlregistersetup{xml:initialize} \startxmlsetups xml:doc \xmlflush{#1} \stopxmlsetups \startxmlsetups

Re: [NTG-context] Word and character count excluding TeX-directives

2018-01-16 Thread Rik Kabel
On 2018-01-16 09:26, Dr. Thomas Möbius wrote: \definestartstop     [abstract]     [style=bold,     after={\blank[big]}] \starttext \title{My title: example of a word and character count} {\strut\tfx Formal guidelines: word count of abstract: $x$, character count of main text: $x$, character

[NTG-context] Word and character count excluding TeX-directives

2018-01-16 Thread Dr . Thomas Möbius
To meet some formal guidelines, I need to provide a word count of my abstract and a character count of the main text, and a character count of all the text appearing in figure captions. Is this possible (maybe using some lua-magic)? Thank you! Thomas Minimal example: \definestartstop

Re: [NTG-context] How to put a circle on top of a character

2017-08-30 Thread Otared Kavian
Hi Hans, Regarding what you have added on line 1327 of math-stc.mkvi, that line should be \definemathover[\v!symbol][interiorset]["2218] (instead of "2217). I added also a wiki page for mathstackers: http://wiki.contextgarden.net/mathstackers Best regards: OK > On 29 Aug

Re: [NTG-context] How to put a circle on top of a character

2017-08-30 Thread Otared Kavian
Hi Hans, Thanks for your attention. Indeed I understand that the stackers structures are for putting things such as a circle or a star on top of another character or constructs. In fact, in terms of readability, the result of your new command \interiorset{K} is better than that of \mathring{K

Re: [NTG-context] How to put a circle on top of a character

2017-08-29 Thread Hans Hagen
On 8/29/2017 9:56 PM, Otared Kavian wrote: Hi Hans, That’s wonderful! Indeed this is very handy and I’ll add it to the wiki. However, before doing so, I would like to ask how is it possible to get the command act entirely in math mode, that is respecting the distances and the math fonts.

Re: [NTG-context] How to put a circle on top of a character

2017-08-29 Thread Otared Kavian
Hi Hans, That’s wonderful! Indeed this is very handy and I’ll add it to the wiki. However, before doing so, I would like to ask how is it possible to get the command act entirely in math mode, that is respecting the distances and the math fonts. Please see the attached output. %%% begin

Re: [NTG-context] How to put a circle on top of a character

2017-08-29 Thread Hans Hagen
On 8/29/2017 4:24 PM, Otared Kavian wrote: Thanks Aditya, Indeed the solution is already there in luatex-math.tex… one can just use $\mathring{A}$ out of the box! I see why I love ConTeXt :-) I checked one of the stacker sub-mechanisms and fixed / extended something: \starttext

Re: [NTG-context] How to put a circle on top of a character

2017-08-29 Thread Otared Kavian
wrote: > >> Hi, >> >> How can I put a small circle on top of a character in math mode (for the >> curious this is needed when one defines the interior of a set…). >> >> I tried the following, but the small circle is too far away from the >> charact

Re: [NTG-context] How to put a circle on top of a character

2017-08-29 Thread Aditya Mahajan
On Tue, 29 Aug 2017, Otared Kavian wrote: Hi, How can I put a small circle on top of a character in math mode (for the curious this is needed when one defines the interior of a set…). I tried the following, but the small circle is too far away from the character A. I am sure I had an ugly

[NTG-context] How to put a circle on top of a character

2017-08-29 Thread Otared Kavian
Hi, How can I put a small circle on top of a character in math mode (for the curious this is needed when one defines the interior of a set…). I tried the following, but the small circle is too far away from the character A. I am sure I had an ugly solution for this in plain TeX some years ago

Re: [NTG-context] Character translation with Luaotfload

2017-06-13 Thread Hans Åberg
> On 16 Apr 2017, at 19:41, Hans Hagen wrote: > > basically you can do this: > > -- load a luatex plain > -- load texinfo > -- redefine some macros that deal with fonts > > -- load the source to be processed > > the texinfo code looks quite clean so overloading some should be

Re: [NTG-context] change width of a character with fonts.handlers.otf.addfeature

2017-05-19 Thread Hans Hagen
On 5/19/2017 5:29 PM, Ulrike Fischer wrote: Am Fri, 19 May 2017 14:11:42 +0200 schrieb Hans Hagen: Thanks. Let's hope that luaotfload catch up and gets it too. i suppose that it does catch up (not sure about the frequency, also because after the current we now enter beta again) Currently

Re: [NTG-context] change width of a character with fonts.handlers.otf.addfeature

2017-05-19 Thread Ulrike Fischer
Am Fri, 19 May 2017 14:11:42 +0200 schrieb Hans Hagen: >> Thanks. Let's hope that luaotfload catch up and gets it too. > i suppose that it does catch up (not sure about the frequency, also > because after the current we now enter beta again) Currently it lags a bit behind. >> Did you saw

Re: [NTG-context] change width of a character with fonts.handlers.otf.addfeature

2017-05-19 Thread Hans Hagen
On 5/19/2017 11:25 AM, Ulrike Fischer wrote: Am Fri, 19 May 2017 11:05:58 +0200 schrieb Hans Hagen: I'll add support for 'single' to user features: \startluacode fonts.handlers.otf.addfeature { name = "stest", type = "single", data = { a = { -30,

Re: [NTG-context] change width of a character with fonts.handlers.otf.addfeature

2017-05-19 Thread Ulrike Fischer
Am Fri, 19 May 2017 11:05:58 +0200 schrieb Hans Hagen: > I'll add support for 'single' to user features: > > \startluacode > fonts.handlers.otf.addfeature { > name = "stest", > type = "single", > data = { > a = { -30, 0, -50, 0 }, > } >

Re: [NTG-context] change width of a character with fonts.handlers.otf.addfeature

2017-05-19 Thread Hans Hagen
ktest", type = "kern", data = { a = { b = -500 }, } } Can this be used to implement also a "Single adjustment positioning" which would effectivly change the width of character? (http://www.adobe.com/devnet/opentype/afdko/topic_fea

[NTG-context] change width of a character with fonts.handlers.otf.addfeature

2017-05-19 Thread Ulrike Fischer
", data = { a = { b = -500 }, } } Can this be used to implement also a "Single adjustment positioning" which would effectivly change the width of character? (http://www.adobe.com/devnet/opentype/afdko/topic_feature_file_syntax.html#6.a) (I tried a few pr

Re: [NTG-context] getting the glyph of a character

2017-05-01 Thread Alan Braslau
On Mon, 1 May 2017 21:20:33 -0400 Mohammad Hossein Bateni wrote: > MetaPost's documentation mentions that glyph operator works on Adobe > Type 1 fonts.  Does it also work with OpenType fonts when used from > within LuaTeX and CONTEXT? The metafun manual gives many ways of

Re: [NTG-context] getting the glyph of a character

2017-05-01 Thread Mohammad Hossein Bateni
MetaPost's documentation mentions that glyph operator works on Adobe Type 1 fonts. Does it also work with OpenType fonts when used from within LuaTeX and CONTEXT? On Mon, May 1, 2017 at 7:36 PM, Jeong Dal wrote: > Dear all, > > First of all, the sample code is working under the

Re: [NTG-context] getting the glyph of a character

2017-05-01 Thread Jeong Dal
Dear all, First of all, the sample code is working under the ConTeXt beta(standalone) installed in my notebook. I am very sorry to send mails of false result. I found the file “lm-ec.map” installed in the ConTeXt beta(standalone), and I don’t know why it was not working in the iMac. I have to

Re: [NTG-context] getting the glyph of a character

2017-05-01 Thread Jeong Dal
Dear all, In the previous mail, I tested the given code under the ConTeXt beta(standalone) which has no file “lm-ec.map” installed, so I couldn’t get the result. But the following sample is working under MKIV in TeXlive 2016. It looks great. I guess that it is also working any font if the map

[NTG-context] getting the glyph of a character

2017-05-01 Thread Jeong Dal
Dear all. At page 50-52 of the manual of metapost, “Mpman”, it is explained to get a glyph of font using the command ‘glyph'. glyph ⟨numeric expression⟩ of ⟨string expression⟩ glyph ⟨string expression⟩ of ⟨string expression⟩ . Is it possible to do the similar thing in metafun? I couldn’t

Re: [NTG-context] Character translation with Luaotfload

2017-04-18 Thread Hans Åberg
> On 16 Apr 2017, at 19:41, Hans Hagen wrote: > > basically you can do this: > > -- load a luatex plain > -- load texinfo > -- redefine some macros that deal with fonts > > -- load the source to be processed > > the texinfo code looks quite clean so overloading some should be

Re: [NTG-context] Character translation with Luaotfload

2017-04-16 Thread Hans Åberg
properly define a >>> math family set, you can create a \stix macro analogue to the \lucidabright >>> and \latinmodern ones. >> >> This works in the test example, but not the texinfo file, perhaps because it >> changes the escape character. > > maybe .

Re: [NTG-context] Character translation with Luaotfload

2017-04-16 Thread Hans Hagen
works in the test example, but not the texinfo file, perhaps because it changes the escape character. maybe .. i never used texinfo myself .. maybe it's not that complex to make a context texinfo module that just has what is needed on top of a macro package (after all it has a syntax definition so p

Re: [NTG-context] Character translation with Luaotfload

2017-04-16 Thread Hans Åberg
, but not the texinfo file, perhaps because it changes the escape character. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl

Re: [NTG-context] Character translation with Luaotfload

2017-04-16 Thread Hans Åberg
> On 16 Apr 2017, at 15:49, Hans Hagen wrote: > > On 4/16/2017 3:06 PM, Hans Åberg wrote: >> >> It works with texinfo: just include it, but it seems keeping luatex-math.lua >> in the directory speeds up compilation. I used the code below at the >> beginning of the .texi file.

Re: [NTG-context] Character translation with Luaotfload

2017-04-16 Thread Hans Hagen
er use LuaTeX UTF-8 directly without translations.) There is a luatex-math.tex file in the context distribution that you can look in .. basically you need to define the proper math character mapping (context ship swith a plain setup too). It works with texinfo: just include it, but it seems keeping

Re: [NTG-context] Character translation with Luaotfload

2017-04-16 Thread Hans Åberg
work with ConTeXt. (Later >> versions of the former use LuaTeX UTF-8 directly without translations.) > > There is a luatex-math.tex file in the context distribution that you can look > in .. basically you need to define the proper math character mapping (context > ship swith a

Re: [NTG-context] Character translation with Luaotfload

2017-04-16 Thread Hans Hagen
\scriptscriptfont1=\stixscsc \textfont2=\stix \textfont3=\stix Hello 푃, ±, $푥 = ±푦_푃$, $$푃_0, …, 푃_{푘 - 1} ⊢ 푃.$$ There is a luatex-math.tex file in the context distribution that you can look in .. basically you need to define the proper math character mapping (context ship swith a plain setup too). Hans

[NTG-context] Character translation with Luaotfload

2017-04-15 Thread Hans Åberg
Since Luaotfload is extracted from ConTeXt, I figure people here will know this: In the code below, math mode '.' and ',' are translated into ':'and ';', which seems to occur because that is what ASCII/Unicode has in those positions, unlike CMMI. So how to correct this? The issue is really

Re: [NTG-context] Strange spurious character

2016-11-20 Thread Hans Hagen
On 11/19/2016 8:22 PM, Wolfgang Schuster wrote: Hans Hagen 18. November 2016 um 23:08 I don't know, \definefallbackfamily[mainface][serif][texgyrepagella] \definefontfamily[mainface][sans][texgyrepagella] \setupbodyfont[mainface] \starttext Why is the text in bold

Re: [NTG-context] Strange spurious character

2016-11-19 Thread Otared Kavian
Hi Wolfgang, Thanks for your remark: indeed after issuing the command mtxrun --script cache --fonts —erase the result is correct with palatino as the choice of font. I notice that the luatex-cache increases during the time: is there any reason for which the luatex-cache is not erased

Re: [NTG-context] Strange spurious character

2016-11-19 Thread Wolfgang Schuster
Hans Hagen 18. November 2016 um 23:08 I don't know, \definefallbackfamily[mainface][serif][texgyrepagella] \definefontfamily[mainface][sans][texgyrepagella] \setupbodyfont[mainface] \starttext Why is the text in bold italic? \stoptext works ok here so you need to

Re: [NTG-context] Strange spurious character

2016-11-19 Thread Otared Kavian
;pra...@wxs.nl> wrote: > > On 11/18/2016 10:50 PM, Otared Kavian wrote: >> Hi Hans, >> >> Thanks for the quick fix. >> Indeed the spurious character does not show up anymore, but in the minimal >> example below the default body font seems to be set to bol

Re: [NTG-context] Strange spurious character

2016-11-18 Thread Hans Hagen
On 11/18/2016 10:50 PM, Otared Kavian wrote: Hi Hans, Thanks for the quick fix. Indeed the spurious character does not show up anymore, but in the minimal example below the default body font seems to be set to bold italic, please see the attached PDF (I did not observe this in my real

Re: [NTG-context] Strange spurious character

2016-11-18 Thread Otared Kavian
Hi Hans, Thanks for the quick fix. Indeed the spurious character does not show up anymore, but in the minimal example below the default body font seems to be set to bold italic, please see the attached PDF (I did not observe this in my real documents, but curiously it shows up in this minimal

  1   2   3   4   >