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
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)
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.
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
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
; > 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
> >
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
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
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
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
>
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
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
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
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
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
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
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) %
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
>
> %
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
-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
]
\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
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
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
\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
"\\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
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}%
> 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
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
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
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
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
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
{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:
0x260E] = 0xF003A }, -- doens't work
> >}
> > \stopluacode
> >
> > \definefontfeature [phone] [phone=yes]
> >
> > \definefallbackfamily [mainface] [serif] [MarVoSym] [range=0x260E,
> > features=phone] \definefontfamily [mainface] [serif]
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
%%
%% \
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
--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
) ;
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
;
> > 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
~ 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
(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
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
, "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
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
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
]
\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
]
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
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
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
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
= "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
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
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
\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
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:
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
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
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
__
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
>>
>>
&
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\
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
= {
> -- ["\\"] = "\\", -- lua will escape these
> -- ["/"] = "/", -- no need to escape this one
> ["b"] = "\010",
> ["f"] = "\014",
> ["n"] = "\n",
> ["r"
ape this one
["b"] = "\010",
["f"] = "\014",
["n"] = "\n",
["r"] = "\r",
["t"] = "\t",
}
local escape_un = C(P("\\u") / "0x" * S("09","AF"
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
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
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
;,
h = "hour",
s = "second",
g = "gram",
n = "newton",
v = "volt",
t = "tonne",
l = "liter",
-- w = "watt&quo
second",
g = "gram",
n = "newton",
v = "volt",
t = "tonne",
l = "liter",
-- w = "watt",
W = "watt",
-- a = "ampere",
A = "ampere",
+min = "minute",
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
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
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
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
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
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
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-
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
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{
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{
> 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.
..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
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
\startTEXpage
\startformula
\reals {\mathbf R} \utfchar{"0211D} \utfchar{"1D411}
\stopformula
\setupmathematics[symbolset=blackboard-to-bold]
\startformula
\reals {\mathbf R} \utfchar{"0211D} \utfchar{"1D411}
\stopform
] 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
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}
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
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}}%
% \
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
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
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
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
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
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
---
{{_{#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
\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
inefontsynonym [UnicodeSymbols] [name:unicodesymbols]
>
> \def\UnicodeSymbol#1{\getglyph{UnicodeSymbols}{\utfchar{#1}}}
>
> \startsymbolset [miscellaneoussymbols]
>
> \definesymbol[blacktelephone][\UnicodeSymbol{"260E}]
> \definesymbol[whitetelephone
\definefontsynonym [UnicodeSymbols] [name:unicodesymbols]
\def\UnicodeSymbol#1{\getglyph{UnicodeSymbols}{\utfchar{#1}}}
\startsymbolset [miscellaneoussymbols]
\definesymbol[blacktelephone][\UnicodeSymbol{"260E}]
\definesymbol[whitetelephone][\UnicodeSymbol{"260F}]
\definesymb
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
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
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
\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 - 100 of 111 matches
Mail list logo