f



! LaTeX Error: Option clash for package inputenc.

Hi,

I have done a document on Lyx and export it to a tex file.
I try to make the first page in an other file. I have this error :

! LaTeX Error: Option clash for package inputenc.

since i add this command to have the accent  :   \usepackage[utf8]
{inputenc} .

I am on an ubuntu and have install this package : latex-ucs
What can I do to fix this problem?

Thanks for your attention,

Baptiste.

0
9/16/2007 11:02:04 PM
comp.text.tex 39029 articles. 3 followers. Post Follow

2 Replies
4881 Views

Similar Articles

[PageSpeed] 41

On Sep 17, 8:02 am, Baptiste <bidon.s...@gmail.com> wrote:
> I try to make the first page in an other file. I have this error :
>
> ! LaTeX Error: Option clash for package inputenc.

This means you're loading the package twice. Try and find the other
place you're loading it and delete that line.

Will

0
wspr81 (1209)
9/17/2007 12:56:38 AM
Will Robertson wrote:
> On Sep 17, 8:02 am, Baptiste <bidon.s...@gmail.com> wrote:
>> I try to make the first page in an other file. I have this error :
>>
>> ! LaTeX Error: Option clash for package inputenc.
> 
> This means you're loading the package twice. Try and find the other
> place you're loading it and delete that line.

Note that it may be another package that's implicitly loading inputenc.

-- Scott
0
ctt (1173)
9/17/2007 5:18:31 AM
Reply:

Similar Artilces:

inputenc package error
Dear All, I posted a small example below, kindly suggest me how to fix the error: \documentclass[]{article} \usepackage[latin1]{inputenc} % to handle german umlaute \usepackage{graphics} \usepackage{amsmath} \usepackage{amssymb} \usepackage{natbib} \bibliographystyle{plainnat} \begin{document} \begin{titlepage} \begin{center} \baselineskip26pt {\bf\Large Test\\ title } \vspace*{1cm} \baselineskip18pt {\large M.Sara$^\text{a}$, H.Roeger$^{\text{a,}*}$}\\ \vspace*{0.5cm} {\normalsize $^\text{a}$\textit{The Park, Fac=C5=B8cken, Germany}\\ } \end{center} \end{titlepage} \end{document} ...

Option clash for package
Dear all, I'd be much obliged if somebody could explain me why the following isn't allowed. I've defined a silly package which basically ignores its options: MyPackage.sty: \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{MyPackage} \makeatletter \DeclareOption*{} \ProcessOptions\relax \endinput Next I us the class with two different option lists. MyFile.tex: \documentclass{article} \usepackage[a=1]{MyPackage} \usepackage[b=1]{MyPackage} When I compile this, I get a ! LaTeX Error: Option clash for package MyPackage. Is this behaviour a design decision? If yes, then why isn't...

Using caption package with ccaption package: ! LaTeX Error: Command \captionwidth already defined
Hi all, Consider the following minimal example: ---------------------- \documentclass{book} \usepackage{caption} \renewcommand\arraystretch{0.95} \captionsetup{margin={1cm,1cm}} \usepackage{ccaption} \begin{document} \begin{figure} \centering \bicaption[tab:mytable]{short chinese caption}{long chinese caption.} {Fig.}{English caption.} \rule{4cm}{3cm} \end{figure} \end{document} ---------------------- This will give me the following errors: --------------------- ! LaTeX Error: Command \captionwidth already defined. Or name \end... illegal, see p.192 of the manual. See t...

Problem with LaTeX-package-option-processing-mechanism in general and with "keyval-Package".
These days I tried to create a package which takes some options and passes them into some key-value-scheme. I intended to use the keyval-package for this purpose as follows: \ProvidesPackage{mypackage} % \RequirePackage{keyval}% % \define@key{interface}{KeyA}{<do something with value #1>}% \define@key{interface}{KeyB}{<do something with value #1>}% \define@key{interface}{KeyC}{<do something with value #1>}% \define@key{interface}{KeyD}{<do something with value #1>}% \define@key{interface}{KeyE}{<do something with value #1>}% <...> % \newcommand{\Parse@opti...

Option clash with package caption
Hi all, I am having some difficulty identifying which package is clashing with the caption package. I can compile my document with just using \usepackage[caption], but when I try and change any options of the caption class I get an option clash, eg \usepackage[margin=10pt] {caption}, results in "Dissertation.tex:23:Option clash for package caption" I have checked the caption documentation and it does not list any of the packages I am using in the incompatibility section. I am still learning LaTex, so there are probably many more elegant ways to set up my document, but at the mome...

How to overcome this Errors from the LaTEX BABEL package?
Dear all, I am wondering if I could get some help about how to overcome the following LaTEX errors related to the babel package: % START LaTEX ERROS .. .. .. (/usr/share/texmf/tex/latex/base/t1enc.def)) (/usr/share/texmf/tex/latex/lm/lmodern.sty) (./babel/babel.sty (./babel/spanish.ldf (./babel/babel.def ! Undefined control sequence. \main@language ...bbl@main@language \bbl@patterns {\languagename } l.131 \main@language{english} ! Undefined control sequence. \main@language ...bbl@main@language \bbl@patterns ...

cantarell latex package: error with font
Hello. I am having problems compiling a latex document which uses the cantarell package on my ~am64 Gentoo Linux system: %----------------------------------------------------------------------- \documentclass{article} \usepackage[default]{cantarell} \usepackage{lipsum} \begin{document} \title{Testing the \texttt{cantarell} package} \author{Jos=E9 Romildo Malaquias} \maketitle \section{This is a test} \lipsum[1] \textsl{\lipsum[2]} \end{document} %----------------------------------------------------------------------- pdflatex fails with the following messages: $ pdflatex test-cantar...

Twocolumn-option of memoir clashes with fixltx2e-package
Dear list, I've created a document, where I use the table*-environment with the twocolumn-option. Unfortunately, I receive in the twocolumn-mode only the following error, while using the memoir-class: "! Extra }, or forgotten \endgroup. \@endfloatbox ...pagefalse \outer@nobreak \egroup \color@endbox l.41 \end{table*}" Using the book class, the error vanishes. I'm using an uptodate MikTeX (for the testing even freshly installed) on Windows XP. Below the minimumk file, which creates the error: \documentclass[twocolumn]{me...

Replacing text with LaTeX symbols with listings package
Hi, On page 7 of the Listings package documentation there's an example of automatically converting character strings in the listing into LaTeX symbols (<= converted to the maths symbol, := converted into an arrow, etc). Despite searching through the documentation I can't figure out how you actually set the package up to do this! Does anyone know how to make this happen? Regards, Oliver. On Fri, 04 Jun 2004 14:13:47 +0100, Oliver Pell <oliver.pell@doc.ic.ac.uk> wrote: > Hi, > > On page 7 of the Listings package documentation there's an example of >...

lang, util, io, text (optional) packages
Hi, Following an advice on getting started with the very foundametal elements of java, would one one write some simple and yet elegant code sample using some core methods from java.lang, java.util and java.io (optional) and java.text (optional) packages? And if this little thing is fun for you, I'd appreciate it. TIA. "NickName" <dadada@rock.com> wrote in message news:1166645506.870991.276440@80g2000cwy.googlegroups.com... > Hi, > > Following an advice on getting started with the very foundametal > elements of java, would one one write some simple and yet ...

hyperref chinese bookmarks issue: Package inputenc Error.
Dear all, I use the hyperref to produce chinese bookmarks with following minimal example: ---------------------------- % In UTF-8 encoding % Test CJK pdf outline. \documentclass{article} \usepackage{CJKutf8} \usepackage[T1]{fontenc} \usepackage[unicode,pdftex]{hyperref} \hypersetup{colorlinks,linkcolor=blue} \begin{document} \begin{CJK*}{UTF8}{song} \tableofcontents \section{$)AVP9z}\label{hello} \ref{hello} $)AVP9zDc:C!# \end{CJK*} \end{document} --------------------------- After run the pdflatex twice, I can get the bookmarks correctly, but each time when I run pdflatex, I will ...

new line using text annotations with latex option
Hello all, I am trying to add some text to a figure using the textbox annotation and the latex option. Typically the newline command in latex is either: \\ or \newline But when I use these commands they are not interpreted. Example: figure annotation('textbox',[.5,.5,.3,.3],'String'... ,'$$I\ would\ like\ a\ new\ line\ here\ \\ \frac{\sigma}{\sqrt{n}} $$','interpreter','latex') alternatively you could try the other command: figure annotation('textbox',[.5,.5,.3,.3],'String'... ,'$$I\ would\ like\ a\ new\ line\ here\ \newline \...

Error in .tex file makes latex loop forever
The following short document \documentclass[10pt]{article} \usepackage{amsmath} \begin{document} \[ \array{chars\\0-15:&\Diamond&\Heart} \] \end{document} causes latex to emit the error ! Use of \@array doesn't match its definition. If you reply "q" then it says OK, entering \batchmode and then runs forever. Without \usepackage{amsmath} it emits the same error but quickly runs to completion after you reply "q". Now, the \array{...} construction is obviously a latex error, and I don't really care about the .dvi output produced. But the ...

Using German umlauts in the text--inputenc package broken?
Hi, I want to write a paper using LaTeX, and since I want to use umlauts directly in the text, I included the inputenc package. However, the latex parser always exits with this message: ---------------- 8< ------------------------------------------------ ! LaTeX Error: Command \textcurrency unavailable in encoding OT1. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.18 \maketitle ? ! Emergency stop. ... l.18 \maketitle No pages of output. ---------------- 8< ------------------------------------------------ I didn...

help with LaTeX Error: File `tcilatex.tex' not found.
Dear all, I have the following message when I try to typeset a document in Pctex. ! LaTeX Error: File `tcilatex.tex' not found. I think this might be a package for fonts. Could anyone tell me how to get it and install it. Thank you very much. Tony Tony wrote: > Dear all, > > I have the following message when I try to typeset a document in > Pctex. > > ! LaTeX Error: File `tcilatex.tex' not found. > > I think this might be a package for fonts. No, it's a package for SWP. Your file was typed under SWP I suppose. > Could anyone tell me how to &...

hyperref chinese bookmarks issue: Package inputenc Error. #2
Dear all, I use the hyperref to produce chinese bookmarks with following minimal example: ---------------------------- % In UTF-8 encoding % Test CJK pdf outline. \documentclass{article} \usepackage{CJKutf8} \usepackage[T1]{fontenc} \usepackage[unicode,pdftex]{hyperref} \hypersetup{colorlinks,linkcolor=blue} \begin{document} \begin{CJK*}{UTF8}{song} \tableofcontents \section{ $)A VP9z }\label{hello} \ref{hello} $)A VP9zDc:C!# \end{CJK*} \end{document} --------------------------- After run the pdflatex twice, I can get the bookmarks correctly, but each time when I run pdflatex, I will...

"Package keyval error" in loading figure to LaTeX document.
Hi, i have mikTeX 2.7 installed and am using WinEdt for editing. I created my figure in matlab and saved as 'fig1.eps' and moved it to the same directory with my .tex document. I try to load it in my .tex document by, \begin{figure} \includegraphics[width=3in,keepaspectratio]{fig1.eps}\\ \caption{dummy} \label{fig1} \end{figure} i compile it with latex command but always receive the error : 'Package keyval error: width=3in undefined.' I have both included graphics, graphicx and epsfig packages..need help, thanks in advance.. kkirtac <kadir.kirtac@gmail.com> wrote: ...

wrap text around text in latex
You do that by using a minipage environment, right? Gunnar G wrote: > You do that by using a minipage environment, right? I do it with the wrapfig package. Here's an example that I posted here once: \documentclass[a4paper]{article} \usepackage{wrapfig} \begin{document} Some text about memory. Some text about memory. Some text about memory. Some text about memory. Some text about memory. Some text about memory. Some text about memory. Some text about memory. Some text about memory. Some text about memory. Some text about memory. Some text about memory. Some text about memory. Some te...

changing package options after loading the package
I have a custom LaTeX package that is loaded with an options that controls a particular feature. The options basically set boolean flags. Is there a way to temporarily change that option, or the boolean flags, AFTER the package has been initially loaded so that subsequent uses of that particular feature reflect the changed option? I'd like to create a new environment that temporarily changes the option or the resulting booleans for the duration of the environment and have the change reflected in the contents of the environment. Here is the relevant package code that sets the package optio...

latex / package bug fixing packages
I am looking for packages that fix latex or package bugs. So far I have found the following: fixltx2e marginnote (instead of mparhack) scrhack Am 03.11.2010 11:10, schrieb pospiech: > I am looking for packages that fix latex or package bugs. > > So far I have found the following: > > fixltx2e > marginnote (instead of mparhack) "marginnote" is not a fix for marginpar but it is another approach. May be you mean "marginfix". ....Rolf pospiech <mail@matthiaspospiech.de> writes: > I am looking for packages that fix latex or...

Texlive 2011 independent of package order: Package biblatex Error: Patching 'ifthen' package failed
Hi, I just updated my texlive 2011 installation. With it came a new biblatex version. Could it be that it is out of step with some other packages? I receive Package biblatex Error: Patching 'ifthen' package failed independently of where in the header I place the biblatex line. My header can be found here: http://justpaste.it/gc6 Am Sat, 20 Aug 2011 06:09:47 -0700 (PDT) schrieb Johannes Wilm: > Hi, > I just updated my texlive 2011 installation. With it came a new > biblatex version. Could it be that it is out of step with some > other packages? I receive > Package...

How do I Copy an error message to a text document, as text?
How do I Copy an error message to a text editor document (BBEdit, to be specific) as just plain text (what I see in the notebook cell)? I think I've now tried every possible Copy and Copy As . . . option in the Mac front end menus for Mathematica 4.2, with the text selected and with the cell bracket selected; and every one of them (fourteen cases in all) gives me a messy version of the error message with a bunch of formatting markup stuff inserted. Frustrating!!! Seigman: Yasvir was correct in copying Input and Output Forms to plaintext. However, that is not the M...

bug in LaTeX with \\ in optional arg of LaTeX command?
Why does the following piece of code give me an error "Missing } inserted."? The problem seems to be with the `\\' in the optional arg of \foo and it shows up only in the tabular environment. Is this a bug in LaTeX? Is it known? \documentclass{article} \newcommand{\foo}[1][\\ bar]{foo {#1}} \begin{document} \foo \begin{tabular}{l}% \foo \end{tabular} \end{document} On Fri, 26 Aug 2005 17:50:45 +0200, Roland Winkler <winkler@tfkp07.physik.uni-erlangen.de> wrote: > > Why does the following piece of code give me an error > "Missing } inserted."? &g...

Error Importing Text files. Error #3011
Code will not work in XP. Any ideas? Public Sub GetData() ' Declare variables Dim InputDir, ImportFile As String, tblName As String, strsql As String InputDir = ("f:\") ImportFile = Dir("F:\Documents\Deployment Documentation" & "\*.txt") On Error Resume Next Do While Len(ImportFile) tblName = Left(ImportFile, (InStr(1, ImportFile, ".") - 1)) & "log" DoCmd.TransferText acImportDelim, , tblName, ImportFile, 0 ImportFile = Dir Loop End Sub Praetorian Prefect wrote: >Code wi...

Web resources about - ! LaTeX Error: Option clash for package inputenc. - comp.text.tex

The TeX Catalogue OnLine, Hierarchical Ctan Edition
Search - Home - Alpha - Brief - Topical - Hierarchical TeX Catalogue (Hierarchical Ctan Edition) Graham Williams Copyright © 1986-2011 Graha ...

Project Euler...in LaTeX?
which according to system.time() runs in 0.002 seconds. Ok, yeah, R is good and all, but it doesn't quite have the nerd cred of LaTeX. So in ...

documentclass[12pt,a4paper]{article} usepackage[T1]{fontenc} usepackage[utf8]{in - Pastebin.com
PASTEBIN - #1 paste tool since 2002 create new paste tools api archive faq PASTEBIN create new paste trending pastes sign up login my alerts ...

Unanswered 'typescript' Questions - Programmers Stack Exchange
current community chat blog Programmers Programmers Meta your communities Sign up or log in to customize your list. more stack exchange communities ...

Formatting information with LaTeX: Characters
The American Standard Code for Information Interchange ( ASCII ) was invented in 1963, and after some redevelopment settled down in 1984 as standard ...

File:Lissajous phase.svg - Wikimedia Commons
\documentclass [10pt,border=0pt,tikz,class=scrartcl,multi=false] { standalone } \usepackage [T1] { fontenc } \usepackage [latin1] { inputenc ...

File:Csv-2d-gaussian-multivarate-distributions.svg
\ documentclass [ varwidth=true, border=5pt ]{ article } \ usepackage [ active,tightpage ]{ preview } \ usepackage [ latin1 ]{ inputenc } \ usepackage ...

File:Csv-2d-gaussian-multivarate-distributions.svg - Wikimedia Commons
\ documentclass [ varwidth=true, border=5pt ]{ article } \ usepackage [ active,tightpage ]{ preview } \ usepackage [ latin1 ]{ inputenc } \ usepackage ...

Resources last updated: 2/18/2016 11:48:14 AM