Text Formatting ⇒ Extra character bug
-
- Posts: 3
- Joined: Wed Jan 28, 2009 5:26 am
Extra character bug
I have a problem where a "ý" character appears incorrectly in my paper. It appears above every footnote, as well as sometimes where I specify figures (where the figure environment is in the tex, not where the figure is placed).
I've attached a pdf showing the problem as well as an excerpt of the tex used to generate the pdf, but I dont think that the problem is in the tex source shown. It must be somewhere in the latex macros I think.
Has anyone dealt with this before? Alternatively, can anyone suggest how I can start fiddling with the underlying latex source to try to isolate where the problem is occurring?
Kind regards,
Joe.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Extra character bug
please provide a minimum working example. Your code doesn't compile, and if I complete it in this way
Code: Select all
\documentclass{article}
\usepackage{varioref}
\begin{document}
Throughout the proceeding discussion, the example shown in Figure \vref{fig:semantics:ontologyEg} will be used to illustrate each concept. The example consists of a short Audio-Visual clip that forms part of a news article on events in the middle-east\footnote{This clip was used by permission from SBS World News Australia.}. The first part of the ...
\subsubsection{Data Units}
\label{sec:semantics:dataUnits}
% something about some figures causes the ý
\begin{figure}{1}
\centering
% \includegraphics[width=\textwidth, page=8]{semantics}
\hbox to \textwidth{\hss\vrule height 5cm\hss}
\caption{Example instances of semantic distortion classes describing the data units of a H.264/AVC bitstream}
\label{fig:semantics:ontologyEg-DataUnits}
\end{figure}
For the purposes of R-D Optimization, Chou designates an atomic segment of ...
\end{document}
Extra character bug
Code: Select all
\usepackage[encoding]{inputenc}
It happened once to me, in Linux I write my files using utf-8 encoding; when opened in TeXnicCenter weird characters appeared and couldn't really work with it because TeXnicCenter wasn't able to work in utf-8.
-
- Posts: 3
- Joined: Wed Jan 28, 2009 5:26 am
Extra character bug
Good point. sorry about that.phi wrote:Hi,
please provide a minimum working example.
I've figured it out - it was an interaction between my document class and
Code: Select all
\usepackage[T1]{fontenc}
Here's a minimal working example (class file is attached):
Code: Select all
\documentclass{snrcthesis}
\global\nonstopmode
\usepackage[T1]{fontenc}
\begin{document}
..\footnote{xxxx}.
\begin{figure}
.
\end{figure}
xx
\end{document}
- Attachments
-
- snrcthesis.cls
- (17.31 KiB) Downloaded 268 times
Re: Extra character bug
-
- Posts: 3
- Joined: Wed Jan 28, 2009 5:26 am
Extra character bug
Code: Select all
\global\nonstopmode
As for the error itself, it doesn't make much sense to me. Clearly "a missing \item" is a wild stab in the dark. I suspect it is to do with the fact that the class file expects a whole lot of definitions (\title, \author, etc. etc.) and it isn't finding them. But for the purposes of the example, if you can run latex in non-stop mode then it should work.