emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: claude fuhrer <claude@fuhrer.ch>
To: emacs-orgmode@gnu.org
Subject: Re: Name of code pieces when exported to PDF
Date: Mon, 26 Sep 2016 18:48:34 +0200	[thread overview]
Message-ID: <0f3e4791-c495-b386-3262-56576000a9b9@fuhrer.ch> (raw)
In-Reply-To: <8737km3c9u.fsf@nicolasgoaziou.fr>

Hi Nicolas


On 26/09/16 17:34, Nicolas Goaziou wrote:
> Hello,
>
> claude fuhrer <claude@fuhrer.ch> writes:
>
>> [...]
> It should be
>
>    #+name: MainClass
>    #+begin_src ...
>
> i.e, with dots and no blank line in-between.

Thank you for your quick answer, but I do not really understand how to 
use it. I've corrected the syntax as you mentioned and shows what is the 
generated latex code. The export process gives then:



\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 ?

Thank you once again for your help.

regards
claude


>
> Regards,
>

  reply	other threads:[~2016-09-26 16:49 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 [this message]
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

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=0f3e4791-c495-b386-3262-56576000a9b9@fuhrer.ch \
    --to=claude@fuhrer.ch \
    --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).