emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christian Moe <mail@christianmoe.com>
To: David Maus <dmaus@ictsoc.de>
Cc: Jeff Horn <jrhorn424@gmail.com>, Org-mode ml <emacs-orgmode@gnu.org>
Subject: Re: [Bug] Abstract block prematurely ended by asterisk
Date: Sun, 09 Jan 2011 13:19:29 +0100	[thread overview]
Message-ID: <4D29A7D1.5010102@christianmoe.com> (raw)
In-Reply-To: <874o9iuyf9.wl%dmaus@ictsoc.de>

On 1/9/11 12:08 PM, David Maus wrote:
> At Thu, 16 Dec 2010 02:51:32 -0500,
> Jeff Horn wrote:
>>
>> Title says it all. The following code does not export correctly.
>> (Reproduced from memory can anyone else confirm?)
>>
>> #+BEGIN_ABSTRACT
>> *Bold Text.* This is a sentence.
>> #+END_ABSTRACT
>>
>> The LaTeX code produced is (in full)
>>
>> #+BEGIN_SRC latex
>> \begin{ABSTRACT}
>> *Bold
>> #+END_SRC

I cannot confirm this. I get the expected output:

\begin{ABSTRACT}
\textbf{Bold Text.} This is a sentence.
\end{ABSTRACT}

>>
>> Note the lack of a closing environment and the truncated content. I
>> remember pdflatex complaining that "ABSTRACT" is an invalid
>> environment, but don't recall whether that was related to the asterisk
>> issue.

Try it lower case:
#+begin_abstract

Org isn't sensitive about case in special block types, but LaTeX is.

>>
>> Using org-mode 7.4 in emacs 23.2.
>
> Where is the ABSTRACT block defined?  No such block seems to be known
> by Org 7.4 running with emacs -Q.

Arbitrary block types are provided by org-special-blocks, a contrib 
(slated for inclusion into the next core Org, if I remember Bastien's 
announcement correctly).

HTH,
Christian

  reply	other threads:[~2011-01-09 12:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-16  7:51 [Bug] Abstract block prematurely ended by asterisk Jeff Horn
2010-12-16  8:13 ` Oscar Carlsson
2011-01-09 11:08 ` David Maus
2011-01-09 12:19   ` Christian Moe [this message]
2011-01-09 14:57     ` Jeff Horn

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=4D29A7D1.5010102@christianmoe.com \
    --to=mail@christianmoe.com \
    --cc=dmaus@ictsoc.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=jrhorn424@gmail.com \
    /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).