emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: tsd@tsdye.com (Thomas S. Dye)
To: Onur Solmaz <onursolmaz@gmail.com>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: org-article.cls generated empty after tangling
Date: Fri, 27 Jun 2014 06:14:01 -1000	[thread overview]
Message-ID: <m2lhsi9vp2.fsf@tsdye.com> (raw)
In-Reply-To: <CABPv8AQ_7dRDJt9VEpFc5WFf3R6ESPoDZBmFpWoqG0j6WqBVLg@mail.gmail.com> (Onur Solmaz's message of "Fri, 27 Jun 2014 12:43:31 +0200")

Aloha Onur,

Onur Solmaz <onursolmaz@gmail.com> writes:

> Ah, so this example is for org-mode < 8?
> http://orgmode.org/worg/org-contrib/babel/examples/article-class.html
> I got confused because on some sites, it explicitly says for version < 8,
> like this one: http://orgmode.org/worg/org-tutorials/org-latex-export.html.
>
> I just want to export a latex document which has source code, and I want it
> to have numbered lines + more decorations if possible. Is it?

Yes, the example is for Org mode < 8.

See the Org mode manual Section 11.3, Literal examples, for how to have
numbered lines with source code blocks and to have them fontified in the
buffer.

See the variable org-latex-listings for the various ways to export
source code blocks.  You'll probably also want to explore the two LaTeX
packages listings and minted, as well, depending on your export
requirements. 

hth,
Tom

-- 
T.S. Dye & Colleagues, Archaeologists
735 Bishop St, Suite 315, Honolulu, HI 96813
Tel: 808-529-0866, Fax: 808-529-0884
http://www.tsdye.com

  parent reply	other threads:[~2014-06-27 16:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-25 22:21 org-article.cls generated empty after tangling Onur Solmaz
2014-06-26 17:30 ` Thomas S. Dye
     [not found]   ` <CABPv8AQ_7dRDJt9VEpFc5WFf3R6ESPoDZBmFpWoqG0j6WqBVLg@mail.gmail.com>
2014-06-27 16:14     ` Thomas S. Dye [this message]
     [not found]       ` <CABPv8ATj6k2pkKF3=ULay-hW2hioyAcfAoSbRVK6dEAgotEOfg@mail.gmail.com>
2014-06-28 16:37         ` 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=m2lhsi9vp2.fsf@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=onursolmaz@gmail.com \
    /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).