On Fri, Aug 25, 2023 at 09:53:23PM +0700, Max Nikulin wrote:
> On 25/08/2023 03:24, Haines Brown wrote:
> > Now it returns the error: "not set up for use with LaTeX." What does
> > this error imply?
> > 
> > This code works to produce an astrisk:
> > 
> >     \char"002A
> 
> A complete minimal example of LaTeX document may describe better what are
> you trying to achieve. 

\documentclass[12pt]{article} %
\usepackage[utf8]{inputenc} %     
\usepackage[T1]{fontenc} % 
\usepackage[greek,english]{babel} % to make Greek charactes available
\DeclareUnicodeCharacter{2014}{\dash} % to get m-dash

\begin{document}

To get m dash rather than "-" I do % \dash. 
Why does this produce the error: Undefined control sequence?

If I paste an upper case Omega % Ω 
into a LaTeX file and run pdflatex on it I am told the character is not
set up for LaTeX. \$ albatross tells me it is available in the DejaVu
Sans font which I have installed. 

If I add \verb|\usepackage[greek,english]{babel}| 
to preface and paste an upper case Omega, in the body I get error: 
Command \verb|\textOmega| unavailable in encoding T1.

A program I use requires the dagger symbol, †, which is code point 2020.
But % \symbol{"2020} 
produces fatal error. 

The code for E is U+0045. I try % ^^^^0045
and get error: Unicode character % ^^^ (U+001E) 
not set up for use with LaTeX. It turns out that the character   
\verb| ^ |  can't be used. I suspect the command deprecated because
clashes it its use in math mode.

The command to produce a Omega % \char"005B
produces garbage, not a µ. This character is in DejaVu Sans, but LaTeX
is not able to display it. 

The question is: if my system has access to a character in that it can
be pasted, why cannot LaTeX do so as well.

\end{document}
 

-- 

     Haines Brown 

Reply via email to