emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: pineiden <pineiden@protonmail.com>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: How create a hook before export ONLY to text
Date: Fri, 07 Aug 2020 20:07:57 +0000	[thread overview]
Message-ID: <ZKGm-MayNRE-j9aorJ4q94OK2wXo0ELn8ObDTx0sSJQJUTx0kw367gv5wFqGFsB-h9LsJQPhwhDAImf-UNw9Yo9F8M4e8_3RLzNAj3Ezdbs=@protonmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1063 bytes --]

Hi.

I have some example

Here the in org, the source code:

#+NAME: secuencia_1
#+ATTR_LATEX: :width 0.6
#+BEGIN_SRC plantuml :file ./img/secuencia_1.png
actor Usuario
Usuario -> Computador : iniciar programa
Computador -> Usuario : pedir nombre
Usuario -> Computador : entregar nombre
Computador -> Usuario : saludar
#+END_SRC

Now, with minted, the latex:

\begin{minted}[frame=lines,fontsize=\scriptsize,xleftmargin=\parindent,linenos,frame=single]{plantuml}
actor Usuario
Usuario -> Computador : iniciar programa
Computador -> Usuario : pedir nombre
Usuario -> Computador : entregar nombre
Computador -> Usuario : saludar
\end{minted}

So, minted doesn't know plantuml and throws the error.

I need some like that:

\begin{code}[frame=lines,fontsize=\scriptsize,xleftmargin=\parindent,linenos,frame=single]{plantuml}
actor Usuario
Usuario -> Computador : iniciar programa
Computador -> Usuario : pedir nombre
Usuario -> Computador : entregar nombre
Computador -> Usuario : saludar
\end{code}

br!

Sent with [ProtonMail](https://protonmail.com) Secure Email.

[-- Attachment #2: Type: text/html, Size: 1894 bytes --]

             reply	other threads:[~2020-08-07 20:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-07 20:07 pineiden [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-08-03 14:42 How create a hook before export ONLY to text pineiden
2020-08-04 12:18 ` Russell Adams

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='ZKGm-MayNRE-j9aorJ4q94OK2wXo0ELn8ObDTx0sSJQJUTx0kw367gv5wFqGFsB-h9LsJQPhwhDAImf-UNw9Yo9F8M4e8_3RLzNAj3Ezdbs=@protonmail.com' \
    --to=pineiden@protonmail.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).