reddit / emacs

Org-export fails with guillemets

Jak_from_Venice · 2022-05-05 14:23
I use org-mode to write novels and short stories, but I have a problem with exporting. When I use the emphasis near a guillemets, such as `and the he said: «/That/ is not a banana` In this case, the begin of the emphasis is after the word “that”, not at its begin. I remember I was able to fix it a while ago adding guillemets on a configuration string, but I forgot its name and location. Thank you
yantar92 · 2022-05-15 02:55
You can insert a zero-width space in front of the first / See https://orgmode.org/manual/Escape-Character.html#Escape-Character
Jak_from_Venice · 2022-05-15 08:31
Possible, but not really a solution: it forces me to concentrate on presentation rather than content, like XML/HTML. It should be a string in org that defines separator: my need is to know how to set it
yantar92 · 2022-05-15 08:43
There is also `org-emphasize` to do the necessary work for you automatically. As for alternative separator, it is a no-go unfortunately. External packages often rely on standard separators.