emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ezequiel Birman <stormwatch@espiga4.com.ar>
To: emacs-orgmode@gnu.org
Subject: entities and removing some markup in ascii export
Date: Fri, 08 Oct 2010 05:59:14 -0300	[thread overview]
Message-ID: <m362xd2h7h.fsf@david.espiga4.com.ar> (raw)

I was trying to get rid of some markup (or get it properly "translated")
when exporting to ascii/latin1/utf8.

For example:

ORG-BLOCKQUOTE-START
I have nothing to say and I am Saying it.
ORG-BLOCKQUOTE-END

could be exported as:

   I have nothing to say and I am Saying it.


Regarding LaTeX markup I'd like to get delimiters like "$", "$$", "\(",
"\)", "\[", and "\]" removed. Other markup such as "\mathit", "\mathrm",
etc. should be treated as if using italics and normal text respectively.

"\frac{n}{m}" sohuld be translated as "n/m" and so on...

As i am writing this I discovered org-entities-ascii-explanatory and
org-entities-user. I'll try to customize them.

Also, in a previous posting I asked about conditional export, this could
be another (worse) way to solve the problem. ¿Should I use emacs-lisp
SRC blocks? ¿Could anyone provide an example, please?

Thank you

-- 
Ezequiel Birman

                 reply	other threads:[~2010-10-08  9:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=m362xd2h7h.fsf@david.espiga4.com.ar \
    --to=stormwatch@espiga4.com.ar \
    --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).