From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Markup (=, ~) in word? Date: Thu, 29 Oct 2015 21:40:51 +0100 Message-ID: <87io5p2yss.fsf@gmx.us> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44045) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zru4M-0006gF-Cw for emacs-orgmode@gnu.org; Thu, 29 Oct 2015 16:45:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zru4I-0001US-Ct for emacs-orgmode@gnu.org; Thu, 29 Oct 2015 16:45:10 -0400 Received: from plane.gmane.org ([80.91.229.3]:44014) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zru4I-0001Sw-7C for emacs-orgmode@gnu.org; Thu, 29 Oct 2015 16:45:06 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Zru4F-0001cv-98 for emacs-orgmode@gnu.org; Thu, 29 Oct 2015 21:45:03 +0100 Received: from 46.166.188.221 ([46.166.188.221]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 29 Oct 2015 21:45:03 +0100 Received: from rasmus by 46.166.188.221 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 29 Oct 2015 21:45:03 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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. 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) -- Got mashed potatoes. Ain't got no T-Bone. No T-Bone