From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jacob Gerlach Subject: [BUG] Macro Argument Truncation Date: Sun, 21 Sep 2014 21:12:30 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b3a84be19501005039d2545 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56549) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVsBC-0005gn-SK for emacs-orgmode@gnu.org; Sun, 21 Sep 2014 21:12:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XVsBB-0000mp-Pd for emacs-orgmode@gnu.org; Sun, 21 Sep 2014 21:12:38 -0400 Received: from mail-la0-x230.google.com ([2a00:1450:4010:c03::230]:51217) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVsBB-0000kz-HG for emacs-orgmode@gnu.org; Sun, 21 Sep 2014 21:12:37 -0400 Received: by mail-la0-f48.google.com with SMTP id ty20so5862168lab.35 for ; Sun, 21 Sep 2014 18:12:30 -0700 (PDT) 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 --047d7b3a84be19501005039d2545 Content-Type: text/plain; charset=UTF-8 I am making heavy use of latex strikeout for a report I'm preparing in org mode. I defined a macro for the necessary latex snippet, but the argument gets truncated on export. MWE: ---- * Section {{{stk(The argument for this macro is several lines long. It seems that after a certain length, the macro argument gets truncated, as the tex output from exporting this org buffer contains a properly terminated strikeout block with only part of this text.)}}} #+MACRO: stk @@latex:\sout{$1}@@ ---- C-c C-e l L produces: ---- .... \sout{The argument for this macro is several lines long. It seems that after a certain length} % Emacs 24.3.1 (Org mode 8.2.7c) ---- I see no mention of any reason for this in the macro node of the manual or on list archives. Am I doing something wrong or is it a bug? Note: org-plus-contrib is an installed package. Status: Installed in `.../.emacs.d/elpa/org-plus-contrib-20140901/'. Version: 20140901 --047d7b3a84be19501005039d2545 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I am making heavy use of latex strikeout for a report I= 9;m preparing in org mode. I defined a macro for the necessary latex snippe= t, but the argument gets truncated on export.

MWE:
=
----
* Section
{{{stk(The argument for this m= acro is several lines long. It seems
that after a certain length,= the macro argument gets truncated, as the
tex output from export= ing this org buffer contains a properly
terminated strikeout bloc= k with only part of this text.)}}}
#+MACRO: stk @@latex:\sout{$1}= @@

----
C-c C-e l L produces:
<= /div>
----
....
\sout{The argument for this ma= cro is several lines long. It seems
that after a certain length}<= /div>
% Emacs 24.3.1 (Org mode 8.2.7c)
----
<= br>
I see no mention of any reason for this in the macro node of = the manual or on list archives. Am I doing something wrong or is it a bug?<= /div>


Note:
org-plus-contrib is= an installed package.

=C2=A0 =C2=A0 =C2= =A0Status: Installed in `.../.emacs.d/elpa/org-plus-contrib-20140901/'.=
=C2=A0 =C2=A0 Version: 20140901

--047d7b3a84be19501005039d2545--