[NTG-context] Re: x mark symbol and general symbol guide

2024-06-15 Thread Gerion Entrup
for ConTeXt somewhere? > >> > >> Best, > >> Gerion > >> > >> [1] https://www.ctan.org/pkg/comprehensive > >> > > > > Just as an info. I'm using Noto symbols now: > > ``` > > \definefont[symbolFont][name:notosanssymbols2re

[NTG-context] Re: x mark symbol and general symbol guide

2024-06-15 Thread Hans Hagen
11pt] \define{\yes}{{\symbolFont\utfchar{0x1f5f8}}} \define{\no}{{\symbolFont\utfchar{0x1f5f4}}} \starttext \yes and \no. \stoptext fwiw: 1F5F8 looks pretty bad (in otf) (i checked as i though it was a bug in lmtx)

[NTG-context] Re: x mark symbol and general symbol guide

2024-06-15 Thread Gerion Entrup
osanssymbols2regular*default at 11pt] \define{\yes}{{\symbolFont\utfchar{0x1f5f8}}} \define{\no}{{\symbolFont\utfchar{0x1f5f4}}} \starttext \yes and \no. \stoptext ``` signature.asc Description: This is a digitally signed message part.

[NTG-context] Re: Number in a circle

2024-05-30 Thread Kip Warner
for this number: {\switchtobodyfont[circle_typeface] \utfchar{0x02460}} And back to normal text. \stoptext -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally sig

[NTG-context] Re: Number in a circle

2024-05-30 Thread Henning Hraban Ramm
s=SymbolFB] \starttext \utfchar{0x02460} \stoptext The above just prints the vanilla character '1'. That might be because the online editor doesn't have access to the font. So I tried compiling the above locally with the Symbola.otf file in the same directory and sa

[NTG-context] Re: Number in a circle

2024-05-28 Thread Kip Warner
; > U+2469. > > > They mean circled digits and are available in many fonts. > > > > Thanks Ryszard. Those would be perfect, except I can't get them to > > work > > in ConTeXt. I tried using the \utfchar{0x2460} but it just displays > > the > >

[NTG-context] Re: Number in a circle

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

[NTG-context] Re: Number in a circle

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

[NTG-context] context editor support / syntax highlighting for Pulsar

2024-04-01 Thread Henning Hraban Ramm
mment = "companion to mtxrun.lua", author= "Hans Hagen, PRAGMA-ADE, Hasselt NL", copyright = "PRAGMA ADE / ConTeXt Development Team", license = "see context related readme files" } local concat, sort, insert = table.concat, table.sort, table.inse

[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
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? Many thanks for your help, Pablo ___ If your que

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 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] Fallback fails for Linux Libertine O to Junicode over private area, debugging?

2022-01-07 Thread Hans Hagen via ntg-context
yfont[lib-fb-jun] {\em emph. lib-fb-jun: \Uchar61125 \char64259 \utfchar{"eec5} (three glyphs)} lib-fb-jun: \Uchar61125 \char64259 \utfchar{"eec5} (three glyphs) % <- fallback fails here \switchtobodyfont[jun-pr-lib] jun-pr-lib: \Uchar61125 \char64259 \utfchar{"eec5} (three glyphs) %

Re: [NTG-context] Fallback fails for Linux Libertine O to Junicode over private area, debugging?

2022-01-07 Thread J .  P . Ascher via ntg-context
ipt > > \starttypescript[serif] [jun-pr-lib] [name] > \definefontsynonym [Serif] [JunicodeRoman] [fallbacks=preferlibertine] > \stoptypescript > > \starttypescript [jun-pr-lib] >\definetypeface [jun-pr-lib] [rm] [serif] [jun-pr-lib] [default] > \stoptypescript > > %

Re: [NTG-context] Fallback fails for Linux Libertine O to Junicode over private area, debugging?

2022-01-07 Thread Youssef Cherem via ntg-context
ib] [name] >\definefontsynonym [Serif] [JunicodeRoman] [fallbacks=preferlibertine] > \stoptypescript > > \starttypescript [jun-pr-lib] > \definetypeface [jun-pr-lib] [rm] [serif] [jun-pr-lib] [default] > \stoptypescript > > > % some tracking stuff > > \enabletrac

[NTG-context] Fallback fails for Linux Libertine O to Junicode over private area, debugging?

2022-01-07 Thread J .  P . Ascher via ntg-context
-lib] [rm] [serif] [jun-pr-lib] [default] \stoptypescript % some tracking stuff \enabletrackers[fonts.missing=replace] \enabledirectives[logs.errors] % text, we use lib-fb-jun first, then jun-pr-lib \starttext \setupbodyfont[lib-fb-jun] {\em emph. lib-fb-jun: \Uchar61125 \char64259 \utfchar{"e

Re: [NTG-context] LMTX error processing Adobe Arabic Naskh font

2021-11-13 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
] \righttoleft % \setupalign[r2l] % \dontleavehmode \setupalign[r2l] \ARABICFONT \utfchar{"062E}\utfchar{"064E}\utfchar{"200D} \stopTEXpage % \stoptext As Hans explained off-list, TEXpage interacts with hmode and vmode in ways that may appear unpredictable in some circumstances. I

Re: [NTG-context] upload

2021-10-22 Thread Michal Vlasák via ntg-context
ocal concat, insert, reverse = table.concat, table.insert, table.reverse local lower, upper, rep, match, gsub = string.lower, string.upper, string.rep, string.match, string.gsub local utfchar, utfbyte = utf.char, utf.byte @@ -1972,13 +1972,18 @@ implement { } local n = R("09")^1 / tonumber +loc

Re: [NTG-context] Ligatures missing with Times New Roman

2021-03-18 Thread denis.maier
tfeature [default] [default] [dlig=yes] \definefontfamily [times] [rm] [Times New Roman] \setupbodyfont[times] \starttext ff fi fl ffi ffl \utfchar{"FB00} \utfchar{"FB01} \utfchar{"FB02} \utfchar{"FB03} \utfchar{"FB04} \stoptext Wolfgang

Re: [NTG-context] Ligatures missing with Times New Roman

2021-03-18 Thread Wolfgang Schuster
\definefontfeature [default] [default] [dlig=yes] \definefontfamily [times] [rm] [Times New Roman] \setupbodyfont[times] \starttext ff fi fl ffi ffl \utfchar{"FB00} \utfchar{"FB01} \utfchar{"FB02} \utfchar{"FB

Re: [NTG-context] Escaping reserved/problematic characters

2021-03-11 Thread Wolfgang Schuster
"\\textgreater{}"     '[': '{[}'     ']': '{]}' No escape needed. Note that I'm not looking for accented letters, Unicode quotes and dashes etc. I'm assuming that people in the year 2021 are using an UTF-8-aware engine (and my corresponding

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

2020-06-24 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}%

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-05-01 Thread Gerben Wierda
> On 1 May 2020, at 13:28, Hans Hagen wrote: > > On 5/1/2020 10:21 AM, Gerben Wierda wrote: >> code it back to a \ ? E.g. something like >>{ ‘\U{XXX}', '\' }, > \utfchar{100} > \Uchar 100 Yes, but the question was: how do I code this in the X

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-05-01 Thread Hans Hagen
On 5/1/2020 1:45 PM, Gerben Wierda wrote: On 1 May 2020, at 13:28, Hans Hagen wrote: On 5/1/2020 10:21 AM, Gerben Wierda wrote: code it back to a \ ? E.g. something like { ‘\U{XXX}', '\' }, \utfchar{100} \Uchar 100 Yes, but the question was: how do I code this in the

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-05-01 Thread Hans Hagen
On 5/1/2020 1:45 PM, Gerben Wierda wrote: On 1 May 2020, at 13:28, Hans Hagen wrote: On 5/1/2020 10:21 AM, Gerben Wierda wrote: code it back to a \ ? E.g. something like { ‘\U{XXX}', '\' }, \utfchar{100} \Uchar 100 Yes, but the question was: how do I code this in the

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-05-01 Thread Hans Hagen
On 5/1/2020 10:21 AM, Gerben Wierda wrote: code it back to a \ ? E.g. something like    { ‘\U{XXX}', '\' }, \utfchar{100} \Uchar 100 - Hans Hagen | PRAGMA ADE

Re: [NTG-context] accessing glyph in private area

2019-12-19 Thread Hans Hagen
On 12/18/2019 8:33 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \definefontfamily[emoj][rm][Noto Emoji] \setupbodyfont[emoj] \starttext 🔔💻🔨🔩 \utfchar{0x23f0} \utfchar{0xfe4eb}󾓦󾓧󾓨󾓩󾓪󾓫󾓬󾓭󾓮 \utfchar{0xfe4eb

[NTG-context] accessing glyph in private area

2019-12-18 Thread Pablo Rodriguez
Dear list, I have the following sample: \definefontfamily[emoj][rm][Noto Emoji] \setupbodyfont[emoj] \starttext 🔔💻🔨🔩 \utfchar{0x23f0} \utfchar{0xfe4eb}󾓦󾓧󾓨󾓩󾓪󾓫󾓬󾓭󾓮 \utfchar{0xfe4eb}󾓦󾓧󾓨󾓩󾓪󾓫󾓬󾓭󾓮 \stoptext Is there any way to access glyphs from the

[NTG-context] getting character from Noto Emoji

2019-12-06 Thread Pablo Rodriguez
{n:FE4EB} outputs "4" and \utfchar{0xFE4EB}. What am I doing wrong here? BTW, I would love to use Noto Color Emoji, but ConTeXt (MkIV & LMTX) doesn’t seem to handle it. Many thanks for your help, Pablo -- http:

Re: [NTG-context] Addressing glyphs in Lua

2018-10-10 Thread Marco Patzer
0x260E] = 0xF003A }, -- doens't work > >} > > \stopluacode > > > > \definefontfeature [phone] [phone=yes] > > > > \definefallbackfamily [mainface] [serif] [MarVoSym] [range=0x260E, > > features=phone] \definefontfamily [mainface] [serif]

Re: [NTG-context] Addressing glyphs in Lua

2018-10-10 Thread Hans Hagen
one] \definefontfamily [mainface] [serif] [TeX Gyre Pagella] \setupbodyfont [mainface] \starttext substitution: \utfchar{"260E} %% black telephone \blank direct: \resolvedglyphdirect {name:marvosym}{n:Mobilefone} %% works \stoptext %% glyph name and slot taken from %% %% \

Re: [NTG-context] Addressing glyphs in Lua

2018-10-09 Thread Marco Patzer
efinefontfeature [phone] [phone=yes] \definefallbackfamily [mainface] [serif] [MarVoSym] [range=0x260E, features=phone] \definefontfamily [mainface] [serif] [TeX Gyre Pagella] \setupbodyfont[mainface] \starttext substitution: \utfchar{"260E} %% black telephone \bla

Re: [NTG-context] question about MP drawing with dir

2018-05-24 Thread Hans Hagen
--cycle) scaled m; n := (m * 50) ; o := (m / 5) ; for i=0 upto n : draw textext("\utfchar{"EB09}") scaled (o * .025) shifted point (i/n*length s) of s ; endfor endfor \stopMPpage reusing a picture is

[NTG-context] question about MP drawing with dir

2018-05-24 Thread Pablo Rodriguez
) ; o := (m / 5) ; for i=0 upto n : draw textext("\utfchar{"EB09}") scaled (o * .025) shifted point (i/n*length s) of s ; endfor endfor \stopMPpage dir seems magic to me. I don’t understand how it works, not even how it can be used

Re: [NTG-context] question about followtext in MP

2018-05-23 Thread Alan Braslau
; > > path s ; s := (dir30--dir150--dir315--dir90--dir225--cycle) > > scaled .3TextWidth ; for i=0 upto 500 : > > draw textext("\utfchar{"EB09}") scaled .5 > > shifted point (i/500*length s) of s ; > > endfor > > \stopMP

Re: [NTG-context] question about followtext in MP

2018-05-23 Thread Pablo Rodriguez
~ draw fullcircle scaled .6TextWidth; > draw followtext(p, "·\TextInside") ; > draw followtext(q, "\TextInside·") ; > path s ; s := (dir30--dir150--dir315--dir90--dir225--cycle) scaled > .3TextWidth ; > for i=0 upto 500 : > draw textext(&qu

Re: [NTG-context] question about followtext in MP

2018-05-23 Thread Alan Braslau
(5.5, -4) -- cycle) scaled 1.25cm ; > %~ c := c shifted (-3,-3) ; > draw followtext(c, "\dorecurse{500}{\utfchar{"EB09}}") ; > \stopMPpage > \stoptext > > How can I shift the path c (I mean, the one that draws a star? > > I have tried to add t

Re: [NTG-context] question about followtext in MP

2018-05-23 Thread Pablo Rodriguez
scaled (.6TextWidth + .75LineHeight); %~ draw fullcircle scaled .6TextWidth; draw followtext(p, "·\TextInside") ; draw followtext(q, "\TextInside·") ; path c ; c := (origin -- (6, 0) -- (0.5, -4) -- (3, 2) -- (5.5, -4) -- cycle) scaled 1.25cm

Re: [NTG-context] Fwd: Custom sorting of "pseudo-language" in a register

2018-03-22 Thread Hans Hagen
, "Revelation", } sorters.definitions['bbt'] = { replacements = sorters.replacementlist(list), } \stopluacode \defineregister [booksort] [language=bbt, n=1, indicator=no] \starttext One \booksort{Genesis+5.2} Two \booksort{Exo

[NTG-context] Custom sorting of "pseudo-language" in a register

2018-03-16 Thread John Grasty
help, John Grasty [1]: https://tex.stackexchange.com/questions/418575/custom-ordering-for-a-index-register-in-context/ - - - - \startluacode local utfchar, utfbyte = utf.char, utf.byte local sorters = sorters local definitions = sorters.definitions local replacementoffset

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

2017-11-25 Thread Mikael P. Sundqvist
gt;> [range=uppercasedoublestruck] >> \definefontfamily [mainface] [mm] [Neo Euler] >> \setupbodyfont[mainface,12pt] >> \starttext >> \startTEXpage[offset=3pt] >> Test: $𝔺$ or $\utfchar{"1D53A}$ or $\blackboard C$ or $\mathbb C$ >> >> \switchtobod

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

2017-11-25 Thread Hans Hagen
] \starttext \startTEXpage[offset=3pt] Test: $𝔺$ or $\utfchar{"1D53A}$ or $\blackboard C$ or $\mathbb C$ \switchtobodyfont[pagella] Test: $𝔺$ or $\utfchar{"1D53A}$ or $\blackboard C$ or $\mathbb C$ \stopTEXpage \stoptext welcome to unicode ... what you're looking for is DOUBLE-S

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

2017-11-24 Thread Henri
] Test: $𝔺$ or $\utfchar{"1D53A}$ or $\blackboard C$ or $\mathbb C$ \switchtobodyfont[pagella] Test: $𝔺$ or $\utfchar{"1D53A}$ or $\blackboard C$ or $\mathbb C$ \stopTEXpage \stoptext On Fri, 2017-11-24 at 13:07 +0100, Mikael P. Sundqvist wrote: > Hi! > > I use the Neo

Re: [NTG-context] definefallbackfamily and utfchar, something changed?

2017-05-13 Thread Mikael P. Sundqvist
mm][Xits >> Math][range={2660,2661,2662,2663,2664,2665,2666,2667}] >> >> \definefontfamily[lucidaopentype][rm][Lucida Bright OT] >> \definefontfamily[lucidaopentype][ss][Lucida Sans OT] >> \definefontfamily[lucidaopentype][tt][Lucida Sans Typewriter OT] >> \define

Re: [NTG-context] definefallbackfamily and utfchar, something changed?

2017-05-10 Thread Hans Hagen
ht Math OT] \setupbodyfont[lucidaopentype] \def\diamondsuit{\utfchar{"02662}} \def\varspadesuit{\utfchar{"02664}} \def\varheartsuit{\utfchar{"02665}} \def\vardiamondsuit{\utfchar{"02666}} \def\varclubsuit{\utfchar{"02667}} \starttext Test: $\vardiamond

[NTG-context] definefallbackfamily and utfchar, something changed?

2017-05-10 Thread Mikael P. Sundqvist
fontfamily[lucidaopentype][tt][Lucida Sans Typewriter OT] \definefontfamily[lucidaopentype][mm][Lucida Bright Math OT] \setupbodyfont[lucidaopentype] \def\diamondsuit{\utfchar{"02662}} \def\varspadesuit{\utfchar{"02664}} \def\varheartsuit{\utfchar{"02665}} \def\vardiamondsu

Re: [NTG-context] Underbar offset

2016-05-26 Thread Mojca Miklavec
= "pair", > data = { > [0x30C] = { c = { { 500, 0, 0, 0 }, false } }, > } > } > \stopluacode > > \definefontfeature[default][default][mojca=yes] > > \showframe > > \starttext > > mojča miklave\utfchar{"30C}c > > \stoptext &g

Re: [NTG-context] Underbar offset

2016-05-26 Thread Hans Hagen
t;, type = "pair", data = { [0x30C] = { c = { { 500, 0, 0, 0 }, false } }, } } \stopluacode \definefontfeature[default][default][mojca=yes] \showframe \starttext mojča miklave\utfchar{"30C}c \s

Re: [NTG-context] Diamond, and Unicode math symbols

2016-03-11 Thread Hans Hagen
is is not possible. 2) The list shows a Unicode point for each symbol, but not the corresponding TeX command (if it exists). Ok, this is not correct: the command is there, for symbols that have one. But how do I use symbols with no associated TeX command? \utfchar{n

Re: [NTG-context] how to insert symbols into document?

2015-04-13 Thread Otared Kavian
\define\blackdiamond{\utfchar{"2666}} \starttext This is \type{$\diamondsuit$} $\diamondsuit$ This is \type{$\diamond$} $\diamond$ This is \type{$\blackdiamond$} $\blackdiamond$ \stoptext end diamond.tex Best regards: OK > On 13 Apr 2015, at 13:14, Csikos Bela wrote: > > Otare

[NTG-context] \setupbackend and manual hyphenation

2015-02-12 Thread Axel Kielhorn
1 in file /Volumes/Macintosh HD/Users/axel/Documents/Text/Dokumente_LaTeX/context/Dante 2015/Dominik Wagenführ - ePub/epub/epub_bug.tex: .../context/tex/texmf-context/tex/context/base/back-exp.lua:2516: bad argument #1 to 'utfchar' (invalid value) stack traceback:

Re: [NTG-context] doublestroke

2013-12-21 Thread Elspeth McGullicuddy
myModern,12pt] > > \starttext > > The default one doesn't even seem to have $ℕ \char"2115 \Umathchar "0 > "0 "2115\alpha$\char"2115, α (alpha). > > > \usemodule[simplefonts] > \setmainfontfallback[termes][range={0x-0x}, force=yes, > r

Re: [NTG-context] doublestroke

2013-12-21 Thread Elspeth McGullicuddy
scale=auto] The default one doesn't even seem to have $\Umathchar"0"0"2115\utfchar{"2115}$ (white circle) or α (alpha). \stoptext Some help with those examples would be very helpful. Regards, Chris On Thu, Dec 19, 2013 at 4:50 PM, Elspeth McGullicuddy < elspethmc

Re: [NTG-context] diameter symbol in ConTeXt?

2013-09-21 Thread Wolfgang Schuster
see output for \one). \defineexpandable\one {\char"41} \defineexpandable\two {\char"41 } \defineexpandable\three{\char"41\relax} \defineexpandable\four {\utfchar{"41}} \setupbodyfont[cambria] \starttext 1: \one 3\par 2: \two 3\par 3: \three 3\par 4: \four 3 \stoptext Wolfgang __

Re: [NTG-context] texnansi encoding.

2013-09-14 Thread Wolfgang Schuster
14 >>> etc. I can write the macro, I just need the expression equivalent >>> to \char that gives me such characters in MKIV. >> >> Are you sure these are the correct values? >> >> http://www.fileformat.info/info/unicode/char/8013/index.htm >> >> &

Re: [NTG-context] texnansi encoding.

2013-09-14 Thread john Culleton
ives me such characters in MKIV. > > Are you sure these are the correct values? > > http://www.fileformat.info/info/unicode/char/8013/index.htm > > > What’s wrong with \char? > > \starttext > > \char"201C TEXT\char"201D > > \utfchar{"201C}TEXT\

Re: [NTG-context] texnansi encoding.

2013-09-14 Thread Wolfgang Schuster
What’s wrong with \char? \starttext \char"201C TEXT\char"201D \utfchar{"201C}TEXT\utfchar{"201D} \fontchar{quotedblleft}TEXT\fontchar{quotedblright} \stoptext Wolfgang___ If your questio

Re: [NTG-context] [util-jsn] incorrect handling of escapes

2013-07-09 Thread Philipp Gesang
= { > -- ["\\"] = "\\", -- lua will escape these > -- ["/"] = "/", -- no need to escape this one > ["b"] = "\010", > ["f"] = "\014", > ["n"] = "\n", > ["r"

Re: [NTG-context] [util-jsn] incorrect handling of escapes

2013-07-08 Thread Hans Hagen
ape this one ["b"] = "\010", ["f"] = "\014", ["n"] = "\n", ["r"] = "\r", ["t"] = "\t", } local escape_un = C(P("\\u") / "0x" * S("09","AF"

[NTG-context] [util-jsn] incorrect handling of escapes

2013-07-07 Thread Philipp Gesang
lpeg.Cs, lpeg.Ct, lpeg.Cf, lpeg.Cg, lpeg.Cp local lpegmatch = lpeg.match local format = string.format local utfchar = utf.char @@ -42,7 +42,15 @@ local whitespace = lpeg.patterns.whitespace local optionalws = whitespace^0 -local escape = C(P("\\u") / "0x" * S("09

Re: [NTG-context] new manual

2013-03-27 Thread Hans Hagen
exactly regarding \utfchar{0x...} fixed in next upload ... somehow spacing is suboptimal in xits (it looks better in cambria, lm and pagella) Hns - Hans Hagen | PRAGMA ADE

Re: [NTG-context] new manual

2013-03-27 Thread Mikael Morin
Hi, Le 27/03/2013 13:38, Hans Hagen a écrit : > I uploaded a work-in-progress manual: > > http://www.pragma-ade.com/general/manuals/fonts-mkiv.pdf > There seems to be a problem with the typesetting of primes (on page 104) regarding multiple primes, more exactly regarding \utfchar{0x

Re: [NTG-context] A problem with units

2012-11-24 Thread Hans Hagen
;, h = "hour", s = "second", g = "gram", n = "newton", v = "volt", t = "tonne", l = "liter", -- w = "watt&quo

Re: [NTG-context] A problem with units

2012-11-23 Thread Sietse Brouwer
second", g = "gram", n = "newton", v = "volt", t = "tonne", l = "liter", -- w = "watt", W = "watt", -- a = "ampere", A = "ampere", +min = "minute",

[NTG-context] Symbols

2012-11-20 Thread Willi Egger
00052, a74 \definesymbol[cuttingscissors] [\getglyph{Dingbats}{\utfchar{"2701}}] \definesymbol[blackdiamond][\textormathchar{"2666}] \definesymbol[blackdiamondvar][\textormathchar{"25C6}] \definesymbol[diamondfilled] [\getglyph{MSAM}{\utfchar{"F0067}}] \starttext Thanks for

[NTG-context] high signs

2012-06-05 Thread Hans Hagen
Hi, For those who deal with elementary math ... a couple of extra characters are provides (only in real math fonts): \setupbodyfont[xits] \starttext $\utfchar{"207A} 10$ $\utfchar{"207B} 10$ $\utfchar{"208A} 10$ $\utfchar{"208B} 10$ $\positivesign 10

Re: [NTG-context] index for Japanese alphabet

2012-04-09 Thread S Barmeier
pragma-pod.nl > - The ordering would be ka-i ga-i ka-n ga-n The rule "i before n" is stronger than the rule "ka before ga". I guess this is the same in, say, German, where 'essen' should come

Re: [NTG-context] mirror one single character

2012-02-03 Thread Steffen Wolfrum
Am 03.02.2012 um 12:44 schrieb Wolfgang Schuster: > > Am 03.02.2012 um 12:22 schrieb Steffen Wolfrum: > >> Hi, >> >> one can use this ... >> >> \rotate[rotation=180]{\utfchar{"1D0E}} >> >> ... to rotate a single character when ne

Re: [NTG-context] mirror one single character

2012-02-03 Thread Wolfgang Schuster
Am 03.02.2012 um 12:22 schrieb Steffen Wolfrum: > Hi, > > one can use this ... > > \rotate[rotation=180]{\utfchar{"1D0E}} > > ... to rotate a single character when needed. > > > Do we have a similar, handy command for mirroring a single character? \mirro

[NTG-context] mirror one single character

2012-02-03 Thread Steffen Wolfrum
Hi, one can use this ... \rotate[rotation=180]{\utfchar{"1D0E}} ... to rotate a single character when needed. Do we have a similar, handy command for mirroring a single character? Steffen ___ If your questi

Re: [NTG-context] insert unicode character

2011-09-21 Thread Wolfgang Schuster
t] > .. > label ("UNICODE character U+2B06 here"… > > How to? \utfchar{"2B06} Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-

Re: [NTG-context] beta

2011-07-14 Thread Thomas A. Schmitz
like: \startitemize \startitem test \starttyping test \stoptyping \stopitem \stopitemize - Entities in xml mode have a slightly different roundtrip treatment now and hopefully Thomas S as well as Hans vd M files still work ok. - Unicode math variants (supported by xits) are supported: \mathematics { \ut

Re: [NTG-context] [beta] grid & head

2011-07-14 Thread Philipp Gesang
erent roundtrip treatment > now and hopefully Thomas S as well as Hans vd M files still work ok. > > - Unicode math variants (supported by xits) are supported: > > \mathematics { > \utfchar{"2229} = > \utfchar{"2229}\utfchar{"FE00} = > \vsone{

[NTG-context] beta

2011-07-13 Thread Hans Hagen
test \starttyping test \stoptyping \stopitem \stopitemize - Entities in xml mode have a slightly different roundtrip treatment now and hopefully Thomas S as well as Hans vd M files still work ok. - Unicode math variants (supported by xits) are supported: \mathematics { \utfchar{

Re: [NTG-context] export: tilde problems

2011-06-20 Thread Reviczky, Adam
> It's a side effect of ~ becoming a utf character for nbsp. I'll change Yeah, I completely forgot about that, because it was natural in an url. > the definition to: > > \unexpanded\edef~{\utfchar{"00A0}} > > Then you get this: > > \goto{a.c.

Re: [NTG-context] export: tilde problems

2011-06-20 Thread Hans Hagen
..kcl.ac.uk/\string~reviczky/)] \stoptext It's a side effect of ~ becoming a utf character for nbsp. I'll change the definition to: \unexpanded\edef~{\utfchar{"00A0}} Then you get this: \goto{a.c.d/~reviczky}[url(http://a.c.d/~reviczky)] \goto{\hyphenatedurl{a.c.d/~reviczky}}[u

Re: [NTG-context] combining character (unicode 0364)

2011-06-16 Thread Hans Hagen
ill also do f\utfchar{"E0} and jͤ beware: in that font the alternative f (narrower) is internally named falternative while it's better to use f.alternative because in that case proper tounicode entries can be constructed and copy/paste in pdf can be supported (a font b

Re: [NTG-context] math: using bold charaters for number sets

2011-05-24 Thread Hans Hagen
\startTEXpage \startformula \reals {\mathbf R} \utfchar{"0211D} \utfchar{"1D411} \stopformula \setupmathematics[symbolset=blackboard-to-bold] \startformula \reals {\mathbf R} \utfchar{"0211D} \utfchar{"1D411} \stopform

Re: [NTG-context] math: using bold charaters for number sets

2011-05-24 Thread Aditya Mahajan
] which are set using double strokes. How can I redefine those to be just bold? I've made something for an upcoming beta: \startformula \reals {\mathbf R} \utfchar{"0211D} \utfchar{"1D411} \stopformula \setupmathematics [rendering=1] I will prefer something mo

Re: [NTG-context] math: using bold charaters for number sets

2011-05-24 Thread Hans Hagen
can I redefine those to be just bold? I've made something for an upcoming beta: \startformula \reals {\mathbf R} \utfchar{"0211D} \utfchar{"1D411} \stopformula \setupmathematics [rendering=1] \startformula \reals {\mathbf R} \utfchar{"0211D}

Re: [NTG-context] How to get \iint?

2010-11-24 Thread Vladimir Lomov
g >   \let\dodointlimits\intlimits >   %\iffontchar\textfont\zerocount#1\relax >   % %\edef\dodorepeatintegral{\utfchar{#1}}% >   %  \let\dodorepeatintegral#2% >   %\else >      \fakerepeatintegral{#3}% >   %\fi >   \futurelet\next\dorepeatintegral} > > and then \iint \iiint

Re: [NTG-context] How to get \iint?

2010-11-23 Thread Aditya Mahajan
ot we fake it. Currently, that test is failing. A temporary workaround (for LM) is to redefine: \def\repeatintegral#1#2#3% {\let\dointlimits\donothing \let\dodointlimits\intlimits %\iffontchar\textfont\zerocount#1\relax % %\edef\dodorepeatintegral{\utfchar{#1}}% % \

Re: [NTG-context] new beta (index)

2010-09-22 Thread Alan BRASLAU
f course, my minimal examples work, but not my 700+ page test file!): (thanks to Taco, I now understand the luatex error message) ! LuaTeX error ...beta/tex/texmf-context/tex/context/base/char-ini.lua:792: bad argument #1 to 'utfchar' (number expected, got table) stack traceback: [C

Re: [NTG-context] relative size of symbols

2010-07-28 Thread Henning Hraban Ramm
Am 2010-07-28 um 10:23 schrieb Wolfgang Schuster: \def\UnicodeSymbol#1{\getscaledglyph{Symbola}{1.2}{\utfchar{#1}}} Thank you, looks good, but doesn't work for me: It works but the argument need to be given in a different order, you need: \def\UnicodeSymbol#1{\getscaledglyph{}{}{}} A

Re: [NTG-context] relative size of symbols

2010-07-28 Thread Wolfgang Schuster
is handled different.) I know only the scaling options in type scripts, but how can I scale my glyphs in this setup? (minimals, latest beta, mkIV) \definefontsynonym [Symbola] [file:Symbola.otf] \def\UnicodeSymbol#1{\getglyph{Symbola}{\utfchar{#1}}} \def\UnicodeSymbol#1{\getscaledglyph{Symbola

Re: [NTG-context] relative size of symbols

2010-07-28 Thread Henning Hraban Ramm
options in type scripts, but how can I scale my glyphs in this setup? (minimals, latest beta, mkIV) \definefontsynonym [Symbola] [file:Symbola.otf] \def\UnicodeSymbol#1{\getglyph{Symbola}{\utfchar{#1}}} \def\UnicodeSymbol#1{\getscaledglyph{Symbola}{1.2}{\utfchar{#1}}} Thank you, looks good

Re: [NTG-context] relative size of symbols

2010-07-28 Thread Wolfgang Schuster
my glyphs in this setup? (minimals, latest beta, mkIV) \definefontsynonym [Symbola] [file:Symbola.otf] \def\UnicodeSymbol#1{\getglyph{Symbola}{\utfchar{#1}}} \def\UnicodeSymbol#1{\getscaledglyph{Symbola}{1.2}{\utfchar{#1}}} Wolfgang

[NTG-context] relative size of symbols

2010-07-28 Thread Henning Hraban Ramm
beta, mkIV) \definefontsynonym [Symbola] [file:Symbola.otf] \def\UnicodeSymbol#1{\getglyph{Symbola}{\utfchar{#1}}} \def\born{\leavevmode\raise0.09em\hbox{\UnicodeSymbol{"2733}}} \definefontsynonym is missing in the command reference. Greetlings from Lake Constance! Hraban ---

Re: [NTG-context] unicode subscripts

2010-05-30 Thread Hans Hagen
{{_{#1}}}{\low {#1}}} \ifdefined\installanddefineactivecharacter\else \def\installanddefineactivecharacter #1 #2% we need this as command {\normalexpanded{\noexpand\installactivecharacter \utfchar{#1} }% \defineactivecharacter #1 {#2}} \fi \installanddefineactive

Re: [NTG-context] Anyone ?? (Math symbols missing)

2010-05-24 Thread Hans Hagen
\dointlimits \dodointlimits \to \scratchtoks \edef\dodorepeatintegral{\the\scratchtoks}} \def\repeatintegral#1#2#3% {\let\dointlimits\donothing \let\dodointlimits\intlimits \iffontchar\textfont\zerocount#1\relax %\edef\dodorepeatintegral{\utfchar{#1}}% \let\dodorepeatintegral#2

Re: [NTG-context] astronomy symbols

2009-08-16 Thread Wolfgang Werners-Lucchini
inefontsynonym [UnicodeSymbols] [name:unicodesymbols] > > \def\UnicodeSymbol#1{\getglyph{UnicodeSymbols}{\utfchar{#1}}} > > \startsymbolset [miscellaneoussymbols] > > \definesymbol[blacktelephone][\UnicodeSymbol{"260E}] > \definesymbol[whitetelephone

Re: [NTG-context] astronomy symbols

2009-08-15 Thread Wolfgang Schuster
\definefontsynonym [UnicodeSymbols] [name:unicodesymbols] \def\UnicodeSymbol#1{\getglyph{UnicodeSymbols}{\utfchar{#1}}} \startsymbolset [miscellaneoussymbols] \definesymbol[blacktelephone][\UnicodeSymbol{"260E}] \definesymbol[whitetelephone][\UnicodeSymbol{"260F}] \definesymb

Re: [NTG-context] support for "SUBSCRIPT THREE" etc. ?

2009-07-22 Thread Hans Hagen
atcode \catcode"3017=\endgroupcatcode \utfchar{"23A8}x^\utfchar{"3016}1+2\utfchar{"3017}\utfchar{"23AC} The question is if we do it this way using a special math catcode regime, but that does not work when we pass it as argument unless we mess around with some math codes - like pr

Re: [NTG-context] mkiv ppchtex greek character bug

2009-02-25 Thread Mojca Miklavec
to remain compatible with mkii) >> >> >>>> the \alpha shows up, the α not (not sure why) >>> >>> you need the mathematical alpha >>> >>> \startTEXpage >>>        \startchemical[width=fit,height=fit] >>> >>>  \ch

Re: [NTG-context] mkiv ppchtex greek character bug

2009-02-25 Thread Alan BRASLAU
alpha > > \startTEXpage > \startchemical[width=fit,height=fit] > \chemical[ONE,Z0,MOV1,SB5,Z0][C_{\alpha},C_{\utfchar{"1D6FC}}] > \stopchemical > \stopTEXpage OK, I see that TeX input is to be retained... However, note that $K_α$ works, so there must be some confu

Re: [NTG-context] mkiv ppchtex greek character bug

2009-02-25 Thread Hans Hagen
\startchemical[width=fit,height=fit] \chemical[ONE,Z0,MOV1,SB5,Z0][C_{\alpha},C_{\utfchar{"1D6FC}}] \stopchemical \stopTEXpage OK, I see that TeX input is to be retained... However, note that $K_α$ works, so there must be some confusion in interpreting unicode chara

  1   2   >