Text Formatting ⇒ Extra character bug
-
- Posts: 3
- Joined: Wed Jan 28, 2009 5:26 am
Extra character bug
Hi,
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.
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.
NEW: TikZ book now 40% off at Amazon.com for a short time.
Extra character bug
Hi,
please provide a minimum working example. Your code doesn't compile, and if I complete it in this waythere is no ý anywhere.
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
Could be some encoding problem? Make sure to specify which encoding is your file written in by using:
Change "encoding" with the encoding you use, e.g. utf8 or latin9.
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.
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 255 times
Re: Extra character bug
And this compiles without error? When I try to compile it, I get the error "Something's wrong—perhaps a missing \item". If I remove the footnote, I get the warning "Please stop using fancyheadings".
-
- Posts: 3
- Joined: Wed Jan 28, 2009 5:26 am
Extra character bug
I get that error too. That's why I added
It seems like your system doesn't honor that. There is also a command-line argument to set this mode (-interaction=nonstopmode in miktex).
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.
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.