From: Giovanni Ridolfi <giovanni.ridolfi@yahoo.it>
To: Jarmo Hurri <jarmo.hurri@syk.fi>
Cc: emacs-orgmode@gnu.org
Subject: Re: Org, latex and asymptote in a math project
Date: Mon, 12 Sep 2011 15:15:58 +0200 [thread overview]
Message-ID: <83mxe9gaup.fsf@yahoo.it> (raw)
In-Reply-To: <m3d3f6q78t.fsf@syk.fi> (Jarmo Hurri's message of "Mon, 12 Sep 2011 15:23:46 +0300")
Jarmo Hurri <jarmo.hurri@syk.fi> writes:
Hi, Jarmo,
> 1. If I have understood correctly, in order for an asymptote image to be
> included as an inline image, one has to specify a file name at the
> beginning of the code block, as in
>
> #+CAPTION: A test caption.
> #+begin_src asymptote :file foo.pdf
> size (1cm, 0);
> filldraw (unitsquare, red);
> #+end_src
>
> It would be convenient if the user would not need to specify a
> (unique) invented file name for the inline image.
can't you use the link facility?
1. open dired
2. go over the name of the file you need
3. C-c l
[the path/namefile is saved in the kill ring]
4. back to the buffer you're editing
5. C-c C-l
store the link
then you may find worth reading the section of the manual:
Images in export
-----------------
#+CAPTION: The black-body emission of the disk around HR 4049
#+LABEL: fig:SED-HR4049
#+ATTR_LaTeX: width=5cm,angle=90
[[./img/sed-hr4049.pdf]]
#+ATTR_LaTeX: width=0.38\textwidth wrap placement={r}{0.4\textwidth}
[[./img/hst.png]]
> 2. At least for me, _by far_ the most common way of referring to a
> floating element (table or figure) is immediately before or after the
> latex code that defines the float. For this, having to generate a
> unique label for the float has always been an overkill, and I have
> wanted a way to just refer to the previous or next float in the
> document. In org this could mean something like specifying
> #+AUTOLABEL and then some way of referring to the labels of the next
> and previous float (regardless of whether they would be automatically
> generated labels or standard named labels). Any support for this? Any
> ideas regarding the syntax?
maybe you can use the property :CUSTOM_ID: ? Manual: Internal links
hth,
Giovanni
next prev parent reply other threads:[~2011-09-12 13:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-12 12:23 Org, latex and asymptote in a math project Jarmo Hurri
2011-09-12 13:15 ` Giovanni Ridolfi [this message]
2011-09-12 14:16 ` Jambunathan K
2011-09-12 15:49 ` Ethan Ligon
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=83mxe9gaup.fsf@yahoo.it \
--to=giovanni.ridolfi@yahoo.it \
--cc=emacs-orgmode@gnu.org \
--cc=jarmo.hurri@syk.fi \
/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).