[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#760751: [okular] Okular shows "[Please insert PrerenderUnicode{??} into preamble]" in the title bar, when the title of the document contains an umlaut



Hello Stuart, *,
On Mon, Sep 08, 2014 at 04:12:04PM +1000, Stuart Prescott wrote:
> > But now to my problem. If I open an PDF file, which has an German umlaut
> > in its title, Okular will replace the umlaut with "Please insert
> > PrerenderUnicode{??} into preamble]" (e.g. if its title would be
> > "Einführung" it will become "Einf[Please insert PrerenderUnicode{??} into
> > preamble]hrung") ... :
> > 
> > Steps to reproduce:
> > 
> > 1. Download https://www.bg.bib.de/portale/dab/pdf/einf_dab.pdf
> > 2. Open it in Okular
> > 3. Look at the title bar
> > 
> > You will see "Einf[Please insert PrerenderUnicode{ü} into preamble]hrung
> > in das Fach Datenbanken" instead of "Einführung in das Fach Datenbanken"
> > ... :(
> > 
> > You could also use "File - Properties" (I hope, this is the right
> > translation. In German it is "Datei - Eigenschaften" ... ;) ), where you
> > could see its title with this "Please insert..." annotation.
> 
> This is a problem with the specific PDF that you have linked to and not with 
> okular. What you see in the title bar there is quite literally what is set 
> as the title for that PDF in the document metadata:
> 
> $ pdfinfo einf_dab.pdf 
> [...]
> Keywords:       Datenbanken, Einf[Please insert PrerenderUnicode{ü} into 
> preamble]hrung, Motivation

thank you for your information :)

> The producer of this pdf (pdfeTeX-1.21a by the looks of it) needs to be 
> configured to correctly handle non-ASCII characters in the PDF metadata. If 
> you had the latex source available, you'd be able to fix this by 

I am afraid not ... :(

> regenerating the PDF... The solution is to either tell pdflatex that the 
> input file is encoded in UTF-8 (for example \usepackage[utf8]{inputenc}) or 
> to help pdflatex understand how to deal with this character (add 
> \PrerenderUnicode{ü} to the preamble.)

O.K. I will try to ask someone from bib, if it is possible to fix this.
Thanks again for your answer and have a nice evening
Thomas.

-- 
Operator, please trace this call and tell me where I am.


Reply to: