3

Egreg about arbitrary use of outfit but using truly utf8x

The europecv class arbitrarily decided that utf8 is not a good option and uses utf8x even if the passed option is utf8, which is of course stupid.

How can you work out the arbitrary use of utf8x in Europecv? Can there be made any changes in the actual package to support utf8, instead of utf8x?

CV is about publishing and it should be in the newest century, like here. I would like also have XeLaTeX support (now only pdflatex, discussion here) for Europecv which can be implemented at the same time and stop the intrinsic loading of inputenc.

  • You can also alter the source code of the class (of course with a different name) but since there is a simple typo in the code, contacting the maintainer seems to be simplest and most practical solution. – Johannes_B Dec 15 '14 at 18:00
  • I have already sent an email to the maintainer about the future development but this is a new case about arbitrary use of utf8x. I think it is better to have this here. Please, send your ticket here for the fix of the problem if it is a simple correction so we can evaluate it. – Léo Léopold Hertz 준영 Dec 15 '14 at 18:02
  • What do you mean by 'work out the arbitrary use of utf8x in europecv' if you are not asking how to get it fixed? Are you looking for a workaround? Or...? – cfr Dec 15 '14 at 18:04
  • 1
    @Johannes_B No, it was a conscious decision by the author, who didn't want utf8 to be used, because at the time it didn't support Greek. It was a very big mistake. – egreg Dec 15 '14 at 18:06
  • @egreg Good that we have you. I tould have said it is a typo :-) – Johannes_B Dec 15 '14 at 18:12
  • @cfr Just getting this problem introduced to the authors, since Ctan have problems with correct maintainers so they do not get info about these bugs without writing it clearly that users have problems. – Léo Léopold Hertz 준영 Dec 15 '14 at 19:22
  • If the authors are on the site, which is far from guaranteed! – cfr Dec 15 '14 at 20:16
  • @cfr Naa, do not be pessimistic! I forward these discussions to the authors many times when I get good chance. There is really movement when active users make authors to work better. – Léo Léopold Hertz 준영 Dec 15 '14 at 20:38
  • In my case, part of the effect is due to the fact that somebody is actually trying to use the damn thing. Makes bothering seem more worthwhile! – cfr Dec 15 '14 at 21:28
  • @cfr Can you, please, propose an alternative for Europecv. What do you use for compiled CV? You do not need to use Europecv format like proposed by European commission. I like compiled CVs because they are autocrawled easily by employers and also make your work easier when applying work, since most fields are filled by just uploading a standard CV to their database. I am not convinced that Europecv can be the best in those standards and not necessarily so easily to be crawled by robots. – Léo Léopold Hertz 준영 Dec 17 '14 at 00:17
  • I don't think I've ever applied for a job where you could upload a CV and it would scrape information to auto-fill fields. Sounds really, really nice, but I have just never seen that. So, in my case, it doesn't really matter how I compile my CV so long as I get PDF or something which I can upload as an attachment. – cfr Dec 17 '14 at 02:04
  • @cfr I have many times :) Try the biggest pharma companies and their technological companies. Some of them can scrape about 50% of my Europecv correctly. It really matters that I follow the standards when doing my CV. Any single mistake in the blueprint causes a bad crawl. I am trying to get this scraping better now, since I am not happy with this 50%. I think solving this utf8x design mistake can lead to better extraction of data. – Léo Léopold Hertz 준영 Dec 17 '14 at 07:49

1 Answers1

3

The class europecv says

\DeclareOption{utf8}{\AtEndOfClass{\inputencoding{utf8x}}}

which is a very big mistake. At the time the class was first released, utf8 didn't support direct input with Greek, which was the main reason for using utf8x. Since some years, utf8 does support Greek, so there's no reason for keeping the option in that way.

However, for back compatibility, a new option should perhaps be added, say realutf8.

You can coerce europecv into not loading inputenc with the utf8x option with the following kludge.

% trick to fool europecv into thinking XeTeX is used
\ifdefined\Umathchar\else\let\Umathchar\relax\fi

\documentclass[helvetica,narrow]{europecv} % no utf8 option!!!

% undo the effect of the trick
\ifx\Umathchar\relax\let\Umathchar\UNDEFINED\fi

\usepackage[utf8]{inputenc}

<rest of the preamble>

The best would be persuading the author of europecv into providing a realutf8 option that loads inputenc with the utf8 option.

egreg
  • 1,121,712
  • There has been some good changes in Europecv. Some bugs which we reported to the developer has now been fixed. However, I tested this utf8 arbitrary use which still persists. They have not fixed it. – Léo Léopold Hertz 준영 May 26 '15 at 20:06