Problem with accents in .Bib file
up vote
1
down vote
favorite
I've been trying to find the source of problem without success, It keeps coming.
I'm trying to move from writing linear to modular, since the notes are getting bigger, so I'm using the subfile
package. And since this, everything went wrong with the bibliography because all the special characters of the .bib
aren't shown, I keep getting the Finished with exit code 1. Whereas working linearly it didn't happen. Even though the preamble is the same for both.
The main.tex
looks like this
documentclass{article}
usepackage[utf8]{inputenc}
usepackage[activeacute,spanish]{babel} %Since I'm writing in spanish I need it!
usepackage[T1]{fontenc} %Even using this, It didn't work
usepackage{subfiles} %To work modular
usepackage{amsmath, amsthm, amssymb, amsfonts}
usepackage{longtable,array,tabularx,booktabs,lscape}
usepackage{mathtools}
usepackage{fancyhdr}
usepackage{vmargin}
usepackage{float}
usepackage{graphicx}
usepackage{color}
usepackage{multicol}
usepackage{tcolorbox}
usepackage{accents}
usepackage{cancel}
usepackage{lmodern}
usepackage{hyperref}
setcounter{tocdepth}{2} %Since I just have subsections in the whole doc
%Just config of the table of contents
hypersetup{
colorlinks=true,
linktoc=all,
linkcolor=magenta,
}
%New Enviroments
newtheorem{Def}{{Definición}}[subsection]
newtheorem{Lema}{{Lema}}[subsection]
newtheorem{Obs}{{Observación}}[subsection]
newtheorem{Prop}{{Proposición}}[subsection]
newtheorem{Teo}{{Teorema}}[subsection]
% To work with vmargins
setpapersize{A4}
setmargins{2 cm}
{1.5cm}
{16 cm}
{23.42cm}
{15pt}
{1cm}
{1pt}
{1cm}
%Page Style
pagestyle{fancy}
lhead{bfseries Notes }
chead{}
rhead{}
lfoot{ }
rfoot{}
cfoot{thepage}
renewcommand{headrulewidth}{0.2pt}
renewcommand{footrulewidth}{0.10pt}
%NEW COMMANDS
newcommand{norm}[1]{leftlVert #1rightrVert}
newcommand{R}{mathbb{R}}
newcommand{W}{mathbb{W}}
newcommand{V}{mathbb{V}}
newcommand{N}{mathbb{N}}
newcommand{ra}{rightarrow}
newcommand{rra}{rightrightarrows}
newcommand{bb}[1]{mathbb{#1}}
newcommand{al}[1]{mathcal{#1}}
DeclarePairedDelimiterabs{lvert}{rvert}%
renewcommand{baselinestretch}{1.5}
begin{document}
sffamily
tableofcontents
newpage
subfile{Section1}
subfile{Section2}
subfile{Section3}
subfile{Section4}
subfile{Section5}
subfile{Section6}
clearpage
bibliographystyle{unsrt}
nocite{*}
bibliography{./AMBib}
end{document}
On the other hand, my .bib
document looks like this:
@book{OM,
Author = {Ó Searcóid,Mícheál},
Publisher = {Springer Verlag London Limited},
Title = {Metric Spaces},
Year = {2007}
}
@book{PM,
Author = {Pedro J. Miana },
Publisher = {Departamento de Matemáticas, Universidad de Zaragoza },
Title = {Curso de Análisis Funcional: Notas de Clase},
Year = {2006},
}
@book{PJHP,
Author = {Pedro Jose Herrero Piñeyro },
Publisher = {Universidad de Murcia},
Title = {Topología de Espacios Métricos},
Year = {2010},
}
@book{Kolmorov,
Author = {A. N. Kolmogorov , S. V. Fomin },
Publisher = {Editorial Mir},
Title = {Teoria de las ecuaciones y del análisis funcional },
Year = {1975},
}
@book{Jost,
Author = {Jürgen Jost },
Publisher = {Springer-Verlag Berlin Heidelberg},
Title = {Postmodern Analysis},
Year = {2005},
}
The problem isn't with the cross-reference or so, it does its job. The thing is for example that Ó Searcóid,Mícheál is shown without all the accented letters. I know that I can change every special character, for example Jürgen
to J"{u}rgen
as well as for the others, but I had no problem before (working linearly). Is there something that am I missing?
Thanks in advance.
bibliographies accents subfiles
add a comment |
up vote
1
down vote
favorite
I've been trying to find the source of problem without success, It keeps coming.
I'm trying to move from writing linear to modular, since the notes are getting bigger, so I'm using the subfile
package. And since this, everything went wrong with the bibliography because all the special characters of the .bib
aren't shown, I keep getting the Finished with exit code 1. Whereas working linearly it didn't happen. Even though the preamble is the same for both.
The main.tex
looks like this
documentclass{article}
usepackage[utf8]{inputenc}
usepackage[activeacute,spanish]{babel} %Since I'm writing in spanish I need it!
usepackage[T1]{fontenc} %Even using this, It didn't work
usepackage{subfiles} %To work modular
usepackage{amsmath, amsthm, amssymb, amsfonts}
usepackage{longtable,array,tabularx,booktabs,lscape}
usepackage{mathtools}
usepackage{fancyhdr}
usepackage{vmargin}
usepackage{float}
usepackage{graphicx}
usepackage{color}
usepackage{multicol}
usepackage{tcolorbox}
usepackage{accents}
usepackage{cancel}
usepackage{lmodern}
usepackage{hyperref}
setcounter{tocdepth}{2} %Since I just have subsections in the whole doc
%Just config of the table of contents
hypersetup{
colorlinks=true,
linktoc=all,
linkcolor=magenta,
}
%New Enviroments
newtheorem{Def}{{Definición}}[subsection]
newtheorem{Lema}{{Lema}}[subsection]
newtheorem{Obs}{{Observación}}[subsection]
newtheorem{Prop}{{Proposición}}[subsection]
newtheorem{Teo}{{Teorema}}[subsection]
% To work with vmargins
setpapersize{A4}
setmargins{2 cm}
{1.5cm}
{16 cm}
{23.42cm}
{15pt}
{1cm}
{1pt}
{1cm}
%Page Style
pagestyle{fancy}
lhead{bfseries Notes }
chead{}
rhead{}
lfoot{ }
rfoot{}
cfoot{thepage}
renewcommand{headrulewidth}{0.2pt}
renewcommand{footrulewidth}{0.10pt}
%NEW COMMANDS
newcommand{norm}[1]{leftlVert #1rightrVert}
newcommand{R}{mathbb{R}}
newcommand{W}{mathbb{W}}
newcommand{V}{mathbb{V}}
newcommand{N}{mathbb{N}}
newcommand{ra}{rightarrow}
newcommand{rra}{rightrightarrows}
newcommand{bb}[1]{mathbb{#1}}
newcommand{al}[1]{mathcal{#1}}
DeclarePairedDelimiterabs{lvert}{rvert}%
renewcommand{baselinestretch}{1.5}
begin{document}
sffamily
tableofcontents
newpage
subfile{Section1}
subfile{Section2}
subfile{Section3}
subfile{Section4}
subfile{Section5}
subfile{Section6}
clearpage
bibliographystyle{unsrt}
nocite{*}
bibliography{./AMBib}
end{document}
On the other hand, my .bib
document looks like this:
@book{OM,
Author = {Ó Searcóid,Mícheál},
Publisher = {Springer Verlag London Limited},
Title = {Metric Spaces},
Year = {2007}
}
@book{PM,
Author = {Pedro J. Miana },
Publisher = {Departamento de Matemáticas, Universidad de Zaragoza },
Title = {Curso de Análisis Funcional: Notas de Clase},
Year = {2006},
}
@book{PJHP,
Author = {Pedro Jose Herrero Piñeyro },
Publisher = {Universidad de Murcia},
Title = {Topología de Espacios Métricos},
Year = {2010},
}
@book{Kolmorov,
Author = {A. N. Kolmogorov , S. V. Fomin },
Publisher = {Editorial Mir},
Title = {Teoria de las ecuaciones y del análisis funcional },
Year = {1975},
}
@book{Jost,
Author = {Jürgen Jost },
Publisher = {Springer-Verlag Berlin Heidelberg},
Title = {Postmodern Analysis},
Year = {2005},
}
The problem isn't with the cross-reference or so, it does its job. The thing is for example that Ó Searcóid,Mícheál is shown without all the accented letters. I know that I can change every special character, for example Jürgen
to J"{u}rgen
as well as for the others, but I had no problem before (working linearly). Is there something that am I missing?
Thanks in advance.
bibliographies accents subfiles
Several things: You are not usingbiblatex
as your tag suggests. You are using plain old BibTeX. BibTeX officially can't really deal properly with the full range of Unicode characters - I can normally get my BibTeX to work with non-ASCII chars, but the sorting will be off. Unfortunately, your example is not really an MWE/MWEB. I don't really have time at the moment, so I can't test your code since it would require me to make up quite a few things from scratch. Help us to help you with a good MWE.
– moewe
Apr 23 at 4:58
... Your input for author names is incorrect: Several authors need to separated withand
not with a comma, see tex.stackexchange.com/q/36396/35864:Author = {A. N. Kolmogorov and S. V. Fomin},
. I don't think you really needsubfiles
'subfile
here, standardinclude
or eveninput
would probably be enough already. It also greatly helps us if you can get the.blg
file of your BibTeX run with more details errors and warnings. Thethe Finished with exit code 1.
thing is only what your editor shows.
– moewe
Apr 23 at 4:58
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I've been trying to find the source of problem without success, It keeps coming.
I'm trying to move from writing linear to modular, since the notes are getting bigger, so I'm using the subfile
package. And since this, everything went wrong with the bibliography because all the special characters of the .bib
aren't shown, I keep getting the Finished with exit code 1. Whereas working linearly it didn't happen. Even though the preamble is the same for both.
The main.tex
looks like this
documentclass{article}
usepackage[utf8]{inputenc}
usepackage[activeacute,spanish]{babel} %Since I'm writing in spanish I need it!
usepackage[T1]{fontenc} %Even using this, It didn't work
usepackage{subfiles} %To work modular
usepackage{amsmath, amsthm, amssymb, amsfonts}
usepackage{longtable,array,tabularx,booktabs,lscape}
usepackage{mathtools}
usepackage{fancyhdr}
usepackage{vmargin}
usepackage{float}
usepackage{graphicx}
usepackage{color}
usepackage{multicol}
usepackage{tcolorbox}
usepackage{accents}
usepackage{cancel}
usepackage{lmodern}
usepackage{hyperref}
setcounter{tocdepth}{2} %Since I just have subsections in the whole doc
%Just config of the table of contents
hypersetup{
colorlinks=true,
linktoc=all,
linkcolor=magenta,
}
%New Enviroments
newtheorem{Def}{{Definición}}[subsection]
newtheorem{Lema}{{Lema}}[subsection]
newtheorem{Obs}{{Observación}}[subsection]
newtheorem{Prop}{{Proposición}}[subsection]
newtheorem{Teo}{{Teorema}}[subsection]
% To work with vmargins
setpapersize{A4}
setmargins{2 cm}
{1.5cm}
{16 cm}
{23.42cm}
{15pt}
{1cm}
{1pt}
{1cm}
%Page Style
pagestyle{fancy}
lhead{bfseries Notes }
chead{}
rhead{}
lfoot{ }
rfoot{}
cfoot{thepage}
renewcommand{headrulewidth}{0.2pt}
renewcommand{footrulewidth}{0.10pt}
%NEW COMMANDS
newcommand{norm}[1]{leftlVert #1rightrVert}
newcommand{R}{mathbb{R}}
newcommand{W}{mathbb{W}}
newcommand{V}{mathbb{V}}
newcommand{N}{mathbb{N}}
newcommand{ra}{rightarrow}
newcommand{rra}{rightrightarrows}
newcommand{bb}[1]{mathbb{#1}}
newcommand{al}[1]{mathcal{#1}}
DeclarePairedDelimiterabs{lvert}{rvert}%
renewcommand{baselinestretch}{1.5}
begin{document}
sffamily
tableofcontents
newpage
subfile{Section1}
subfile{Section2}
subfile{Section3}
subfile{Section4}
subfile{Section5}
subfile{Section6}
clearpage
bibliographystyle{unsrt}
nocite{*}
bibliography{./AMBib}
end{document}
On the other hand, my .bib
document looks like this:
@book{OM,
Author = {Ó Searcóid,Mícheál},
Publisher = {Springer Verlag London Limited},
Title = {Metric Spaces},
Year = {2007}
}
@book{PM,
Author = {Pedro J. Miana },
Publisher = {Departamento de Matemáticas, Universidad de Zaragoza },
Title = {Curso de Análisis Funcional: Notas de Clase},
Year = {2006},
}
@book{PJHP,
Author = {Pedro Jose Herrero Piñeyro },
Publisher = {Universidad de Murcia},
Title = {Topología de Espacios Métricos},
Year = {2010},
}
@book{Kolmorov,
Author = {A. N. Kolmogorov , S. V. Fomin },
Publisher = {Editorial Mir},
Title = {Teoria de las ecuaciones y del análisis funcional },
Year = {1975},
}
@book{Jost,
Author = {Jürgen Jost },
Publisher = {Springer-Verlag Berlin Heidelberg},
Title = {Postmodern Analysis},
Year = {2005},
}
The problem isn't with the cross-reference or so, it does its job. The thing is for example that Ó Searcóid,Mícheál is shown without all the accented letters. I know that I can change every special character, for example Jürgen
to J"{u}rgen
as well as for the others, but I had no problem before (working linearly). Is there something that am I missing?
Thanks in advance.
bibliographies accents subfiles
I've been trying to find the source of problem without success, It keeps coming.
I'm trying to move from writing linear to modular, since the notes are getting bigger, so I'm using the subfile
package. And since this, everything went wrong with the bibliography because all the special characters of the .bib
aren't shown, I keep getting the Finished with exit code 1. Whereas working linearly it didn't happen. Even though the preamble is the same for both.
The main.tex
looks like this
documentclass{article}
usepackage[utf8]{inputenc}
usepackage[activeacute,spanish]{babel} %Since I'm writing in spanish I need it!
usepackage[T1]{fontenc} %Even using this, It didn't work
usepackage{subfiles} %To work modular
usepackage{amsmath, amsthm, amssymb, amsfonts}
usepackage{longtable,array,tabularx,booktabs,lscape}
usepackage{mathtools}
usepackage{fancyhdr}
usepackage{vmargin}
usepackage{float}
usepackage{graphicx}
usepackage{color}
usepackage{multicol}
usepackage{tcolorbox}
usepackage{accents}
usepackage{cancel}
usepackage{lmodern}
usepackage{hyperref}
setcounter{tocdepth}{2} %Since I just have subsections in the whole doc
%Just config of the table of contents
hypersetup{
colorlinks=true,
linktoc=all,
linkcolor=magenta,
}
%New Enviroments
newtheorem{Def}{{Definición}}[subsection]
newtheorem{Lema}{{Lema}}[subsection]
newtheorem{Obs}{{Observación}}[subsection]
newtheorem{Prop}{{Proposición}}[subsection]
newtheorem{Teo}{{Teorema}}[subsection]
% To work with vmargins
setpapersize{A4}
setmargins{2 cm}
{1.5cm}
{16 cm}
{23.42cm}
{15pt}
{1cm}
{1pt}
{1cm}
%Page Style
pagestyle{fancy}
lhead{bfseries Notes }
chead{}
rhead{}
lfoot{ }
rfoot{}
cfoot{thepage}
renewcommand{headrulewidth}{0.2pt}
renewcommand{footrulewidth}{0.10pt}
%NEW COMMANDS
newcommand{norm}[1]{leftlVert #1rightrVert}
newcommand{R}{mathbb{R}}
newcommand{W}{mathbb{W}}
newcommand{V}{mathbb{V}}
newcommand{N}{mathbb{N}}
newcommand{ra}{rightarrow}
newcommand{rra}{rightrightarrows}
newcommand{bb}[1]{mathbb{#1}}
newcommand{al}[1]{mathcal{#1}}
DeclarePairedDelimiterabs{lvert}{rvert}%
renewcommand{baselinestretch}{1.5}
begin{document}
sffamily
tableofcontents
newpage
subfile{Section1}
subfile{Section2}
subfile{Section3}
subfile{Section4}
subfile{Section5}
subfile{Section6}
clearpage
bibliographystyle{unsrt}
nocite{*}
bibliography{./AMBib}
end{document}
On the other hand, my .bib
document looks like this:
@book{OM,
Author = {Ó Searcóid,Mícheál},
Publisher = {Springer Verlag London Limited},
Title = {Metric Spaces},
Year = {2007}
}
@book{PM,
Author = {Pedro J. Miana },
Publisher = {Departamento de Matemáticas, Universidad de Zaragoza },
Title = {Curso de Análisis Funcional: Notas de Clase},
Year = {2006},
}
@book{PJHP,
Author = {Pedro Jose Herrero Piñeyro },
Publisher = {Universidad de Murcia},
Title = {Topología de Espacios Métricos},
Year = {2010},
}
@book{Kolmorov,
Author = {A. N. Kolmogorov , S. V. Fomin },
Publisher = {Editorial Mir},
Title = {Teoria de las ecuaciones y del análisis funcional },
Year = {1975},
}
@book{Jost,
Author = {Jürgen Jost },
Publisher = {Springer-Verlag Berlin Heidelberg},
Title = {Postmodern Analysis},
Year = {2005},
}
The problem isn't with the cross-reference or so, it does its job. The thing is for example that Ó Searcóid,Mícheál is shown without all the accented letters. I know that I can change every special character, for example Jürgen
to J"{u}rgen
as well as for the others, but I had no problem before (working linearly). Is there something that am I missing?
Thanks in advance.
bibliographies accents subfiles
bibliographies accents subfiles
edited Nov 21 at 17:34
Kurt
34.1k846156
34.1k846156
asked Apr 23 at 2:09
Lilian Hernández
111
111
Several things: You are not usingbiblatex
as your tag suggests. You are using plain old BibTeX. BibTeX officially can't really deal properly with the full range of Unicode characters - I can normally get my BibTeX to work with non-ASCII chars, but the sorting will be off. Unfortunately, your example is not really an MWE/MWEB. I don't really have time at the moment, so I can't test your code since it would require me to make up quite a few things from scratch. Help us to help you with a good MWE.
– moewe
Apr 23 at 4:58
... Your input for author names is incorrect: Several authors need to separated withand
not with a comma, see tex.stackexchange.com/q/36396/35864:Author = {A. N. Kolmogorov and S. V. Fomin},
. I don't think you really needsubfiles
'subfile
here, standardinclude
or eveninput
would probably be enough already. It also greatly helps us if you can get the.blg
file of your BibTeX run with more details errors and warnings. Thethe Finished with exit code 1.
thing is only what your editor shows.
– moewe
Apr 23 at 4:58
add a comment |
Several things: You are not usingbiblatex
as your tag suggests. You are using plain old BibTeX. BibTeX officially can't really deal properly with the full range of Unicode characters - I can normally get my BibTeX to work with non-ASCII chars, but the sorting will be off. Unfortunately, your example is not really an MWE/MWEB. I don't really have time at the moment, so I can't test your code since it would require me to make up quite a few things from scratch. Help us to help you with a good MWE.
– moewe
Apr 23 at 4:58
... Your input for author names is incorrect: Several authors need to separated withand
not with a comma, see tex.stackexchange.com/q/36396/35864:Author = {A. N. Kolmogorov and S. V. Fomin},
. I don't think you really needsubfiles
'subfile
here, standardinclude
or eveninput
would probably be enough already. It also greatly helps us if you can get the.blg
file of your BibTeX run with more details errors and warnings. Thethe Finished with exit code 1.
thing is only what your editor shows.
– moewe
Apr 23 at 4:58
Several things: You are not using
biblatex
as your tag suggests. You are using plain old BibTeX. BibTeX officially can't really deal properly with the full range of Unicode characters - I can normally get my BibTeX to work with non-ASCII chars, but the sorting will be off. Unfortunately, your example is not really an MWE/MWEB. I don't really have time at the moment, so I can't test your code since it would require me to make up quite a few things from scratch. Help us to help you with a good MWE.– moewe
Apr 23 at 4:58
Several things: You are not using
biblatex
as your tag suggests. You are using plain old BibTeX. BibTeX officially can't really deal properly with the full range of Unicode characters - I can normally get my BibTeX to work with non-ASCII chars, but the sorting will be off. Unfortunately, your example is not really an MWE/MWEB. I don't really have time at the moment, so I can't test your code since it would require me to make up quite a few things from scratch. Help us to help you with a good MWE.– moewe
Apr 23 at 4:58
... Your input for author names is incorrect: Several authors need to separated with
and
not with a comma, see tex.stackexchange.com/q/36396/35864: Author = {A. N. Kolmogorov and S. V. Fomin},
. I don't think you really need subfiles
' subfile
here, standard include
or even input
would probably be enough already. It also greatly helps us if you can get the .blg
file of your BibTeX run with more details errors and warnings. The the Finished with exit code 1.
thing is only what your editor shows.– moewe
Apr 23 at 4:58
... Your input for author names is incorrect: Several authors need to separated with
and
not with a comma, see tex.stackexchange.com/q/36396/35864: Author = {A. N. Kolmogorov and S. V. Fomin},
. I don't think you really need subfiles
' subfile
here, standard include
or even input
would probably be enough already. It also greatly helps us if you can get the .blg
file of your BibTeX run with more details errors and warnings. The the Finished with exit code 1.
thing is only what your editor shows.– moewe
Apr 23 at 4:58
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
In your case the best would be to use biblatex
and biber
instead of bibtex
. Then you can write letters with accents in your bib
file which will be printed too.
Please see that you have to write two or more authors like this:
@book{Kolmorov,
Author = {A. N. Kolmogorov and S. V. Fomin },
To concatenate two or more authors use and
instead of your used ,
!
To call biblatex
and name the used bib file (here jobname.bib
, because I used package filecontents
to have bib file and TeX code together in one compiling MWE) use
usepackage{csquotes}
usepackage[backend=biber]{biblatex} % <================================
addbibresource{jobname.bib}
Please see that option backend=biber
requires biber
instead bibtex
.
To print the bibliography in the document use printbibliography
.
Please read the documentation of biblatex
(texdoc biblatex
) to customize it at your needs ...
With the following MWE (I deleted all packages not relevant for this problem)
RequirePackage{filecontents}
begin{filecontents*}{jobname.bib}
@book{OM,
Author = {Ó Searcóid, Mícheál},
Publisher = {Springer Verlag London Limited},
Title = {Metric Spaces},
Year = {2007},
}
@book{PM,
Author = {Pedro J. Miana },
Publisher = {Departamento de Matemáticas, Universidad de Zaragoza },
Title = {Curso de Análisis Funcional: Notas de Clase},
Year = {2006},
}
@book{PJHP,
Author = {Pedro Jose Herrero Piñeyro },
Publisher = {Universidad de Murcia},
Title = {Topología de Espacios Métricos},
Year = {2010},
}
@book{Kolmorov,
Author = {A. N. Kolmogorov and S. V. Fomin },
Publisher = {Editorial Mir},
Title = {Teoria de las ecuaciones y del análisis funcional },
Year = {1975},
}
@book{Jost,
Author = {Jürgen Jost },
Publisher = {Springer-Verlag Berlin Heidelberg},
Title = {Postmodern Analysis},
Year = {2005},
}
end{filecontents*}
documentclass{article}
usepackage[utf8]{inputenc}
usepackage[activeacute,spanish]{babel} %Since I'm writing in spanish I need it!
usepackage[T1]{fontenc} %Even using this, It didn't work
usepackage{csquotes}
usepackage[backend=biber]{biblatex} % <================================
addbibresource{jobname.bib}
%usepackage{vmargin} % outdated
usepackage[a4paper]{geometry}
usepackage{accents}
usepackage{lmodern}
usepackage{hyperref}
setcounter{tocdepth}{2} %Since I just have subsections in the whole doc
%Just config of the table of contents
hypersetup{
colorlinks=true,
linktoc=all,
linkcolor=magenta,
}
% To work with vmargins
%setpapersize{A4}
%setmargins{2 cm}
%{1.5cm}
%{16 cm}
%{23.42cm}
%{15pt}
%{1cm}
%{1pt}
%{1cm}
begin{document}
sffamily
nocite{*}
%bibliographystyle{unsrt}
%bibliography{jobname}
printbibliography
end{document}
you get the following result:
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
In your case the best would be to use biblatex
and biber
instead of bibtex
. Then you can write letters with accents in your bib
file which will be printed too.
Please see that you have to write two or more authors like this:
@book{Kolmorov,
Author = {A. N. Kolmogorov and S. V. Fomin },
To concatenate two or more authors use and
instead of your used ,
!
To call biblatex
and name the used bib file (here jobname.bib
, because I used package filecontents
to have bib file and TeX code together in one compiling MWE) use
usepackage{csquotes}
usepackage[backend=biber]{biblatex} % <================================
addbibresource{jobname.bib}
Please see that option backend=biber
requires biber
instead bibtex
.
To print the bibliography in the document use printbibliography
.
Please read the documentation of biblatex
(texdoc biblatex
) to customize it at your needs ...
With the following MWE (I deleted all packages not relevant for this problem)
RequirePackage{filecontents}
begin{filecontents*}{jobname.bib}
@book{OM,
Author = {Ó Searcóid, Mícheál},
Publisher = {Springer Verlag London Limited},
Title = {Metric Spaces},
Year = {2007},
}
@book{PM,
Author = {Pedro J. Miana },
Publisher = {Departamento de Matemáticas, Universidad de Zaragoza },
Title = {Curso de Análisis Funcional: Notas de Clase},
Year = {2006},
}
@book{PJHP,
Author = {Pedro Jose Herrero Piñeyro },
Publisher = {Universidad de Murcia},
Title = {Topología de Espacios Métricos},
Year = {2010},
}
@book{Kolmorov,
Author = {A. N. Kolmogorov and S. V. Fomin },
Publisher = {Editorial Mir},
Title = {Teoria de las ecuaciones y del análisis funcional },
Year = {1975},
}
@book{Jost,
Author = {Jürgen Jost },
Publisher = {Springer-Verlag Berlin Heidelberg},
Title = {Postmodern Analysis},
Year = {2005},
}
end{filecontents*}
documentclass{article}
usepackage[utf8]{inputenc}
usepackage[activeacute,spanish]{babel} %Since I'm writing in spanish I need it!
usepackage[T1]{fontenc} %Even using this, It didn't work
usepackage{csquotes}
usepackage[backend=biber]{biblatex} % <================================
addbibresource{jobname.bib}
%usepackage{vmargin} % outdated
usepackage[a4paper]{geometry}
usepackage{accents}
usepackage{lmodern}
usepackage{hyperref}
setcounter{tocdepth}{2} %Since I just have subsections in the whole doc
%Just config of the table of contents
hypersetup{
colorlinks=true,
linktoc=all,
linkcolor=magenta,
}
% To work with vmargins
%setpapersize{A4}
%setmargins{2 cm}
%{1.5cm}
%{16 cm}
%{23.42cm}
%{15pt}
%{1cm}
%{1pt}
%{1cm}
begin{document}
sffamily
nocite{*}
%bibliographystyle{unsrt}
%bibliography{jobname}
printbibliography
end{document}
you get the following result:
add a comment |
up vote
0
down vote
In your case the best would be to use biblatex
and biber
instead of bibtex
. Then you can write letters with accents in your bib
file which will be printed too.
Please see that you have to write two or more authors like this:
@book{Kolmorov,
Author = {A. N. Kolmogorov and S. V. Fomin },
To concatenate two or more authors use and
instead of your used ,
!
To call biblatex
and name the used bib file (here jobname.bib
, because I used package filecontents
to have bib file and TeX code together in one compiling MWE) use
usepackage{csquotes}
usepackage[backend=biber]{biblatex} % <================================
addbibresource{jobname.bib}
Please see that option backend=biber
requires biber
instead bibtex
.
To print the bibliography in the document use printbibliography
.
Please read the documentation of biblatex
(texdoc biblatex
) to customize it at your needs ...
With the following MWE (I deleted all packages not relevant for this problem)
RequirePackage{filecontents}
begin{filecontents*}{jobname.bib}
@book{OM,
Author = {Ó Searcóid, Mícheál},
Publisher = {Springer Verlag London Limited},
Title = {Metric Spaces},
Year = {2007},
}
@book{PM,
Author = {Pedro J. Miana },
Publisher = {Departamento de Matemáticas, Universidad de Zaragoza },
Title = {Curso de Análisis Funcional: Notas de Clase},
Year = {2006},
}
@book{PJHP,
Author = {Pedro Jose Herrero Piñeyro },
Publisher = {Universidad de Murcia},
Title = {Topología de Espacios Métricos},
Year = {2010},
}
@book{Kolmorov,
Author = {A. N. Kolmogorov and S. V. Fomin },
Publisher = {Editorial Mir},
Title = {Teoria de las ecuaciones y del análisis funcional },
Year = {1975},
}
@book{Jost,
Author = {Jürgen Jost },
Publisher = {Springer-Verlag Berlin Heidelberg},
Title = {Postmodern Analysis},
Year = {2005},
}
end{filecontents*}
documentclass{article}
usepackage[utf8]{inputenc}
usepackage[activeacute,spanish]{babel} %Since I'm writing in spanish I need it!
usepackage[T1]{fontenc} %Even using this, It didn't work
usepackage{csquotes}
usepackage[backend=biber]{biblatex} % <================================
addbibresource{jobname.bib}
%usepackage{vmargin} % outdated
usepackage[a4paper]{geometry}
usepackage{accents}
usepackage{lmodern}
usepackage{hyperref}
setcounter{tocdepth}{2} %Since I just have subsections in the whole doc
%Just config of the table of contents
hypersetup{
colorlinks=true,
linktoc=all,
linkcolor=magenta,
}
% To work with vmargins
%setpapersize{A4}
%setmargins{2 cm}
%{1.5cm}
%{16 cm}
%{23.42cm}
%{15pt}
%{1cm}
%{1pt}
%{1cm}
begin{document}
sffamily
nocite{*}
%bibliographystyle{unsrt}
%bibliography{jobname}
printbibliography
end{document}
you get the following result:
add a comment |
up vote
0
down vote
up vote
0
down vote
In your case the best would be to use biblatex
and biber
instead of bibtex
. Then you can write letters with accents in your bib
file which will be printed too.
Please see that you have to write two or more authors like this:
@book{Kolmorov,
Author = {A. N. Kolmogorov and S. V. Fomin },
To concatenate two or more authors use and
instead of your used ,
!
To call biblatex
and name the used bib file (here jobname.bib
, because I used package filecontents
to have bib file and TeX code together in one compiling MWE) use
usepackage{csquotes}
usepackage[backend=biber]{biblatex} % <================================
addbibresource{jobname.bib}
Please see that option backend=biber
requires biber
instead bibtex
.
To print the bibliography in the document use printbibliography
.
Please read the documentation of biblatex
(texdoc biblatex
) to customize it at your needs ...
With the following MWE (I deleted all packages not relevant for this problem)
RequirePackage{filecontents}
begin{filecontents*}{jobname.bib}
@book{OM,
Author = {Ó Searcóid, Mícheál},
Publisher = {Springer Verlag London Limited},
Title = {Metric Spaces},
Year = {2007},
}
@book{PM,
Author = {Pedro J. Miana },
Publisher = {Departamento de Matemáticas, Universidad de Zaragoza },
Title = {Curso de Análisis Funcional: Notas de Clase},
Year = {2006},
}
@book{PJHP,
Author = {Pedro Jose Herrero Piñeyro },
Publisher = {Universidad de Murcia},
Title = {Topología de Espacios Métricos},
Year = {2010},
}
@book{Kolmorov,
Author = {A. N. Kolmogorov and S. V. Fomin },
Publisher = {Editorial Mir},
Title = {Teoria de las ecuaciones y del análisis funcional },
Year = {1975},
}
@book{Jost,
Author = {Jürgen Jost },
Publisher = {Springer-Verlag Berlin Heidelberg},
Title = {Postmodern Analysis},
Year = {2005},
}
end{filecontents*}
documentclass{article}
usepackage[utf8]{inputenc}
usepackage[activeacute,spanish]{babel} %Since I'm writing in spanish I need it!
usepackage[T1]{fontenc} %Even using this, It didn't work
usepackage{csquotes}
usepackage[backend=biber]{biblatex} % <================================
addbibresource{jobname.bib}
%usepackage{vmargin} % outdated
usepackage[a4paper]{geometry}
usepackage{accents}
usepackage{lmodern}
usepackage{hyperref}
setcounter{tocdepth}{2} %Since I just have subsections in the whole doc
%Just config of the table of contents
hypersetup{
colorlinks=true,
linktoc=all,
linkcolor=magenta,
}
% To work with vmargins
%setpapersize{A4}
%setmargins{2 cm}
%{1.5cm}
%{16 cm}
%{23.42cm}
%{15pt}
%{1cm}
%{1pt}
%{1cm}
begin{document}
sffamily
nocite{*}
%bibliographystyle{unsrt}
%bibliography{jobname}
printbibliography
end{document}
you get the following result:
In your case the best would be to use biblatex
and biber
instead of bibtex
. Then you can write letters with accents in your bib
file which will be printed too.
Please see that you have to write two or more authors like this:
@book{Kolmorov,
Author = {A. N. Kolmogorov and S. V. Fomin },
To concatenate two or more authors use and
instead of your used ,
!
To call biblatex
and name the used bib file (here jobname.bib
, because I used package filecontents
to have bib file and TeX code together in one compiling MWE) use
usepackage{csquotes}
usepackage[backend=biber]{biblatex} % <================================
addbibresource{jobname.bib}
Please see that option backend=biber
requires biber
instead bibtex
.
To print the bibliography in the document use printbibliography
.
Please read the documentation of biblatex
(texdoc biblatex
) to customize it at your needs ...
With the following MWE (I deleted all packages not relevant for this problem)
RequirePackage{filecontents}
begin{filecontents*}{jobname.bib}
@book{OM,
Author = {Ó Searcóid, Mícheál},
Publisher = {Springer Verlag London Limited},
Title = {Metric Spaces},
Year = {2007},
}
@book{PM,
Author = {Pedro J. Miana },
Publisher = {Departamento de Matemáticas, Universidad de Zaragoza },
Title = {Curso de Análisis Funcional: Notas de Clase},
Year = {2006},
}
@book{PJHP,
Author = {Pedro Jose Herrero Piñeyro },
Publisher = {Universidad de Murcia},
Title = {Topología de Espacios Métricos},
Year = {2010},
}
@book{Kolmorov,
Author = {A. N. Kolmogorov and S. V. Fomin },
Publisher = {Editorial Mir},
Title = {Teoria de las ecuaciones y del análisis funcional },
Year = {1975},
}
@book{Jost,
Author = {Jürgen Jost },
Publisher = {Springer-Verlag Berlin Heidelberg},
Title = {Postmodern Analysis},
Year = {2005},
}
end{filecontents*}
documentclass{article}
usepackage[utf8]{inputenc}
usepackage[activeacute,spanish]{babel} %Since I'm writing in spanish I need it!
usepackage[T1]{fontenc} %Even using this, It didn't work
usepackage{csquotes}
usepackage[backend=biber]{biblatex} % <================================
addbibresource{jobname.bib}
%usepackage{vmargin} % outdated
usepackage[a4paper]{geometry}
usepackage{accents}
usepackage{lmodern}
usepackage{hyperref}
setcounter{tocdepth}{2} %Since I just have subsections in the whole doc
%Just config of the table of contents
hypersetup{
colorlinks=true,
linktoc=all,
linkcolor=magenta,
}
% To work with vmargins
%setpapersize{A4}
%setmargins{2 cm}
%{1.5cm}
%{16 cm}
%{23.42cm}
%{15pt}
%{1cm}
%{1pt}
%{1cm}
begin{document}
sffamily
nocite{*}
%bibliographystyle{unsrt}
%bibliography{jobname}
printbibliography
end{document}
you get the following result:
answered Nov 2 at 2:04
Kurt
34.1k846156
34.1k846156
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f428005%2fproblem-with-accents-in-bib-file%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Several things: You are not using
biblatex
as your tag suggests. You are using plain old BibTeX. BibTeX officially can't really deal properly with the full range of Unicode characters - I can normally get my BibTeX to work with non-ASCII chars, but the sorting will be off. Unfortunately, your example is not really an MWE/MWEB. I don't really have time at the moment, so I can't test your code since it would require me to make up quite a few things from scratch. Help us to help you with a good MWE.– moewe
Apr 23 at 4:58
... Your input for author names is incorrect: Several authors need to separated with
and
not with a comma, see tex.stackexchange.com/q/36396/35864:Author = {A. N. Kolmogorov and S. V. Fomin},
. I don't think you really needsubfiles
'subfile
here, standardinclude
or eveninput
would probably be enough already. It also greatly helps us if you can get the.blg
file of your BibTeX run with more details errors and warnings. Thethe Finished with exit code 1.
thing is only what your editor shows.– moewe
Apr 23 at 4:58