From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: bug in new exporter
Date: Tue, 04 Jun 2013 00:12:48 +0200 [thread overview]
Message-ID: <87y5aq7sin.fsf@pank.eu> (raw)
In-Reply-To: 87fvwyrjnr.fsf@pierrot.dokosmarshall.org
Nick Dokos <ndokos@gmail.com> writes:
>>> One thing that I couldn't figure out is how to get rid of the width
>>> specification altogether.
>>
>> It's a feature. We had a lengthy discussion about it a while ago
>> (myself, Nicholas and Aaron, I believe)
>>
>
> Count me confused again: what's the feature? I'll go looking for the
> discussion I guess.
including .9\textwidth when you least expect it is a feature.
See this thread
http://comments.gmane.org/gmane.emacs.orgmode/69963
> if I rearrange the line to
>
> #+ATTR_LATEX: :width "" :placement [htb!] :options scale=1.5
>
> I get the "Wrong argument type" error in the current version as
> well.
I can reproduce this here.
> I guess :width has to be after the :options ?!? I don't quite
> understand the rules I guess.
Neither do I in this case. I'm guessing it has do with the "escaping"
of "" 'cause it also fails if you :placement behind width.
With
#+ATTR_LATEX: :options scale=1.5 :width "" :placement [htb!]
it fails here
(attr (org-export-read-attribute :attr_latex parent))
which evalues to something like
Result: (:options "scale=1.5" :placement "[htb!]" :width "")
when it doesn't crash.
Perhaps, I'll have time to look at it later, but probably Nicolas is
the right guy for the job.
> Very helpful: thanks for the elucidation!
Thanks you to you too!
–Rasmus
--
Enough with the bla bla!
next prev parent reply other threads:[~2013-06-03 22:13 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-03 15:50 bug in new exporter Marvin Doyley
2013-06-03 16:25 ` Rasmus
2013-06-03 17:42 ` Nick Dokos
2013-06-03 20:23 ` Rasmus
2013-06-03 21:03 ` Nick Dokos
2013-06-03 22:12 ` Rasmus [this message]
2013-06-05 12:26 ` Nicolas Goaziou
2013-06-05 16:28 ` Nick Dokos
2013-06-05 21:45 ` Nick Dokos
2013-06-11 12:08 ` Nicolas Goaziou
2013-06-11 17:09 ` Nick Dokos
2013-06-16 20:53 ` Nicolas Goaziou
2013-06-11 12:05 ` Nicolas Goaziou
-- strict thread matches above, loose matches on Subject: below --
2013-06-03 17:22 Marvin Doyley
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=87y5aq7sin.fsf@pank.eu \
--to=rasmus@gmx.us \
--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).