Comments (3)
I should have known what the problem was.
After not assigning the tt family, the a-zA-Z are still mapped to their unicode ranges. So trying to use another font with mathtt works in this example, but something like LM does not.
The solution is to be able to assign/remap ascii input into ascii output for arbitrary "styled" fonts, which is the gist of #28. E.g., if I don't have any fonts with sf maths, then I should be able to use, say, Lucida even though it's not strictly a maths font. (The mathspec package does this already.) And if I don't have mathtt, then I should be able to use Inconsolata.
Keep an eye out on issue #28.
from unicode-math.
URLs are still broken.
\documentclass{minimal}
\usepackage{unicode-math}
\setmainfont{Constantia}
\setmonofont{Consolas}
\setmathfont{Cambria Math}
\usepackage{url}
\begin{document}
Work in progress is publicly visible on my blog,
\url{http://optimalcontrol.wordpress.com/}.
\end{document}
The URL is set looking like :// . . /
, with the appropriate number of blanks. TeXworks says only Constantia & Consolas are present in the PDF, so itβs not trying to use a mathtt alphabet from Cambria Math.
Please re-open. Iβd consider this issue a CTAN blocker.
from unicode-math.
Refs.
TeXlive 2011, up to date
MWE:
\documentclass{minimal}
\usepackage{unicode-math}
\setmathfont{AsanaMath}
\usepackage{url}
\begin{document}
Text: \url{http://www.github.com}. More text.
\end{document}
Error:
lualatex test2
This is LuaTeX, Version beta-0.70.1-2011062107 (rev 4277)
restricted \write18 enabled.
(./test2.tex
LaTeX2e <2011/06/27>
[...]/local/texlive/2011/texmf-dist/tex/latex/base/minimal.cls
[...]/local/texlive/2011/texmf-dist/tex/latex/unicode-math/unicode-math.sty
[...]/local/texlive/2011/texmf-dist/tex/latex/unicode-math/unicode-math-luatex.sty
...
! Undefined control sequence.
\Url@FormatString
l.7
?
Output after forcing:
Text: ://... More text.
No link at all is created.
from unicode-math.
Related Issues (20)
- Optimize delimiter by assigning it to the character?
- Error when compiling the source codes to produce the documentation HOT 2
- [Feature request] Option to choose if SCRIPT unicode input must be rendered with scr of cal
- `\symliteral` not resulting in correct output of literal input HOT 1
- [Feature Request] Support for Combining Unicode Charactor HOT 2
- `a` and `\symnormal{a}` make differrent result
- \setmathfontface\mathit has no effect in preamble HOT 9
- Comparison with Unicode TR25 data HOT 10
- How to use regular sans-serif italic/upright greek letter in math mode? HOT 5
- \setmathfontface does not respects Style key in lulatex HOT 2
- lualatex and mathsf italic and overline: not centered HOT 1
- Undocumented use of the `BoldFont` option? HOT 4
- Brackets of matrix too short HOT 1
- Font selection of minus sign only working with `range = { \minus, "2212 }`, but not with `range = { "2212 }` or with `range = { \minus }`
- Character selection in scriptsize HOT 1
- There are no simple alphabet commands
- Missing character: There is no π (U+1D70B) in font [lmroman10-regular] HOT 2
- Wrong spacing between bold italic math letter and punctuation HOT 4
- XeLaTeX, set mono font after loading unicode-math and modify \parfillskip leads to big whitespace in \texttt HOT 2
- Doc bug: package is experimental or not?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unicode-math.