Rasmus writes: > Rainer M Krug writes: > >> Hi >> >> I guess this is not possible (and has been asked before, but I can't >> find it t the moment...)- but how can I export the following markup? >> >> simASM.=SITE=.=STRATEGY=.=BUDGET=.=FIREREGIME=.=JOBID=.=ARRAYID= >> >> >> Export will be mainly LaTeX, but maybe also html. > > You could separate with ZERO WIDTH SPACE. AFAIR, this requires > (xe/lua)latex, though. In org-mode-git, you can set #+latex_command. You > can also remove the zero width spaces with a filter. Looks interesting - thanks. For the moment, I'll jut use spaces and in the final version, I'll consider all these options. Thanks lot, Rainer > > E.g. > > (defcustom rasmus/org-latex-unicode-to-tex '((" " "~") > (" " "\\,") > ("​" "")) > "list of re rep pairs which are replaced during latex export") > > (defun rasmus/org-latex-unicode-to-tex (text backend info) > "Replace unicode strings with their TeX equivalents. > > Currently: ' ' (no break space) to '~' > ' ' (thin space) to '\,' > '​' (zero width space) to ''." > (when (org-export-derived-backend-p backend 'latex) > (cl-loop for (re rep) in rasmus/org-latex-unicode-to-tex do > (setq text (replace-regexp-in-string re rep text t t))) > text)) > > (add-to-list 'org-export-filter-final-output-functions > 'rasmus/org-latex-unicode-to-tex) -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug PGP: 0x0F52F982