emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Xavier Garrido <xavier.garrido@gmail.com>
To: Eric Schulte <schulte.eric@gmail.com>
Cc: stromeko@nexgo.de, "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Exporting C++ code block to html
Date: Sat, 28 Sep 2013 17:53:05 +0200	[thread overview]
Message-ID: <5246FB61.80606@gmail.com> (raw)
In-Reply-To: <87ob7dw238.fsf@gmail.com>

Hi Eric,

>
> Setting this variable manually from the command line with the following
> fixes this problem for me.
>
> emacs --batch --eval "(progn (add-to-list 'load-path \"~/src/org-mode/lisp\") (require 'org) (add-to-list 'load-path \"~/src/org-mode/contrib/lisp\")(require 'htmlize) (setq c-standard-font-lock-fontify-region-function 'font-lock-default-fontify-region))" --visit /tmp/cpp-test.org --funcall org-html-export-to-html
>

This works for me. I will use it until emacs trunk will become official 
release. Many thanks to both of you,

Cheers,
Xavier

-- 

  reply	other threads:[~2013-09-28 15:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-27 18:45 Exporting C++ code block to html Xavier Garrido
2013-09-28 12:05 ` Eric Schulte
2013-09-28 15:53   ` Xavier Garrido [this message]
2013-09-28 14:11 ` Achim Gratz

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=5246FB61.80606@gmail.com \
    --to=xavier.garrido@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=schulte.eric@gmail.com \
    --cc=stromeko@nexgo.de \
    /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).