Tag Info

Hot answers tagged

6

Maybe this is what you're looking for. \documentclass{article} \usepackage{ifluatex} \ifluatex \usepackage{fontspec} \else \catcode`\^^^=\active \begingroup\lccode`~=`\^^^\lowercase{\endgroup \def~^}#1#2#3#4{$\langle$U+\uppercase{#1#2#3#4}$\rangle$} \fi \begin{document} ^^^^1e0f \end{document} The ^^^^ notation in LuaTeX specifies the Unicode ...


3

You should use XeTeX or luaTeX and your font should support Bengali. I have used Mukti Narrow (I had issues with Free Serif, whitout fontspec package): \documentclass{article} \font\beng="Mukti Narrow Bold:script=beng" \begin{document} This is Bengali: {\beng পারে} \end{document} This is an example from ieeetran class, which works just fine: ...


3

Calling \makeindex[program=truexindy,...] works. \documentclass{article} \usepackage{fontspec} \usepackage{imakeidx} \makeindex[program=truexindy,options=-M texindy -L german-duden -C utf8] \begin{document} üäö start \index{a}\index{b}\index{ä}\index{ü}\index{ÖÖ} end \printindex \end{document}


3

The newfloat package does a bunch of \edef when it should use, at least in some of those cases, \protected@edef. You can solve the issue doing an indirect passage: \documentclass[12pt,a4paper]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[english,czech]{babel} \usepackage{lmodern} \usepackage[nottoc]{tocbibind} ...


2

You should use iconv (iconv - Convert encoding of given files from one encoding to another) From a terminal write: iconv -f MACINTOSH -t UTF-8 source_mac.tex > destination_utf.tex where MACINTOSH is mac encoding. Pay also attention to inpuntec. Let's suppose your are using under mac: \usepackage[applemac]{inputenc} you have to remove it and add ...


2

There are tools to recode a file (iconv, recode, ...), see the answer of teoreda. But these tools do not change the option for package inputenc. Here package selinput helps. Example: \documentclass{article} \usepackage{selinput} \SelectInputMappings{ adieresis={ä}, germandbls={ß}, copyright={©}, } \begin{document} Umlauts: ÄÖÜäöüß, Copyright: © ...


1

Ensure your file is saved as UTF-8 and add \usepackage[utf8]{inputenc}, not latin1. I also simplified the list of packages, removing duplicates and those that are already loaded by beamer. \documentclass{beamer} \usetheme{Warsaw} \usefonttheme{professionalfonts} \usepackage{mathptmx} \usepackage[scaled=.92]{helvet} \mode<presentation> ...


1

With XeTeX and LuaTeX you don't need inputenc or fontenc, since all strings are assumed to be UTF-8 encoded by default. What you need though is to setup the fonts. If you don't mind cmr like fonts, I recommend you to install the CMUnicode fonts. To get instructions to set them up you may follow the directions given in this question, using the plain-cmu.tex ...



Only top voted, non community-wiki answers of a minimum length are eligible