On Monday, March 19, 2018, 12:18:11 PM CDT, Antonio Olivares <olivares14...@yahoo.com> wrote:
On Monday, March 19, 2018, 12:05:06 PM CDT, Andras Simon <sza...@gmail.com> wrote: 2018-03-19 17:01 GMT+01:00, Antonio Olivares <olivares14...@yahoo.com>: > On Monday, March 19, 2018, 10:04:26 AM CDT, François Patte > <francois.pa...@mi.parisdescartes.fr> wrote: > > Le 19/03/2018 à 15:12, Antonio Olivares a écrit : >> Dear fellow fedora users, >> >> In including a soccer ball character in Unicode, I have found >> >> https://www.fileformat.info/info/unicode/char/26bd/index.htm >> >> And it works. I try to include in latex document and the character does >> not show up. I have tried different variations >> after \documentclass{article} >> \usepackage[utf8]{inputenc} >> >> And none seem to work. Is there an easy way to include Unicode chars in >> latex. > > use xelatex > [...] > > How do I invoke it? I have texlive 2017 full scheme installed. I just use > old latex+dvips+ps2pdf to create documents. Invoking it is not the problem (just say 'xelatex yourtexfile.tex'). But I'd be surprised if this solved your problem. First, xelatex is not exactly tex, so you'll probably have to change a few things at least in the preamble of your document. Second, you need a font with the soccerball character in it. If I had this problem, I'd use google. Andras _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org I have an input file $ cat test-sb.tex \documentclass{article} %\usepackage[utf8]{inputenc} %\usepackage[T1]{fontenc} \usepackage[utf8x]{inputenc} \pagestyle{empty} \begin{document} \textSoccerBall â½ %\char"\u26bd" %U+26BD % ð %â½ \end{document} and I process it with $ xelatex test-sb,tex This is XeTeX, Version 3.14159265-2.6-0.99998 (TeX Live 2017) (preloaded format=xelatex) restricted \write18 enabled. entering extended mode (./test-sb.tex LaTeX2e <2017-04-15> Babel <3.16> and hyphenation patterns for 84 language(s) loaded. (/usr/local/texlive/2017/texmf-dist/tex/latex/base/article.cls Document Class: article 2014/09/29 v1.4h Standard LaTeX document class (/usr/local/texlive/2017/texmf-dist/tex/latex/base/size10.clo)) (/usr/local/texlive/2017/texmf-dist/tex/latex/base/inputenc.sty Package inputenc Warning: inputenc package ignored with utf8 based engines. ) (./test-sb.aux) ! Undefined control sequence.l.9 \textSoccerBall â½ ? ^[[?64;1;2;6;9;15;18;21;22c Type <return> to proceed, S to scroll future error messages, R to run without stopping, Q to run quietly, I to insert something, E to edit your file, 1 or ... or 9 to ignore the next 1 to 9 tokens of input, H for help, X to quit. ? [1] (./test-sb.aux) ) Output written on test-sb.pdf (1 page). Transcript written on test-sb.log. $ xpdf test-sb.pdf & /**************/ above command did not show anything in pdf. I saw the macro at http://mirrors.ibiblio.org/CTAN/macros/xetex/latex/xecjk/xunicode-symbols.pdf in page 42 of above document. Thank you for helping. Best Regards, Antonio
_______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org