GNOME Bugzilla – Bug 304271
Accented vocals and other localized symbols aren't showed in metapost
Last modified: 2019-03-20 11:19:59 UTC
If you write some text in a DIA file with symbols: "áéíóúÁÉÍÓÚñÑ" at least, they don't appear at the exported metapost file. The correct translations may be: \'{a} for á \'{Á} for Á ... \~n for ñ \~N for Ñ If you write the LaTeX command (like \'{a}), it works perfectly, but if you export it to other format, the format "\'{a}" is showed. Thank you very much.
I'm guessing this goes for other characters too (like æåêï etc). It'd be easy to have a translation in the metapost output plugin that matches these characters and replace them with the translations, if we can just get the correct set of translations.
Just my thought: Aren't commands (\'{a} etc.) described by Miguel specific for LaTeX only? If they are, won't implementing them in metapost export broke exported files for some people that are not using LaTeX? I'm 90% sure, that these commands are implemented in LaTeX only.
Maybe we should just provide the capability to use a user modifiable translation map. It coud be as simple as having one utf8 character a space and the tex replacment on every line. Something like á \'{a} Á \'{A} ñ \~n Ñ \~N [But I even haven't to get a tex installation capable to show any Dia graphic, so don't wait on me :-]
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/dia/issues/142.