From: John Kitchin <jkitchin@andrew.cmu.edu>
To: Nick Dokos <ndokos@gmail.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Name of code pieces when exported to PDF
Date: Mon, 26 Sep 2016 17:43:13 -0400 [thread overview]
Message-ID: <CAJ51ETq1L_YM7KhAvwy9QrhTug7LMrCA4yQWWowPY+qFNKnTVg@mail.gmail.com> (raw)
In-Reply-To: <87mviuwdnr.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1303 bytes --]
It is #+label that is deprecated in favor of #+name.
On Monday, September 26, 2016, Nick Dokos <ndokos@gmail.com
<javascript:_e(%7B%7D,'cvml','ndokos@gmail.com');>> wrote:
> Sebastian Christ <rudolfo.christ@gmail.com> writes:
>
> > On 2016-09-26 18:48, claude fuhrer <claude@fuhrer.ch> wrote:
> > > \lstset{language=java,label=secondBlock,caption=
> ,captionpos=b,numbers=none}
> > > \begin{lstlisting}
> > > .....
> > > \end{lstlisting}
> > >
> > > But I wanted to have the "caption" filled with the same value as the
> > > label. Is it possible ?
> > >
> > Yes, use caption!
> >
> > #+caption: MainClass
> > #+name: MainClass
> >
> > #+begin_src ...
> >
>
> That seems indeed to be necessary (at least in a few experiments that
> I've run), but it's less than ideal (duplication of information).
>
> I was under the impression that #+CAPTION is deprecated and #+NAME is
> to be used in its place going forward. If that's the case, then the
> listings problem needs fixing. If not, can somebody summarize the
> actual situation?
>
> Thanks!
> --
> Nick
>
>
>
--
John
-----------------------------------
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu
[-- Attachment #2: Type: text/html, Size: 1901 bytes --]
next prev parent reply other threads:[~2016-09-26 21:43 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-26 14:28 Name of code pieces when exported to PDF claude fuhrer
2016-09-26 15:34 ` Nicolas Goaziou
2016-09-26 16:48 ` claude fuhrer
2016-09-26 18:13 ` Sebastian Christ
2016-09-26 21:32 ` Nick Dokos
2016-09-26 21:43 ` John Kitchin [this message]
2016-09-27 0:17 ` Nick Dokos
2016-09-27 11:11 ` Sebastian Christ
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=CAJ51ETq1L_YM7KhAvwy9QrhTug7LMrCA4yQWWowPY+qFNKnTVg@mail.gmail.com \
--to=jkitchin@andrew.cmu.edu \
--cc=emacs-orgmode@gnu.org \
--cc=ndokos@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).