Hi, Modern solution consists in coding your text files in Unicode (utf-8). It means no more backslashed characters but directly “Ekstrøm”. You can compile with XeTeX. For example, if you use TeXworks or affiliated software, you can include these headers lines on top of your text: % These lines tell TeXworks to typeset with xelatex, and to open and % save the source with Unicode encoding. % !TEX program = xelatex % !TEX encoding = UTF-8 Unicode \documentclass[11pt,a4paper]{article} \usepackage{fontspec} % for xetex and luatex engines
If you use Emacs, you have to put your Local Variables at the very bottom of your text, here are mine: \end{document} % % These lines tells gnu-emacs to typeset with the xetex engine % which requires Unicode encoding only (utf-8) % ^c^t^s for toggling synctex. % ^-Shift-Click to move from pdf to source, Command-Shift-Click on OSX %%% Local Variables: %%% TeX-engine: xetex %%% TeX-source-correlate-method-active: synctex %%% ispell-local-dictionary: "francais" %%% coding: utf-8 %%% End: With such local variables, the appropriate TeX-engine (xetex) and the appropriate LaTeX format (xelatex) will be used (ctrl_c ctrl_c with AucTeX for example). BiBTeX is working as well. Unfortunately, for scientific publications, publishers are most of times requesting the use of pdflatex and conversion from Unicode is done by using: \usepackage[utf8x]{inputenc} %for pdftex engine and unicode characters The fontspec package line should then be commented. On the bibtex side, your bib file should also be encoded in unicode, too: % This file was created with JabRef 2.8b. % Encoding: UTF8 @ARTICLE(Ekstrom, AUTHOR = "Author w", TITLE = "{Ekstrøm title}", JOURNAL = "Ekstr{\o}m Journal", YEAR = 1965, note = {Working with pdflatex} ) @ARTICLE(Ekstrøm, AUTHOR = "Author Ekstr{\o}m", TITLE = "{Ekstrøm title}", JOURNAL = "Ekstrøm Journal", YEAR = "1965", note = {Not working with pdflatex but with xelatex} ) @ARTICLE(Ekstr{\o}m, AUTHOR = "Author Ekstr{\o}m backslash", TITLE = "{Ekstrøm title}", JOURNAL = "Ekstrøm Journal", YEAR = "1965" note = {Not working with pdflatex neither xelatex} ) As you can read in the above notes of each case, any of the unicoded of backslashed form will work and with xelatex you can write \cite{Ekstrøm} but with pdlatex you need to write in ASCII \cite{Ekstrom} otherwise you get a compilation error. \cite{Ekstr\{o}m} doesn't work neither with pdflatex or xelatex. The advantage of xelatex in scientific publications could be that you could quote original languages or scripts like greek or braille. I hope that I am correct and that it will help you. Ekstr{\o}m or Ekstr\o{}m instead of Ekstr\om was probably your only need! Regards, Nicolas > Le 1 sept. 2015 à 01:08, Peter Geelan-Small > <peter.geelan-sm...@sydney.edu.au> a écrit : > > Hello, Jabref users. > > I know this has been discussed but I can’t find the answer in the archives. I > have an author with surname Ekstr\om (i.e. with forward slash through the o). > I cannot get that character to come out properly in my LaTeX document. Both > Ekstr\om and Ekstr{\o}m generate errors. Could someone please tell me how > this can be done? > > Regards, > > Peter > ------------------------------------------------------------------------------ > _______________________________________________ > Jabref-users mailing list > Jabref-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jabref-users
------------------------------------------------------------------------------
_______________________________________________ Jabref-users mailing list Jabref-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jabref-users