From: jerome moliere <jerome.moliere@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Problems with Org-mode & Minted
Date: Thu, 7 Dec 2017 10:42:51 +0100 [thread overview]
Message-ID: <CAEGYFELt7OfeA71b=x7SYzb6pL-qdbxmCqjrTJeeMb1xAYU8mw@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1863 bytes --]
Hi all Org-mode gurus,
I am trying to use the minted package with Org-mode to generate a big
slides deck containing
java code & XML code listtings...
It's almost OK execpted that I am unaable to set any option to adapt the
listings to my needs..
As a consequence the listings come in raw excepted the language attribute
set accordingly to my config and the theme as specified in my config file
(spacemacs)....
I tried to specify a couple of options but they are simply ignored and are
not exported...
excerpt from my .spacemacs file
(setq org-latex-listings 'minted
org-latex-packages-alist '(("" "minted"))
org-latex-pdf-process
'("pdflatex -shell-escape -interaction nonstopmode
-output-directory %o %f"
"pdflatex -shell-escape -interaction nonstopmode
-output-directory %o %f")
org-latex-minted-options '(("frame" "lines") ("linenos=true")
("fontsize=\scriptsize") )
)
I tried already with org-export-latex-minted-options but does not work ..
This a listing as generated in my .tex file output from org-mode export
\begin{minted}[]{java}
public class ComplexLayoutDemo extends JFrame {
public ComplexLayoutDemo(){
JPanel main_panel = (JPanel)getContentPane();
main_panel.setLayout(new BorderLayout());
JPanel north = new JPanel();
north.add(new JLabel("Texte au nord"));
JPanel south = new JPanel();
south.setLayout(new FlowLayout());
south.add(new JLabel("Autre texte"));
south.add(new JLabel("texte au sud"));
main_panel.add("North",north);
main_panel.add("South",south);
pack();
setVisible(true);
}
\end{minted}
As already stated I can't see no minted options...
I would like to shorten the font size with tiny or script size and may be
activate frames around listings
J.MOLIERE - Mentor/J
[-- Attachment #2: Type: text/html, Size: 2732 bytes --]
next reply other threads:[~2017-12-07 9:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-07 9:42 jerome moliere [this message]
2017-12-07 10:18 ` Problems with Org-mode & Minted Alan Schmitt
2017-12-07 13:12 ` jerome moliere
2017-12-11 9:13 ` jerome moliere
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='CAEGYFELt7OfeA71b=x7SYzb6pL-qdbxmCqjrTJeeMb1xAYU8mw@mail.gmail.com' \
--to=jerome.moliere@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).