emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jacob Gerlach <jacobgerlach@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [BUG] Macro Argument Truncation
Date: Sun, 21 Sep 2014 21:12:30 -0400	[thread overview]
Message-ID: <CAA6UvuHMNt34uCQOLFXjyNm_ek4z5=5rJoVe+twap5t=nw+5MA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 944 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1329 bytes --]

             reply	other threads:[~2014-09-22  1:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-22  1:12 Jacob Gerlach [this message]
2014-09-22  1:40 ` [BUG] Macro Argument Truncation Thomas S. Dye
2014-09-22  1:50   ` Jacob Gerlach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAA6UvuHMNt34uCQOLFXjyNm_ek4z5=5rJoVe+twap5t=nw+5MA@mail.gmail.com' \
    --to=jacobgerlach@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).