emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Not LaTeX now, trying to use org-mode
Date: Wed, 03 Dec 2014 14:48:12 -0500	[thread overview]
Message-ID: <87k328cy6b.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: 8761ds4lb6.fsf@skimble.plus.com

Sharon Kimble <boudiccas@skimble.plus.com> writes:

> I'm now starting to write a org-mode document in place of doing it
> in LaTeX, but its left me puzzled by some things, like -
>
> a) How do you make a paragraph, or even a sentence, italic? I've
> tried following the "org-mode manual" but that just shows it for
> single words.
>

See below.

> b) I am used to using "\gls{foo}" for having a glossary entry in the
> text, and referring to
> \newglossaryentry{foo}{name=foo,description=blah de blah}. But how
> do I do it in org-mode please?
>

Don't know. I don't think there is any glossary support in org, but
I could be wrong.

> c) How do I show an item as being selected to show in the index? In
> LaTeX its done using \index{foo} 
>

--8<---------------cut here---------------start------------->8---
#+LATEX_HEADER: \usepackage{makeidx}
#+LATEX_HEADER: \makeindex

* foo

This
#+INDEX: item
item is going to end up in the index.

This /will be an italic sentence/.

Unfortunately, /italic paragraphs don't
quite work because too many newlines will stop the match/.

#+LATEX: \printindex
--8<---------------cut here---------------end--------------->8---

The #+INDEX: item gets translated to \index{item}, but you stil have to
do the rest of the index setup by hand as shown above (I hope it works:
I didn't try it). BTW, there is an easy template for inserting #+INDEX
lines: <i TAB. Check the org manual under "Easy templates" if you don't
know about them.

The italic paragraph spread over two lines will work, but if you spread
it over three lines, it won't. You can tweak this (and other emphasis
settings) by changing org-emphasis-regexp-components, but that's a
somewhat hazardous and error-prone process - search the list for more.

> d) Are there any tutorials, or good teaching web sites please?
>

Tom Dye's tutorial

   http://orgmode.org/worg/org-tutorials/org-latex-export.html

is still worth reading, but note that it is for the pre-8.0 exporter
so you have to take it with the appropriate grain of salt.

Nick

  reply	other threads:[~2014-12-03 19:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-03 18:53 Not LaTeX now, trying to use org-mode Sharon Kimble
2014-12-03 19:48 ` Nick Dokos [this message]
2014-12-03 21:01   ` Thomas S. Dye

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=87k328cy6b.fsf@alphaville.usersys.redhat.com \
    --to=ndokos@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).