emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: tsd@tsdye.com (Thomas S. Dye)
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: New LaTeX exporter and source code blocks
Date: Sat, 05 May 2012 12:55:04 -1000	[thread overview]
Message-ID: <m1pqai9r1z.fsf@tsdye.com> (raw)
In-Reply-To: <87havue2cn.fsf@gmail.com> (Nicolas Goaziou's message of "Sat, 05 May 2012 23:37:28 +0200")

Nicolas Goaziou <n.goaziou@gmail.com> writes:

> tsd@tsdye.com (Thomas S. Dye) writes:
>
>> Here is a problem with CAPTION and ATTR_LaTeX lines.  Note that the
>> \table{} environment wasn't established.
>>
>> ---- Org-mode ----
>> #+CAPTION: Frequency of Special Characters
>> #+ATTR_LaTeX: align=|c|c|l|
>>
>> |---------------------+-------------+-------------------|
>> | Non-English or Math | Frequency   | Comments          |
>> |---------------------+-------------+-------------------|
>> | \O                  | 1 in 1,000  | For Swedish names |
>> |---------------------+-------------+-------------------|
>> | $\pi$               | 1 in 5      | Common in math    |
>> |---------------------+-------------+-------------------|
>> | \$                  | 4 in 5      | Used in business  |
>> |---------------------+-------------+-------------------|
>> | $\Psi^2_1$          | 1 in 40,000 | Unexplained usage |
>> |---------------------+-------------+-------------------|
>> ------------------
>
> Affiliated keywords (#+name:, #+caption:, #+attr_...) are expected to be
> right before their corresponding element. The blank line you introduced
> is wrong. Remove and it should export fine.
Yes, it does.  Thanks.

I can't get a \begin{figure*} environment with multicolumn.

---- Org-mode ----
#+CAPTION: A sample black and white graphic (.eps format) that needs to span two columns of text.
#+ATTR_LaTeX: multicolumn
[[file:flies.eps]]
------------------

---- LaTeX export ----
\includegraphics[width=.9\linewidth]{flies.eps}
----------------------

All the best,
Tom

>
>> When #+CAPTION: is used with figures the \figure{} environment isn't
>> established.
>>
>> ---- Org-mode ----
>> #+CAPTION: A sample black and white graphic (.eps format).
>>
>> [[file:fly.eps]]
>> ------------------
>
> Ditto.
>
>
> Regards,

-- 
T.S. Dye & Colleagues, Archaeologists
735 Bishop St, Suite 315, Honolulu, HI 96813
Tel: 808-529-0866, Fax: 808-529-0884
http://www.tsdye.com

  reply	other threads:[~2012-05-05 22:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-05 19:53 New LaTeX exporter and source code blocks Thomas S. Dye
2012-05-05 20:58 ` Nicolas Goaziou
2012-05-05 21:32   ` Thomas S. Dye
2012-05-05 21:37     ` Nicolas Goaziou
2012-05-05 22:55       ` Thomas S. Dye [this message]
2012-05-06  6:31         ` Nicolas Goaziou
2012-05-06 17:53           ` Thomas S. Dye
2012-05-06 18:17             ` Nicolas Goaziou

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=m1pqai9r1z.fsf@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@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).