Re: [NTG-context] italic correction after math

2018-02-14 Thread Ulrike Fischer
sn't looking for a completly automatic solution. Only something that lets me retrieve the correct kern and insert it (or suppress it if needed) > only when it binds with a character .. > maybe inserting a zerowidthjoiner character helps > > $ \Uchar"200D$ Looks good. An

Re: [NTG-context] italic correction after math

2018-02-13 Thread Hans Hagen
n it binds with a character \tracingoutput1 \showboxbreadth\maxdimen \showboxdepth\maxdimen \input luaotfload.sty \font\xits={file:xits-math.otf} at 10pt \textfont0=\xits $\Umathchar"7"0"F0151 \Umathchar"7"0"1D4AB \Umathchar"7"0"78 $ \bye The problem

[NTG-context] Bug with module pgfplots ?

2018-02-11 Thread Fabrice Couvreur
Hello, Following a standalone context update, all files that use the pgfplots module produce the following error message : tex error > tex error on line 85 in file /home/fab/ntg77.tex: ! You can't use `the character 7' after \the 7 \pdflastobj ->\pdffeedback lastobj /pg

[NTG-context] bug with special hyphenation?

2018-02-08 Thread Pablo Rodriguez
ase you wonder, I need this to add SHA512 sums of attached files to PDF documents. (I have mixed the code from different samples that Hans gave me in replies to diverse questions.) If I use the \sha command right before a point, I get: - Only the first and the last character from the especially-hyph

Re: [NTG-context] Multiple columns in an itemization group

2018-01-27 Thread jdh
> multiple columns to specify the number, X columns. In this case I > want three > > > #2 Is there any way to turn off a bullet character/symbol? > > > Here is a vacabulary list example?: > > >

Re: [NTG-context] Multiple columns in an itemization group

2018-01-25 Thread kaddour kardio
> three > > > #2 Is there any way to turn off a bullet character/symbol? > > > Here is a vacabulary list example?: > > > > > \setuppapersize[letter] > \starttext > \startitemize[columns,joinedup,packed] > \it

[NTG-context] Multiple columns in an itemization group

2018-01-25 Thread jdh
#1 Is there any way to instruct ConText, when using "itemize" with multiple columns to specify the number, X columns. In this case I want three #2 Is there any way to turn off a bullet character/symbol? Here is a vacabulary li

[NTG-context] issue with \hyphenatedword

2018-01-22 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A9] \starttext \hyphenatedword{office} office \hsize\zeropoint office \hyphenatedword{office} \stoptext Compiling with latest beta (2018.01.19 13:42), hyphen isn’t used in \hyphenated word and the character

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] definefallbackfamily and uppercasedoublestruck not working?

2017-11-25 Thread Hans Hagen
t; Will the code I used work in an updated beta, or should we proceed in > some other way? Hi Mikael, math is all Greek to me, but this seems to work (I guess, fallback should beextended to actual character:     \definefontfamily [mainface] [

Re: [NTG-context] definefallbackfamily and uppercasedoublestruck not working?

2017-11-25 Thread Mikael P. Sundqvist
> some other way? > > Hi Mikael, > > math is all Greek to me, but this seems to work (I guess, fallback > should beextended to actual character: > > \definefontfamily [mainface] [rm] [TeX Gyre Pagella] > \definefallbackfamily [mainface] [mm] [TeX Gyre Pagella Mat

Re: [NTG-context] definefallbackfamily and uppercasedoublestruck not working?

2017-11-25 Thread Pablo Rodriguez
ork (I guess, fallback should beextended to actual character: \definefontfamily [mainface] [rm] [TeX Gyre Pagella] \definefallbackfamily [mainface] [mm] [TeX Gyre Pagella Math] [range={uppercasedoublestruck, 0x02102-0x02124}] \definefontfamily [mainface] [mm] [Neo Euler] \s

[NTG-context] Ancient Egyptian Representation

2017-11-09 Thread Brian Ballsun-Stanton
ables inside tables, but should have the virtue of being interactable-with. The characters themselves are part of the ancient egpytian block and have font support (noto by google) ​ The problem is in composition. There's: Above/below (that first "character" is composed of two), overlapp

Re: [NTG-context] ASCII input - non ASCII output

2017-11-08 Thread Henri
rovocative about Latex, of course :-) From a conceptional point of view, it > > still feels a bit hackish to do these things on the font level, because they > > are not/should not be tied to specific fonts - you'd have to rewrite your > > features or goodies or whatever t

Re: [NTG-context] ASCII input - non ASCII output

2017-11-08 Thread Mojca Miklavec
From a conceptional point of view, it > still feels a bit hackish to do these things on the font level, because they > are not/should not be tied to specific fonts - you'd have to rewrite your > features or goodies or whatever they are called now for every font you want > to use (a

Re: [NTG-context] ASCII input - non ASCII output

2017-11-08 Thread Thomas A. Schmitz
re not/should not be tied to specific fonts - you'd have to rewrite your features or goodies or whatever they are called now for every font you want to use (and you may run into a number of funny inconsistencies in character names or even

Re: [NTG-context] ASCII input - non ASCII output

2017-11-08 Thread Mojca Miklavec
an obsolete > problem. One reason why I would not abandon it *immediately* for Serbian is that Serbian can actually be written in both scripts and there are straightforward rules for transliteration (it's not exactly one-to-one character, but those "dj"s should be easy enough to

Re: [NTG-context] ASCII input - non ASCII output

2017-11-07 Thread Thomas A. Schmitz
On 11/07/2017 01:48 PM, Sava Maksimović wrote: Is there a way in context, that for some*text* ascii input (in source .tex file) define mapping in internal tex system ? For example, if i put two ascii characters "dj" in .tex file, can i get cyrillic character "ђ" in .pdf ?

Re: [NTG-context] ASCII input - non ASCII output

2017-11-07 Thread Mojca Miklavec
Dear Sava, On 7 November 2017 at 13:48, Sava Maksimović wrote: > Hi, > > Is there a way in context, that for some text ascii input (in source .tex > file) define mapping in internal tex system ? > > For example, if i put two ascii characters "dj" in .tex file, can i

[NTG-context] ASCII input - non ASCII output

2017-11-07 Thread Sava Maksimović
Hi, Is there a way in context, that for some *text* ascii input (in source .tex file) define mapping in internal tex system ? For example, if i put two ascii characters "dj" in .tex file, can i get cyrillic character "ђ" in .pdf ? And so on, for input b, v, g, d, ... to g

[NTG-context] three issues with \setuptyping

2017-10-21 Thread Pablo Rodriguez
cing three issues: 1. Both TeX and Lua comments only mark (in bold and darkyellow) the comment character, but not the comment content. 2. Multiline Lua comments remove the first line break after the comment begins. Brackets are also affected from first issue. 3. XML comment characters are marked a

Re: [NTG-context] substituting characters in math font

2017-10-19 Thread Alan Bowen
at does not > assume that the characters have the same Unicode addresses? Or is some > other approach required? > > The fallback mechanism provides a offset key which lets you replace a math > character with a normal text character. > > \definefontfamily [mainface] [ss]

Re: [NTG-context] substituting characters in math font

2017-10-18 Thread Wolfgang Schuster
ve the same Unicode addresses? Or is some other approach required? The fallback mechanism provides a offset key which lets you replace a math character with a normal text character. \definefontfamily [mainface] [ss] [TeX Gyre Heros] \definefallbackfamily [mainface] [mm] [TeX Gyre Heros] [

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 2017

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. Plea

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 inter

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 \definemathst

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

2017-08-29 Thread Otared Kavian
, >> >> 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

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] (My) problem with percent sign in URLs -- about Wiki

2017-08-15 Thread Pablo Rodriguez
On 08/15/2017 08:28 PM, Alan Braslau wrote: > Is there not some way to "protect" a literal string to be taken > verbatim where no character be active, for it is messy to have to > "clean-up" data such as a url. Hi Alan, wrapping the URL (or the footnote that contains

Re: [NTG-context] (My) problem with percent sign in URLs -- about Wiki

2017-08-15 Thread Alan Braslau
Is there not some way to "protect" a literal string to be taken verbatim where no character be active, for it is messy to have to "clean-up" data such as a url. Alan On Tue, 15 Aug 2017 19:07:54 +0200 Wolfgang Schuster wrote: > > Are there some other predef

Re: [NTG-context] letters in context mkiv

2017-08-01 Thread r . ermers
writes that according to him within the xml setups the ‘catcodes' are changed, and, as a result, the backslash is interpreted as a normal character rather than as introducing a command. While understanding what it means, I guess this might imply that it is difficult (?) or impossible (

Re: [NTG-context] letters in context mkiv

2017-08-01 Thread Schmitz Thomas A.
commands are not expanded > (see pdf). > > This also applies to your suggestions (see pdf brieven2mkiv5.pdf): in the > Knuth sample text the only command \TeX\, is not expanded either. You’re working within xml setups, which means that the catcodes are not the same as in TeX, which mea

Re: [NTG-context] t-vim module: math in "normal" code and background color

2017-07-18 Thread Gerion Entrup
buffer, ensure modifiable is set, and the " buffer is empty. sblast @@ -38,9 +43,9 @@ if !exists("highlight") let highlight=[] endif -" Set escapecomments -if !exists("escapecomments") - let escapecomments=0 +" Set escapechar +if !exists("escapech

Re: [NTG-context] how to hyphenate SHA512?

2017-07-08 Thread josephcanedo
juillet 2017 08:56 À : ntg-context@ntg.nl Objet :Re: [NTG-context] how to hyphenate SHA512? Many thanks for your reply, Joseph. The underscore I want to use should be placed below the previous character, such as in (code from Hans): \startluacode function document.addfunnyhyphen(tfmdata

Re: [NTG-context] how to hyphenate SHA512?

2017-07-07 Thread Pablo Rodriguez
Many thanks for your reply, Joseph. The underscore I want to use should be placed below the previous character, such as in (code from Hans): \startluacode function document.addfunnyhyphen(tfmdata) local underscore = utf.byte("_")

Re: [NTG-context] \definefallbackfamily check and force keywords

2017-07-06 Thread Alan Bowen
t; >> Am I right to think that >> check=yes, force=no >> will use the fallback font only when characters are missing from the >> mainfont >> and >> check=no, force=yes >> will use the fallback font whenever it contains a character found in the >> s

Re: [NTG-context] \definefallbackfamily check and force keywords

2017-07-06 Thread Hans Hagen
will use the fallback font whenever it contains a character found in the source file? -- check: when true, only set when present in font -- force: when false, then not set when already set

[NTG-context] \definefallbackfamily check and force keywords

2017-07-06 Thread Alan Bowen
contains a character found in the source file? Alan ___ 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/mailman/listinfo/ntg-context

Re: [NTG-context] Bug regarding placement and size of primes

2017-06-15 Thread Hans Hagen
05 until LuaTeX 1.05 is shipped with the beta too). :-) as i explained before, primes are a mess conceptually .. not a real character and not a proper superscript candidate either so when one corrects for one aspect one has to fight the other also, we have unicode and therefore multiple prime

Re: [NTG-context] Bug regarding placement and size of primes

2017-06-15 Thread Mathias Schickel
o betas ago until it is „broken“ in the newest beta since this one > seems to be based on code that requires LuaTeX 1.05 (which makes sense of > course since this will be the upcoming release) that is not shipped alongside > the beta. So I am not able to understand why code is provide

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 doable (if > yo

Re: [NTG-context] Bug regarding placement and size of primes

2017-06-12 Thread Mathias Schickel
e (and especially in view of the fact that we had a perfectly working beta regarding primes last week; this means I think it would have been a great idea to wait including the newest code for primes that requires LuaTeX 1.05 until LuaTeX 1.05 is shipped with the beta too). :-) > as i explain

[NTG-context] Fwd: Re: Bug regarding placement and size of primes

2017-06-12 Thread Hans Hagen
math fonts i captured a lot of font issues in runtiem fixes but that will always give side effects so, i can fix somethign for you with lm and then someone else complains about lucida etc etc as i explained before, primes are a mess conceptually .. not a real character and not a proper s

Re: [NTG-context] Position of prime for derivatives

2017-06-07 Thread Mikael P. Sundqvist
d they need to become proper unicode symbols too >> >> - fonts have one, two or three sizes, often inconsistent and with funny >> dimensions, onlyt the text size can be trusted >> >> - we cannot use prime as nuclues as it can be combined with a subscript >> >> - b

Re: [NTG-context] Position of prime for derivatives

2017-06-07 Thread Mikael P. Sundqvist
e cannot use prime as nuclues as it can be combined with a subscript > > - but it isn't designed as a script symbol and is already raised (somewhat) > > - so we have to deal with a good old tex / fonts / plain inheritance, > unicode but also want to avoid active character and parsin

Re: [NTG-context] Position of prime for derivatives

2017-06-05 Thread Hans Hagen
s nuclues as it can be combined with a subscript - but it isn't designed as a script symbol and is already raised (somewhat) - so we have to deal with a good old tex / fonts / plain inheritance, unicode but also want to avoid active character and parsing mess etc. I tried several appro

Re: [NTG-context] Position of prime for derivatives

2017-06-04 Thread Mikael P. Sundqvist
\mathsizesuffix] >>>>\definefontsynonym [\s!MathRoman] [Stix2Math] >>>> [\s!features={\s!math\mathsizesuffix,mathextra,stixtwo-math-feature},\s!designsize=\s!auto] >>>>\stoptypescript >>>> >>>>\starttypescript [Stix2] >>>&

Re: [NTG-context] Position of prime for derivatives

2017-05-25 Thread Mathias Schickel
!MathRoman] [Stix2Math] >>> [\s!features={\s!math\mathsizesuffix,mathextra,stixtwo-math-feature},\s!designsize=\s!auto] >>>\stoptypescript >>> >>>\starttypescript [Stix2] >>>\definetypeface [\typescriptone] [\s!rm] [\s!serif] [Stix2] >>>

Re: [NTG-context] Position of prime for derivatives

2017-05-25 Thread Mikael P. Sundqvist
etypeface [\typescriptone] [\s!mm] [\s!math] [Stix2] >> [\s!default] >> \stoptypescript >> >> \stoptypescriptcollection >> >> \protect >> >> \setupbodyfont[Stix2] >> >> \starttext >> % >> Compare $f'$ to $(f')$ and to $f&

Re: [NTG-context] Position of prime for derivatives

2017-05-23 Thread Mikael P. Sundqvist
!default] > \stoptypescript > > \stoptypescriptcollection > > \protect > > \setupbodyfont[Stix2] > > \starttext > % > Compare $f'$ to $(f')$ and to $f''$, $(f'')$, $f^{''}$ and $(f^{''})$. > % > \stoptext >

Re: [NTG-context] Position of prime for derivatives

2017-05-23 Thread Mathias Schickel
kael, > > You are correct, the position of \prime depends on whether there is a next > character or not after it, and it seems that this has an effect on its > position for characters having a subscript as in > $f_{1}''(x) \neq f''_{1}(x)$ > $f'

Re: [NTG-context] Position of prime for derivatives

2017-05-22 Thread Otared Kavian
Hi Mikael, You are correct, the position of \prime depends on whether there is a next character or not after it, and it seems that this has an effect on its position for characters having a subscript as in $f_{1}''(x) \neq f''_{1}(x)$ $f'f''

Re: [NTG-context] Position of prime for derivatives

2017-05-21 Thread Mikael P. Sundqvist
; > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___ Otared, t

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 the

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] \overline and \overbar

2017-05-10 Thread Henri Menke
> Date: Tue, 09 May 2017 13:40:55 +1200 >> From: Henri Menke >> To: ntg-context@ntg.nl >> Subject: Re: [NTG-context] BUG: % is comment in btx fields >> Message-ID: <1494294055.19890.36.ca...@gmail.com> >> Content-Type: text/plain; charset="UTF-8" &

[NTG-context] \overline and \overbar

2017-05-09 Thread Jeong Dal
gt; To: ntg-context@ntg.nl > Subject: Re: [NTG-context] BUG: % is comment in btx fields > Message-ID: <1494294055.19890.36.ca...@gmail.com> > Content-Type: text/plain; charset="UTF-8" > > On Mon, 2017-05-08 at 20:15 -0400, Rik Kabel wrote: >> On 2017-05-08 17:44, Henri

Re: [NTG-context] question about Linux Libertine

2017-05-09 Thread kaddour kardio
e another command like that: >> >> \definesymbol[orn1][\getglyph{kad}{\char9753}] >> >> >> because using \getnamedglyphdirect{kad}{uni2619} doesn't work. >> >> Did i miss a thing ? >> > > it has no name in the font > > you can add this to

Re: [NTG-context] BUG: % is comment in btx fields

2017-05-08 Thread Henri Menke
On Mon, 2017-05-08 at 20:15 -0400, Rik Kabel wrote: > On 2017-05-08 17:44, Henri Menke wrote: > > Dear list, > > > > The percent character in btx field is taken as a comment characters > > which leads to the rest of the field being discarded.  In the MWE > >

Re: [NTG-context] BUG: % is comment in btx fields

2017-05-08 Thread Rik Kabel
On 2017-05-08 17:44, Henri Menke wrote: Dear list, The percent character in btx field is taken as a comment characters which leads to the rest of the field being discarded. In the MWE below, the URL is cut off at the % sign and everything after it is lost. Cheers, Henri --- \startbuffer

Re: [NTG-context] BUG: % is comment in btx fields

2017-05-08 Thread Alan Braslau
d be adopted by ConTeXt. From BibTeXing: 7. For Scribe compatibility, the database files allow an @COMMENT command; it’s not really needed because BibTEX allows in the database files any comment that’s not within an entry. If you want to comment out an entry, simply remove the ‘@’ character precedi

Re: [NTG-context] BUG: % is comment in btx fields

2017-05-08 Thread Henri Menke
On Mon, 2017-05-08 at 16:27 -0600, Alan Braslau wrote: > Of course, you have to escape the percent character if you do not > want > it to be interpreted as a comment... however, in the example below, > the > URL does not get rendered properly, nor does using \letterpercent, so >

Re: [NTG-context] BUG: % is comment in btx fields

2017-05-08 Thread Alan Braslau
Of course, you have to escape the percent character if you do not want it to be interpreted as a comment... however, in the example below, the URL does not get rendered properly, nor does using \letterpercent, so there is something that we need to fix in our treatment of URLs. \startbuffer

Re: [NTG-context] BUG: % is comment in btx fields

2017-05-08 Thread Martin Schröder
2017-05-08 23:44 GMT+02:00 Henri Menke : > The percent character in btx field is taken as a comment characters > which leads to the rest of the field being discarded. In the MWE > below, the URL is cut off at the % sign and everything after it is > lost. See also https://tex.stackex

[NTG-context] BUG: % is comment in btx fields

2017-05-08 Thread Henri Menke
Dear list, The percent character in btx field is taken as a comment characters which leads to the rest of the field being discarded.  In the MWE below, the URL is cut off at the % sign and everything after it is lost. Cheers, Henri --- \startbuffer[references] @misc{kraft,   author = "

Re: [NTG-context] question about Linux Libertine

2017-05-08 Thread Hans Hagen
: \definesymbol[orn1][\getglyph{kad}{\char9753}] because using \getnamedglyphdirect{kad}{uni2619} doesn't work. Did i miss a thing ? it has no name in the font you can add this to symb-ini.mkvi: \unexpanded\def\resolvedglyphstyled#fontname#character% {{\setstyledsymbolicfont{#fon

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 manipulating text. (the

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 ConTeXt > beta(s

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 c

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 f

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

Re: [NTG-context] eqalignno failing

2017-04-26 Thread Otared Kavian
\stopformula Best regards: OK > On 26 Apr 2017, at 15:39, Meer, Hans van der wrote: > > This code now fails where before contextbeta had no problems: > > tex error > tex error on line 101 in file Info/waarneming.tex: ! > Misplaced alignment tab character &

[NTG-context] eqalignno failing

2017-04-26 Thread Meer, Hans van der
This code now fails where before contextbeta had no problems: tex error > tex error on line 101 in file Info/waarneming.tex: ! Misplaced alignment tab character & & l.101 H(I,J) & = H(I) + H(J|I)\qquad&\hbox{\ineq[eq:equivoc]}\cr 99 \placeformu

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 doable (if > yo

Re: [NTG-context] Character translation with Luaotfload

2017-04-16 Thread Hans Åberg
y 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 .. i never used texinfo myself .. maybe it's

Re: [NTG-context] Character translation with Luaotfload

2017-04-16 Thread Hans Hagen
, 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 parsing and ma

Re: [NTG-context] Character translation with Luaotfload

2017-04-16 Thread Hans Åberg
o 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/mailman/listinfo/ntg-

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. > > i don't und

Re: [NTG-context] Character translation with Luaotfload

2017-04-16 Thread Hans Hagen
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 plain setup too). It works with texinfo: just include it,

Re: [NTG-context] Character translation with Luaotfload

2017-04-16 Thread Hans Åberg
as it probably does not 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 (cont

Re: [NTG-context] Character translation with Luaotfload

2017-04-16 Thread Hans Hagen
t0=\stixsc \scriptscriptfont0=\stixscsc \scriptfont1=\stixsc \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 m

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

Re: [NTG-context] Two hyphens do not replaced on em—dash when dejavu,14pt

2017-03-31 Thread Kostirya
No, It is not worked. I mistakenly used a Unicode character in another test. 2017-03-31 12:13 GMT+03:00 Kostirya : > I apologize. > It is not hyphen symbol. It is unicode. > Everything is working! > > 2017-03-31 11:46 GMT+03:00 Kostirya : >> Hello. >> Two hyphens do n

Re: [NTG-context] sorting languages

2017-03-21 Thread Hans Hagen
converted to the Greek letter without diacritic and a Latin character. Or why replacements are needed at all. I mean, I understand that "ä", "ö", "ü" are sorted in German in three different ways. But these are different letters, after all. well, you want alphas with so

Re: [NTG-context] sorting languages

2017-03-21 Thread Wolfgang Schuster
Linux 32bit contains luateX-1.0.3. I don’t know whether this might affect to word sorting. I must confess that I don’t understand why replacements require Greek letters with diacritics to be converted to the Greek letter without diacritic and a Latin character. Or why replacements are neede

Re: [NTG-context] sorting languages

2017-03-21 Thread Pablo Rodriguez
the Greek letter without diacritic and a Latin character. Or why replacements are needed at all. I mean, I understand that "ä", "ö", "ü" are sorted in German in three different ways. But these are different letters, after all. If diacritics don’t affect to sort order i

Re: [NTG-context] decomposed and precomposde glyphs

2017-02-23 Thread Ulrike Fischer
; > In context one can enable a collapse (last week i found out that it was > off by default). > > Anyway, there are two issues here: > > (1) one can in the input stream collapse the dot accent and the other > character but of course an altered input might not be what on

Re: [NTG-context] decomposed and precomposde glyphs

2017-02-23 Thread Hans Hagen
xt one can enable a collapse (last week i found out that it was off by default). Anyway, there are two issues here: (1) one can in the input stream collapse the dot accent and the other character but of course an altered input might not be what one wants, for instance because fonts fonts not alwa

[NTG-context] \Umathquad\displaystyle not set

2017-02-08 Thread Kumar Appaiah
on my machine. Here is the complete (working) repository: https://gitlab.com/kumanna/context-slides/tree/master Here is the commit that causes the error online. Notice that I am adding the {\bf \nabla} character: https://gitlab.com/kumanna/context-slides/commit/b723c15dff6d7312605947f8bf46549cf1b

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 ital

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 w

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 chec

<    2   3   4   5   6   7   8   9   10   11   >