From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Klein Subject: exporting, too, was: Re: multiline emphasis, was: Re: latex italics in list, with quotation marks Date: Fri, 15 Mar 2013 13:49:27 +0100 Message-ID: <514318D7.8050400@mpip-mainz.mpg.de> References: <87ppza17lp.fsf@gmail.com> <514190B9.9080301@mpip-mainz.mpg.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:54339) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGU4m-0005Mu-Rm for emacs-orgmode@gnu.org; Fri, 15 Mar 2013 08:49:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UGU4j-0003Wj-C6 for emacs-orgmode@gnu.org; Fri, 15 Mar 2013 08:49:36 -0400 Received: from gate1.mpip-mainz.mpg.de ([194.95.63.248]:27709) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGU4j-0003Ua-2W for emacs-orgmode@gnu.org; Fri, 15 Mar 2013 08:49:33 -0400 Received: from [10.20.2.71] (port=46183 helo=vmmail1.mpip-mainz.mpg.de) by gate1.mpip-mainz.mpg.de with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1UGU4e-0000I3-1N for emacs-orgmode@gnu.org; Fri, 15 Mar 2013 13:49:28 +0100 Received: from p54a37359.dip.t-dialin.net ([84.163.115.89] helo=[192.168.254.115]) by vmmail1.mpip-mainz.mpg.de with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.72) (envelope-from ) id 1UGU4Z-00068W-TY for emacs-orgmode@gnu.org; Fri, 15 Mar 2013 13:49:24 +0100 In-Reply-To: <514190B9.9080301@mpip-mainz.mpg.de> 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 On 03/14/2013 09:56 AM, Robert Klein wrote: > On 03/08/2013 11:58 AM, Myles English wrote: >> >> Hi, >> >> Just wondering if there is a better way to italicise across more than two lines >> for a list item, currently this is the only way that works for me: >> >> - on the assumption of equilibrium: /``even if there is equilibrium at >> the pore sale, the upscaling, in this/ /if there is equilibrium at >> blah the equilibrium/'' >> >> Thanks, >> >> Myles >> >> > > The same happens outside of lists. I set > > (setq org-emphasis-regexp-components > '(" \t('\"{" "- \t.,:!?;'\")}\\" " \t\r\n,\"'" "." 10)) > > which ought to increase the number of lines I can span an emphasis (only > change is the original 1 at the end to 10). Doesn't work though, atm. > My org-version is release_8.0-pre-67-gd3361c. > Hi, when exporting multiline emphasis doesn't work, too (org-version: release_8.0-pre-79-g791ebc). I tried a little example file: #+begin_src org # -*- fill-column:75; coding: utf-8; -*- #+TITLE: test file This is a small /little text to get some text spanning over more than three lines, so i can try to emphasize more than two lines/ in my example. #+end_src When I export this to LaTeX buffer (C-c C-e l L) or HTML buffer (C-c C-e h H) org simply exports the slashes verbatim: #+begin_example ;; excerpt of LaTeX export \begin{document} \maketitle \tableofcontents This is a small /little text to get some text spanning over more than three lines, so i can try to emphasize morethan two lines/ in my example. % Generated by Org mode 8.0-pre in Emacs 24.2.1. \end{document} #+end_example or, respectively: #+begin_example ;; excerpt of html export

This is a small /little text to get some text spanning over more than three lines, so i can try to emphasize morethan two lines/ in my example.

#+end_example My .emacs for the minimal example is as follows: #+begin_src elisp ; no startup message (setq inhibit-startup-message t) ;; I'm feeling religious about this: (setq-default indent-tabs-mode nil) ;; ask y or n instead of yes or no (fset 'yes-or-no-p 'y-or-n-p) ;; indent after enter; I want this most of the time. (global-set-key (kbd "RET") 'newline-and-indent) ;; use emacs with IME (avoid 'no dead-acute' error messages) (load-library "iso-transl") (setq load-path (cons "~/.emacs.d/org-mode/lisp" load-path)) (add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt\\)$" . org-mode)) (require 'org) ;; change number of newlines for emphasized blocks (setq org-emphasis-regexp-components '(" \t('\"{" "- \t.,:!?;'\")}\\" " \t\r\n,\"'" "." 10)) #+end_src Mebbe I just forgot some setting to get it working, though I'd like the exporter to recognize the org-emphasis-regexp-components settings... Best regards Robert