Re: [NTG-context] Nuclear reactions

2023-04-15 Thread Hans Åberg via ntg-context
> On 15 Apr 2023, at 19:19, Gavin via ntg-context wrote: > > I’m writing nuclear reactions. When add prescripts to atomic symbols with two > letters, (Be, Sr, Xe, etc.) the prescripts split the atoms! One can use Unicode superscript and subscript numbers, as in ²³⁵₉₂U, which is easier to

Re: [NTG-context] Unicode superscript and subscript parentheses as operators

2021-12-30 Thread Hans Åberg via ntg-context
> On 28 Dec 2021, at 23:05, Hans Hagen wrote: > > On 12/28/2021 10:53 PM, Hans Åberg wrote: > >> This is great, though there is a typo in the second line. I attach a >> corrected example, illustrating what I might use it for: A logic program, >> where I found it

Re: [NTG-context] Unicode superscript and subscript parentheses as operators

2021-12-28 Thread Hans Åberg via ntg-context
> On 28 Dec 2021, at 23:05, Hans Hagen wrote: > > On 12/28/2021 10:53 PM, Hans Åberg wrote: > >> This is great, though there is a typo in the second line. I attach a >> corrected example, illustrating what I might use it for: A logic program, >> where I found it

Re: [NTG-context] Unicode superscript and subscript parentheses as operators

2021-12-28 Thread Hans Åberg via ntg-context
> On 28 Dec 2021, at 23:03, Hans Hagen wrote: > > On 12/28/2021 10:53 PM, Hans Åberg wrote: >> \starttext >> Course-of-values induction: >> $$휞 ⊢ 푷(0); 휞, 풚 ≤ 풙 ⇒ 푷(풚) ⊢⁽풚⁾₍풙₎ 푷(s(풙)) ⊩ 휞 ⊢ 푷(풕)$$ >> \stoptext > > stay away from $$ but use > > \

Re: [NTG-context] Unicode superscript and subscript parentheses as operators

2021-12-28 Thread Hans Åberg via ntg-context
> On 28 Dec 2021, at 22:29, Hans Hagen wrote: > > \protected\def\FancySuperscript#1⁾{\superscript{#1}} > \protected\def\FancySubscript #1₍{\subscript {#1}} > > \protected\def\FancyScripts > {\catcode`⁽=\activecatcode\letcharcode`⁽=\FancySuperscript >

[NTG-context] Unicode superscript and subscript parentheses as operators

2021-12-28 Thread Hans Åberg via ntg-context
Is it possible to use the Unicode superscript and subscript parentheses as superscript and subscript operators? That is, ⁽…⁾ having the same function as ^{…}, and ₍…₎ as _{…}. It might be something like the following, but somehow bundling the last part of \letcharcode into a command.

Re: [NTG-context] Error: attempt to index a nil value

2021-10-13 Thread Hans Åberg via ntg-context
> On 13 Oct 2021, at 22:34, Hans Hagen wrote: > > On 10/13/2021 6:54 PM, Hans Åberg wrote: >>> On 13 Oct 2021, at 18:37, Hans Hagen wrote: >>> >>> On 10/13/2021 6:01 PM, Hans Åberg via ntg-context wrote: >>>> I was suggested a long ago to h

Re: [NTG-context] Error: attempt to index a nil value

2021-10-13 Thread Hans Åberg via ntg-context
> On 13 Oct 2021, at 22:28, Hans Hagen wrote: > > On 10/13/2021 7:02 PM, Hans Åberg wrote: >>> On 13 Oct 2021, at 18:37, Hans Hagen wrote: >>> >>> On 10/13/2021 6:01 PM, Hans Åberg via ntg-context wrote: >>>> >>>> … —I ma

Re: [NTG-context] Error: attempt to index a nil value

2021-10-13 Thread Hans Åberg via ntg-context
> On 13 Oct 2021, at 18:37, Hans Hagen wrote: > > On 10/13/2021 6:01 PM, Hans Åberg via ntg-context wrote: >> >> … —I may ditch this setup in favour of using 'context' directly, so it is >> not so important if there is no fix. > I have no clue .. I made this a

Re: [NTG-context] Error: attempt to index a nil value

2021-10-13 Thread Hans Åberg via ntg-context
> On 13 Oct 2021, at 18:37, Hans Hagen wrote: > > On 10/13/2021 6:01 PM, Hans Åberg via ntg-context wrote: >> I was suggested a long ago to hack the file >> >> /usr/local/texlive/2021/texmf-dist/tex/generic/context/luatex/luatex-math.tex >> and use LuaTeX d

Re: [NTG-context] Error: attempt to index a nil value

2021-10-13 Thread Hans Åberg via ntg-context
It results in the error ! Argument of \\ has an extra }. \par } l.132 } ? > On 13 Oct 2021, at 18:26, Hans van der Meer via ntg-context > wrote: > >> tex.print("\string\\latinmodern") > > should be at least double backslashes: tex.print("\\string\\latinmodern") I > would

[NTG-context] Error: attempt to index a nil value

2021-10-13 Thread Hans Åberg via ntg-context
I was suggested a long ago to hack the file /usr/local/texlive/2021/texmf-dist/tex/generic/context/luatex/luatex-math.tex and use LuaTeX directly, now using Version 1.13.2 (TeX Live 2021), but I get this error: (./luaotfload.sty (/usr/local/texlive/2021/texmf-dist/tex/latex/base/ltluatex.tex))

[NTG-context] Generating HTML

2021-10-11 Thread Hans Åberg via ntg-context
I would want to generate HTML, but in the example below, "html-test.tex", the index does not show in the file "html-test-export/html-test-div.html", and the source file \index{…}, gets in the HTML a black triangle. The index and links work fine in "html-test.pdf", though. — html-test.tex —

Re: [NTG-context] Luatex format error

2021-05-28 Thread Hans Åberg
> On 23 May 2021, at 23:41, Hans Hagen wrote: > > So this is not lmtx (which also has luatex) but the regular installation > right? The error occurs when there is a newline before the \starttext, as in the attachment. Remove the initial newline, and it compiles with context line_bug.tex

Re: [NTG-context] Luatex format error

2021-05-28 Thread Hans Åberg
> On 23 May 2021, at 23:41, Hans Hagen wrote: > > So this is not lmtx (which also has luatex) but the regular installation > right? It works with mtxrun math_style.tex but not context math_style.tex where the file math_style.tex only contains \starttext \m{f = \beta} \stoptext It does

Re: [NTG-context] Luatex format error

2021-05-24 Thread Hans Åberg
> On 23 May 2021, at 23:41, Hans Hagen wrote: > > On 5/23/2021 9:28 PM, Hans Åberg wrote: >> Using TexLive 2021, I got the error below. How to fix it? What input file >> should one give? >> % context math_style.tex >> resolvers | formats | executing run

[NTG-context] Luatex format error

2021-05-23 Thread Hans Åberg
Using TexLive 2021, I got the error below. How to fix it? What input file should one give? % context math_style.tex resolvers | formats | executing runner 'run luatex format': /usr/local/texlive/2021/bin/universal-darwin/luatex --jobname="math_style"

Re: [NTG-context] autopdf on MacOS?

2021-04-16 Thread Hans Åberg
> On 16 Apr 2021, at 10:36, Thomas A. Schmitz > wrote: > > On 4/16/21 10:26 AM, Hans Åberg wrote: >>> That it doesn’t update in the background is more a feature than a bug, >>> otherwise it would complain about broken/unavailable files during the TeX >>&

Re: [NTG-context] autopdf on MacOS?

2021-04-16 Thread Hans Åberg
> On 15 Apr 2021, at 11:45, Henning Hraban Ramm wrote: > >> Am 15.04.2021 um 10:26 schrieb Hans van der Meer : >> >> Allthough a new pdf is created, this is not opened. If the pdf is open in >> Preview already, it is not updated unless switching to the Preview >> application. >> >> It

Re: [NTG-context] midi

2021-02-04 Thread Hans Åberg
> On 3 Feb 2021, at 22:06, Henning Hraban Ramm wrote: > > >> Am 03.02.2021 um 19:39 schrieb Hans Hagen : >> >> On 2/3/2021 7:09 PM, Henning Hraban Ramm wrote: Am 03.02.2021 um 18:09 schrieb Hans Hagen : Hi, So, in context, we can do text, and we can do graphics, and

Re: [NTG-context] Math align not working

2020-12-30 Thread Hans Åberg
The developers might tune in; perhaps it was changed. > On 30 Dec 2020, at 15:01, Johann Birnick wrote: > > Okay, but I think it's a bug, because as you see in the linked pdf it worked > the > simple way some years ago...

Re: [NTG-context] Math align not working

2020-12-30 Thread Hans Åberg
One has to indicate the align pattern for all columns, otherwise it defaults to left, it seems: \starttext \startformula \startalign[m=2,distance=8em,n=5, align={right,middle,middle,middle,left,right,middle,middle,middle,left}] \NC 0 \NC < \NC 2x + 5y \NC < \NC 10 \NC 4 \NC < \NC 3x + y \NC <

Re: [NTG-context] basic issues with formulas

2020-12-03 Thread Hans Åberg
> On 3 Dec 2020, at 20:48, Pablo Rodriguez wrote: > > math is all Greek to me and I’m experiencing issues when typesetting the > most basic inline formulas. … > The issues I’m experiencing are: > > 1. Kernings around ligatures (fi) are wrong. > > 2. Is there a way to enable ligatures? > > 3.

Re: [NTG-context] math symbol for "is an element of"

2020-11-05 Thread Hans Åberg
> On 5 Nov 2020, at 21:22, t...@projectivespace.com wrote: > > Other than typing it directly (or cutting and pasting it), how does one get > the character ∈ (in case this gets garbled in emailing, this is supposed to > be the mathematical symbol that looks more or less like an epsilon, and >

Re: [NTG-context] Unicode math input in LMTX

2020-10-29 Thread Hans Åberg
> On 29 Oct 2020, at 16:36, Aditya Mahajan wrote: > > On Thu, 29 Oct 2020, Sylvain Hubert wrote: > >> Hi all, >> >> Does anyone know if it is possible to input unicode in math formulas in >> LMTX with the help of something similar to unicode-math in LaTeX? > > You don't need any latex

Re: [NTG-context] Mathematical symbol of non-inclusion

2020-08-30 Thread Hans Åberg
> On 30 Aug 2020, at 11:40, Fabrice Couvreur > wrote: > > @Hans My ignorance is total : how to write symbols from the keyboard ? I use text substitutions on MacOS: a sequence of characters can be automatically translated into another. So for example, ".subset" might translate into "⊂" as

Re: [NTG-context] Mathematical symbol of non-inclusion

2020-08-29 Thread Hans Åberg
> On 29 Aug 2020, at 19:58, Wolfgang Schuster > wrote: > > Fabrice Couvreur schrieb am 29.08.2020 um 19:27: >> Hello, >> The result is not what you expected. >> How can I correct this problem? > > 1. Wait for a fix. > > 2. Use \nsubset. > > \starttext > \m{A \nsubset B} > \stoptext One can

Re: [NTG-context] Using the separate ConTeXt on macOS (Mojave)

2020-01-25 Thread Hans Åberg
> On 25 Jan 2020, at 21:17, Gerben Wierda wrote: > > I’m installing a clear separate ConTeXt. I’ve installed it in > /Applications/context/. According to > https://wiki.contextgarden.net/Mac_Installation: … > open -a TeXShop $HOME/Library/TeXShop/Engines/ConTeXt\ \(LuaTeX\).engine … > But

Re: [NTG-context] Math symbol for inexact differential

2019-11-12 Thread Hans Åberg
> On 13 Nov 2019, at 00:26, w n wrote: > > Working on some thermodynamics and I need a math symbol for > an inexact differential, it is the letter d with a bar across. Normally one is using a lowercase delta according to: https://en.wikipedia.org/wiki/Inexact_differential

Re: [NTG-context] PDF viewer poll

2019-10-13 Thread Hans Åberg
> On 13 Oct 2019, at 12:43, Henning Hraban Ramm wrote: > > Hi, I’d like to update my list of (usable!) PDF viewers. > Which one do you use? (Current version?) There is TeXShop that comes with the Mac TeX Live distribution. It can be set up to compile ConTeXt. > What are its pros and cons?

Re: [NTG-context] Blogging about ConTeXt at Hostsharing

2019-03-15 Thread Hans Åberg
> On 15 Mar 2019, at 16:46, Jan U. Hasecke wrote: > > https://www.hasecke.eu/post/werbemittel-mit-context-gestalten/ > > The text is in German only. I hope to find the time to write an English > version in the near future. A way to speed that up might be to run it through a translator and

Re: [NTG-context] Bug in math: version

2019-02-14 Thread Hans Åberg
> On 14 Feb 2019, at 16:42, Alan Braslau wrote: > > Now, this is really interesting > > \starttext > \textbar x\textbar > \stoptext > > produces |x| as seen by acroread, mupdf, evince, ... on the Mac > BUT shows | | with preview and with skim (which uses the Apple pdf rendering > engine).

Re: [NTG-context] Bug in math: version

2019-02-14 Thread Hans Åberg
> On 14 Feb 2019, at 13:05, Hans Hagen wrote: > >> With 2019.02.10 17:43, the command \type{\|x\|} gives an incorrect result: >> $\|x\| = 1$ > > why not use $||x|| = 1$ Also $‖x‖ = 1$. ___ If your question is of

Re: [NTG-context] Automatic thousands separation in \unit

2019-01-31 Thread Hans Åberg
> On 31 Jan 2019, at 15:00, Clyde Johnston wrote: > > Maybe this should be a language specific parameter. How would you achieve a > similar result with the Indian numbering system, for instance? It is an additional feature that may or may not be linked to language. For example, in Swedish

Re: [NTG-context] New logo proposal

2019-01-30 Thread Hans Åberg
> On 30 Jan 2019, at 20:57, Paul Schalck wrote: > > as many critics go towards "I don't see any coherence" or "to me it's just a > random bunch of colored letters" or "it's hard to read the word CONTEXT", > some afterthoughts in that regard (difficulty, randomness). > > Personally, I like

Re: [NTG-context] Setup typing indent next

2019-01-10 Thread Hans Åberg
> On 11 Jan 2019, at 00:13, Wolfgang Schuster > wrote: > > Hans Åberg schrieb am 10.01.19 um 22:52: >>> On 10 Jan 2019, at 22:14, Wolfgang Schuster >>> wrote: >>> >>> Hans Åberg schrieb am 10.01.19 um 22:04: >>>> There seem

Re: [NTG-context] Setup typing indent next

2019-01-10 Thread Hans Åberg
> On 10 Jan 2019, at 22:14, Wolfgang Schuster > wrote: > > Hans Åberg schrieb am 10.01.19 um 22:04: >> There seems to be no option for \setuptyping[indentnext=...] following the >> TeX convention to indent new paragraphs, as followed by a blank row, but not &g

[NTG-context] Setup typing indent next

2019-01-10 Thread Hans Åberg
There seems to be no option for \setuptyping[indentnext=...] following the TeX convention to indent new paragraphs, as followed by a blank row, but not otherwise. ___ If your question is of interest to others as

Re: [NTG-context] Monospace fallback kerning

2018-12-19 Thread Hans Åberg
> On 19 Dec 2018, at 22:24, Hans Hagen wrote: > > On 12/19/2018 8:43 PM, Hans Åberg wrote: >>> On 19 Dec 2018, at 19:25, Hans Hagen wrote: >>> >>>>> \startformula >>>>> \unstackscripts 푷₂₀(0), ∀²푥⁰⁺²₂₀: 푷₂₀(푥⁰⁺²₂₀) ⇒ 푷₂₀(s(

Re: [NTG-context] Monospace fallback kerning

2018-12-19 Thread Hans Åberg
> On 19 Dec 2018, at 19:25, Hans Hagen wrote: > >>> \startformula >>> \unstackscripts 푷₂₀(0), ∀²푥⁰⁺²₂₀: 푷₂₀(푥⁰⁺²₂₀) ⇒ 푷₂₀(s(푥⁰⁺²₂₀)) ⊢ ∀¹푦⁰⁺¹₂₀ >>> 푷₂₀(푦⁰⁺¹₂₀) >>> \stopformula >> That might be useful for those depending on it, and presumably there is a >> \stackscripts, too. Just comes to

Re: [NTG-context] Monospace fallback kerning

2018-12-19 Thread Hans Åberg
> On 19 Dec 2018, at 19:28, Alan Braslau wrote: > > On Wed, 19 Dec 2018 19:16:23 +0100 > Hans Åberg wrote: > >> >>> On 19 Dec 2018, at 19:01, Alan Braslau wrote: >>> >>> On Wed, 19 Dec 2018 18:46:30 +0100 >>> Hans Åberg wrote: &

Re: [NTG-context] Monospace fallback kerning

2018-12-19 Thread Hans Åberg
> On 19 Dec 2018, at 19:01, Alan Braslau wrote: > > On Wed, 19 Dec 2018 18:46:30 +0100 > Hans Åberg wrote: > >> Though probably non-standard in typesetting, one might make a slight >> typographic difference between 푥²₀ and 푥₀² by letting the sub- or >> super

Re: [NTG-context] Monospace fallback kerning

2018-12-19 Thread Hans Åberg
> On 19 Dec 2018, at 18:25, Hans Hagen wrote: > > On 12/19/2018 3:48 PM, Hans Åberg wrote: > >> An incidental remark: TeX puts simultaneous sub- and superscripts above each >> other, and the Unicode sub- and superscripts are translated as such in the >> example

Re: [NTG-context] Monospace fallback kerning

2018-12-19 Thread Hans Åberg
> On 19 Dec 2018, at 11:31, Hans Hagen wrote: > > On 12/19/2018 10:46 AM, Hans Åberg wrote: >>> On 11 Dec 2018, at 15:05, Hans Åberg wrote: >>> >>> In the example below, multiple spaces do not use the spacing of the >>> fallback font for multiple

Re: [NTG-context] Monospace fallback kerning

2018-12-19 Thread Hans Åberg
> On 11 Dec 2018, at 15:05, Hans Åberg wrote: > > In the example below, multiple spaces do not use the spacing of the fallback > font for multiple spaces, but instead of the main font it seems, despite the > ASCII U+0020 being in the forced override. So the question is how to f

Re: [NTG-context] Monospace fallback kerning

2018-12-11 Thread Hans Åberg
> On 11 Dec 2018, at 21:18, Pablo Rodriguez wrote: > > On 12/11/18 3:05 PM, Hans Åberg wrote: >> In the example below, multiple spaces do not use the spacing of the >> fallback font for multiple spaces, but instead of the main font it >> seems, despite the ASCII

[NTG-context] Monospace fallback kerning

2018-12-11 Thread Hans Åberg
In the example below, multiple spaces do not use the spacing of the fallback font for multiple spaces, but instead of the main font it seems, despite the ASCII U+0020 being in the forced override. So the question is how to force ConTeXt to use the fallback font also for multiple spaces. —

Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-06 Thread Hans Åberg
> On 6 Dec 2018, at 15:23, Wolfgang Schuster > wrote: > > The force key is valid for the \definefallbackfamily command, e.g. > > \definefallbackfamily [...] [...] [range={...},force=yes] I tried to test it with the code below, but then it selects the stixtwomath glyphs. So possibly the

Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-06 Thread Hans Åberg
> On 2 Dec 2018, at 19:01, Hans Hagen wrote: > > This super/supscript stuff is a bit more tricky because when a superscript 2 > is in the font, and a superscript 3 isn't, using a fake ^3 alongside that ^2 > quite certainly will look bad because the 2 is normally of a different design > that

Re: [NTG-context] Font fallback

2018-12-03 Thread Hans Åberg
> On 3 Dec 2018, at 19:35, Wolfgang Schuster > wrote: > > Hans Åberg schrieb am 03.12.18 um 19:22: >> I can't get create a font fallback in the the example below, so some input >> is welcome. It works when using STIX2 only (the commented out part), but

[NTG-context] Font fallback

2018-12-03 Thread Hans Åberg
I can't get create a font fallback in the the example below, so some input is welcome. It works when using STIX2 only (the commented out part), but somehow the font name is not recognized in the fallback, not when using what is listed by 'mtxrun --script fonts --list --all'. —

Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-02 Thread Hans Åberg
> On 2 Dec 2018, at 19:01, Hans Hagen wrote: > > On 12/2/2018 6:33 PM, Hans Åberg wrote: >> Maybe as a part of general features: A font fallback that selects the >> character from a sequence of fonts if not available, which could involve >> ranges, too, but not

Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-02 Thread Hans Åberg
> On 2 Dec 2018, at 16:55, Hans Hagen wrote: > > On 12/2/2018 3:44 PM, Hans Åberg wrote: >>> On 2 Dec 2018, at 10:19, Henning Hraban Ramm wrote: >>> >>> STIX fonts don’t contain super and subscript numbers. >> They are in STIX Two, so I can get t

Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-02 Thread Hans Åberg
> On 2 Dec 2018, at 10:19, Henning Hraban Ramm wrote: > > STIX fonts don’t contain super and subscript numbers. They are in STIX Two, so I can get them using: \definefontfamily[stix-two][mono][Stix Two Text] \definefontfamily[stix-two][math][Stix Two Math] \setupbodyfont[stix-two,10pt]

[NTG-context] Typing Unicode subscript and superscript numbers

2018-12-01 Thread Hans Åberg
Only some of the Unicode subscript and superscript numbers and signs show up in the example below in the typing and text environments, though all correct in the formula environment. — \setupbodyfont[stix,10pt] \starttext \startformula \startalign \NC 푨₀ 0 ₁ 1 ₂ 2 ₃ 3 ₄ 4 ₅ 5 ₆ 6 ₇

Re: [NTG-context] Homebrew packaging for macOS

2018-10-09 Thread Hans Åberg
> On 7 Oct 2018, at 19:08, Mojca Miklavec > wrote: > > The only thing that comes somewhat closer to a release is a version > that gets released with TeX Live once per year, but that's not in line > with your desire to easily get the latest version. The Tex Live archive is updated

Re: [NTG-context] Homebrew packaging for macOS

2018-10-07 Thread Hans Åberg
> On 7 Oct 2018, at 12:45, Hans Hagen wrote: > > On 10/7/2018 10:56 AM, Hans Åberg wrote: >>> On 7 Oct 2018, at 01:32, Hans Hagen wrote: >>> >>> On 10/7/2018 1:24 AM, Andrew Dunning wrote: >>>> Dear list, >>>> Has anyone e

Re: [NTG-context] Homebrew packaging for macOS

2018-10-07 Thread Hans Åberg
> On 7 Oct 2018, at 01:32, Hans Hagen wrote: > > On 10/7/2018 1:24 AM, Andrew Dunning wrote: >> Dear list, >> Has anyone ever looked into packaging ConTeXt for Homebrew on macOS (see >> )? Providing it as an installation option would make it far >> easier to obtain the latest

Re: [NTG-context] integer displayed as .0 float in Lua-5.3

2018-08-11 Thread Hans Åberg
> On 11 Aug 2018, at 11:33, Pablo Rodriguez wrote: > > On 08/09/2018 10:20 PM, Hans Åberg wrote: >>> On 9 Aug 2018, at 21:20, Pablo Rodriguez wrote: >>> [...] >>> My background is in humanities and I don’t understand the exponent for >>> being a

Re: [NTG-context] integer displayed as .0 float in Lua-5.3

2018-08-09 Thread Hans Åberg
> On 9 Aug 2018, at 21:20, Pablo Rodriguez wrote: > > A numeric constant with a radix point or an exponent denotes a > float; otherwise, if its value fits in an integer, it denotes an > integer. > > Well, "10.0" contains the radix point, but with no arithmetical relevance. > > My

Re: [NTG-context] text in mathematics

2018-07-10 Thread Hans Åberg
> On 9 Jul 2018, at 21:27, Hans Åberg wrote: > >> On 9 Jul 2018, at 17:48, Aditya Mahajan wrote: >> >> On Mon, 9 Jul 2018, Hans Åberg wrote: >> >>> On 8 Jul 2018, at 23:00, Otared Kavian wrote: >>>> The advantage being

Re: [NTG-context] text in mathematics

2018-07-09 Thread Hans Åberg
> On 9 Jul 2018, at 17:48, Aditya Mahajan wrote: > > On Mon, 9 Jul 2018, Hans Åberg wrote: > >> On 8 Jul 2018, at 23:00, Otared Kavian wrote: >>> The advantage being that if the above formula appears in an environment >>> such as a Theorem (where the t

Re: [NTG-context] text in mathematics

2018-07-09 Thread Hans Åberg
> On 8 Jul 2018, at 23:00, Otared Kavian wrote: > > The advantage being that if the above formula appears in an environment such > as a Theorem (where the text is typeset in italic, or slanted) the text in > the above \mbox will be also in italic or slanted. Math displayed formula text

Re: [NTG-context] text in mathematics

2018-07-07 Thread Hans Åberg
> On 7 Jul 2018, at 16:04, Alan Braslau wrote: > Does it drive you crazy to see TeX users write $t = time$? > (I see this all of the time by LaTeX users in Beamer presentations.) > > One can do better writing $t = {\rm time}$ (maybe) > or in ConTeXt $t = \mathrm{time}$. > Sometimes, too, I

Re: [NTG-context] TeXLive and ConTeXt

2018-06-07 Thread Hans Åberg
> On 7 Jun 2018, at 00:40, Taco Hoekwater wrote: > > It is interesting (and a bit depressing) that my TL2018 install worked out of > the box on my mac. I got errors, but then I updated the application 'TeX Live Utility' in /Applications/TeX/, and then it worked. So run this program, and

Re: [NTG-context] italian index: "I" and "J" under "I", "U" and "V" under "V"

2017-06-27 Thread Hans Åberg
> On 27 Jun 2017, at 09:06, Hans Hagen <pra...@wxs.nl> wrote: > > On 6/26/2017 11:39 PM, Hans Åberg wrote: >> >> In Swedish, originally, "w" is sorted the same as "v", but it has changed >> lately, though there is a recommendation to st

Re: [NTG-context] italian index: "I" and "J" under "I", "U" and "V" under "V"

2017-06-26 Thread Hans Åberg
> On 26 Jun 2017, at 15:34, Hans Hagen wrote: > > On 6/26/2017 2:48 PM, MF wrote: >> >> there's a bug in the way ConTeXt groups the items of a register when >> "indicator=yes" and mainlanguage is "it": >> - items starting with the J letter are grouped under the I letter >> -

Re: [NTG-context] Choosing font range

2017-06-17 Thread Hans Åberg
> On 17 Jun 2017, at 15:16, Hans Åberg <haber...@telia.com> wrote: > >> On 17 Jun 2017, at 12:11, Pablo Rodriguez <oi...@gmx.es> wrote: >> >> On 06/17/2017 10:11 AM, Hans Åberg wrote: >>> [...] >>> Yes, that is the problem. It works

Re: [NTG-context] Choosing font range

2017-06-17 Thread Hans Åberg
> On 17 Jun 2017, at 12:11, Pablo Rodriguez <oi...@gmx.es> wrote: > > On 06/17/2017 10:11 AM, Hans Åberg wrote: >> [...] >> Yes, that is the problem. It works fine with latest beta. >> >> I found a strange bug with the \tt command: when copying from the

Re: [NTG-context] STIX vs XITS

2017-06-17 Thread Hans Åberg
> On 17 Jun 2017, at 13:03, Hans Hagen <pra...@wxs.nl> wrote: > > On 6/17/2017 10:30 AM, Hans Åberg wrote: >> It says that XITS is an OpenType version of STIX on [1], but the latter now >> supports it. Does that mean that one can now use the latter directly? >>

Re: [NTG-context] Choosing font range

2017-06-17 Thread Hans Åberg
> On 17 Jun 2017, at 12:11, Pablo Rodriguez <oi...@gmx.es> wrote: > > On 06/17/2017 10:11 AM, Hans Åberg wrote: >> [...] >> Yes, that is the problem. It works fine with latest beta. >> >> I found a strange bug with the \tt command: when copying from the

Re: [NTG-context] Choosing font range

2017-06-17 Thread Hans Åberg
> On 17 Jun 2017, at 08:33, Henri Menke wrote: > > The fallback mechanism has changed in a non-trivial manner since TL2017. You > have to go with beta. I looked at various fonts, and they all have at least some math characters that look strange to me. So I figure one

[NTG-context] STIX vs XITS

2017-06-17 Thread Hans Åberg
It says that XITS is an OpenType version of STIX on [1], but the latter now supports it. Does that mean that one can now use the latter directly? 1. http://wiki.contextgarden.net/Math_fonts ___ If your question is

Re: [NTG-context] Choosing font range

2017-06-17 Thread Hans Åberg
> On 17 Jun 2017, at 08:33, Henri Menke <henrime...@gmail.com> wrote: > > On Fri, 2017-06-16 at 22:07 +0200, Hans Åberg wrote: >>> >>> On 16 Jun 2017, at 21:46, Pablo Rodriguez <oi...@gmx.es> wrote: >>> >>> On 06/16/2017 09:3

Re: [NTG-context] Choosing font range

2017-06-17 Thread Hans Åberg
> On 17 Jun 2017, at 07:36, Pablo Rodriguez <oi...@gmx.es> wrote: > > On 06/16/2017 10:07 PM, Hans Åberg wrote: >>> On 16 Jun 2017, at 21:46, Pablo Rodriguez <oi...@gmx.es> wrote: >>> [...] >>> I don’t do math (at all, not only with ConTe

[NTG-context] Selecting font for \starttyping

2017-06-16 Thread Hans Åberg
How does one choose font for \starttyping? It is apparently different from that of \tt. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] Choosing font range

2017-06-16 Thread Hans Åberg
> On 16 Jun 2017, at 21:46, Pablo Rodriguez <oi...@gmx.es> wrote: > > On 06/16/2017 09:34 PM, Hans Åberg wrote: >> Thank you for the help. But the math characters do not show in \tt, >> as in the example below. (Tried with TeX Live 2017.) > > I don’t do ma

Re: [NTG-context] Choosing font range

2017-06-16 Thread Hans Åberg
> On 16 Jun 2017, at 20:46, Pablo Rodriguez <oi...@gmx.es> wrote: > > On 06/16/2017 02:44 PM, Hans Åberg wrote: >> Is it possible have say Pagella in math, and also in \tt except for >> the ASCII range, where a monospace font is used? (Both for largely >> untra

[NTG-context] Choosing font range

2017-06-16 Thread Hans Åberg
Is it possible have say Pagella in math, and also in \tt except for the ASCII range, where a monospace font is used? (Both for largely untranslated Unicode points.) ___ If your question is of interest to others as

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] next beta

2017-06-13 Thread Hans Åberg
> On 12 Jun 2017, at 17:25, Hans Hagen wrote: > > Hi, > > experimental in next beta: There is a TeX Live updating utility, at least on the MacOS distribution, that allows for server synchronizations between the yearly updates. Is ConTeXt updated there?

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
> On 16 Apr 2017, at 19:41, Hans Hagen <pra...@wxs.nl> wrote: > > On 4/16/2017 7:06 PM, Hans Åberg wrote: >> >>> On 16 Apr 2017, at 15:49, Hans Hagen <pra...@wxs.nl> wrote: >>> >>> Just look into the luatex-math.tex file to see how to

Re: [NTG-context] Choosing STIX stylistic sets

2017-04-16 Thread Hans Åberg
> On 16 Apr 2017, at 19:15, Hans Hagen <pra...@wxs.nl> wrote: > > On 4/16/2017 6:01 PM, Hans Åberg wrote: >> >> So far I have only used \setupbodyfont[xits,10pt], but found no info about >> how to specifically selecting fonts for the different modes or r

Re: [NTG-context] Character translation with Luaotfload

2017-04-16 Thread Hans Åberg
> On 16 Apr 2017, at 15:49, Hans Hagen wrote: > > Just look into the luatex-math.tex file to see how to 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

Re: [NTG-context] Choosing STIX stylistic sets

2017-04-16 Thread Hans Åberg
> On 16 Apr 2017, at 16:37, Hans Hagen <pra...@wxs.nl> wrote: > > On 4/16/2017 3:56 PM, Hans Åberg wrote: >> >>> On 15 Apr 2017, at 00:22, Hans Hagen <pra...@wxs.nl> wrote: >>> >>> On 4/14/2017 12:42 PM, Hans Åberg wrote: >>>>

Re: [NTG-context] Character translation with Luaotfload

2017-04-16 Thread Hans Åberg
> On 16 Apr 2017, at 15:49, Hans Hagen <pra...@wxs.nl> 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 th

Re: [NTG-context] Choosing STIX stylistic sets

2017-04-16 Thread Hans Åberg
> On 15 Apr 2017, at 00:22, Hans Hagen <pra...@wxs.nl> wrote: > > On 4/14/2017 12:42 PM, Hans Åberg wrote: >> With the STIX Two fonts [1-2], one can choose say Stylistic Set 8 for >> more upright integrals. How is that done in ConTeXt with XITS? >> >&

Re: [NTG-context] Character translation with Luaotfload

2017-04-16 Thread Hans Åberg
> On 16 Apr 2017, at 12:51, Hans Hagen <pra...@wxs.nl> wrote: > > On 4/15/2017 10:42 AM, Hans Åberg wrote: >> Since Luaotfload is extracted from ConTeXt, I figure people here will know >> this: >> >> In the code below, math mode '.' and ',' are tran

[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] Choosing STIX stylistic sets

2017-04-15 Thread Hans Åberg
> On 15 Apr 2017, at 00:22, Hans Hagen <pra...@wxs.nl> wrote: > > On 4/14/2017 12:42 PM, Hans Åberg wrote: >> With the STIX Two fonts [1-2], one can choose say Stylistic Set 8 for >> more upright integrals. How is that done in ConTeXt with XITS? >> >&

[NTG-context] Choosing STIX stylistic sets

2017-04-14 Thread Hans Åberg
With the STIX Two fonts [1-2], one can choose say Stylistic Set 8 for more upright integrals. How is that done in ConTeXt with XITS? 1. https://sourceforge.net/projects/stixfonts/ 2. https://en.wikipedia.org/wiki/STIX_Fonts_project#STIX_2.0.0

Re: [NTG-context] Finding OSX fonts

2017-04-14 Thread Hans Åberg
> On 14 Apr 2017, at 11:38, Meer, Hans van der wrote: > > I tried in vain to list the MacOSX fonts in mtxrun. > > In my .bashrc set: On MacOS, Terminal reads .profile. XQuartz xterm, though, reads .bashrc. In my .bashrc file, I have source ~/.profile

Re: [NTG-context] IPA transcription

2017-03-23 Thread Hans Åberg
> On 23 Mar 2017, at 21:04, Nicola <nvitacolo...@gmail.com> wrote: > > On 23/03/2017 18:30, Hans Åberg wrote: >> >> You might try the text substitutions service: System Preferences > >> Keyboard > Text. One chooses replacement text and what it should

Re: [NTG-context] IPA transcription

2017-03-23 Thread Hans Åberg
> On 23 Mar 2017, at 16:57, Nicola wrote: > > Is there a (easy) way to write phonetic > > transcriptions using the IPA (International > > Phonetic Alphabet) in ConTeXt? I can't find any > > reference to it in the documentation. > > I did that some time ago, but I can

Re: [NTG-context] Input methods

2017-03-22 Thread Hans Åberg
> On 26 Sep 2016, at 11:25, Wolfgang Schuster > wrote: > > Can you provide your file(s) for download? I made a C++ program "text_to_plist" that computes a text substitution plist from a sequence of input files [1]. It checks for duplicates, does some XML

Re: [NTG-context] Communative diagrams with TikZ & ConTeXt

2016-10-06 Thread Hans Åberg
> On 6 Oct 2016, at 15:52, Mojca Miklavec > wrote: > > I don't have the file tikzlibrarycommute.code.tex on my machine > either. Anywhere. Not in the ConTeXt distribution nor in TeX Live. > That file was only posted to the mailing list by Idris and apparently >

Re: [NTG-context] Communative diagrams with TikZ & ConTeXt

2016-10-06 Thread Hans Åberg
> On 6 Oct 2016, at 15:52, Mojca Miklavec <mojca.miklavec.li...@gmail.com> > wrote: > > On 6 October 2016 at 15:31, Hans Åberg wrote: >> The example is from [2]. >> >> 2. https://mailman.ntg.nl/pipermail/ntg-context/2013/073368.html The exam

Re: [NTG-context] Communative diagrams with TikZ & ConTeXt

2016-10-06 Thread Hans Åberg
> On 6 Oct 2016, at 15:52, Mojca Miklavec <mojca.miklavec.li...@gmail.com> > wrote: > > (was: MacOS system wide installation) > > On 6 October 2016 at 15:31, Hans Åberg wrote: >>> On 6 Oct 2016, at 15:19, Mojca Miklavec wrote: >>> >>> No, i

Re: [NTG-context] MacOS system wide installation

2016-10-06 Thread Hans Åberg
> On 6 Oct 2016, at 15:19, Mojca Miklavec <mojca.miklavec.li...@gmail.com> > wrote: > > On 6 October 2016 at 15:13, Hans Åberg wrote: >> For the MacOS system wide installation [1], the command 'sudo sh >> ./first-setup.sh' does not have arguments for modules an

  1   2   >