emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastian Christ <rudolfo.christ@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Name of code pieces when exported to PDF
Date: Tue, 27 Sep 2016 13:11:24 +0200	[thread overview]
Message-ID: <m24m514mxv.fsf@gmail.com> (raw)
In-Reply-To: 87mviuwdnr.fsf@gmail.com

On 2016-09-26 17:32, Nick Dokos <ndokos@gmail.com> wrote:
 >> #+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).

In this peculiar case, yes. But, at least for me, I use each for a
different purpose that doesn't duplicate the information. I'm using
org-ref for references and most of the time a more meaningful
caption. For example:

#+caption: A class with a main method
#+name: lst-main
#+begin_src java

Regards,

Sebastian

-- 
Sebastian (Rudolfo) Christ
http://rudolfochrist.github.io
GPG Fingerprint: 306D 8FD3 DFB6 4E44 5061
                 CE71 6407 D6F8 2AC5 55DD

      parent reply	other threads:[~2016-09-27 11:11 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
2016-09-27  0:17           ` Nick Dokos
2016-09-27 11:11         ` Sebastian Christ [this message]

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=m24m514mxv.fsf@gmail.com \
    --to=rudolfo.christ@gmail.com \
    --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).