emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dov Grobgeld <dov.grobgeld@gmail.com>
To: Eric Schulte <eric.schulte@gmx.com>
Cc: Christian Wittern <cwittern@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: org-src-fontify-natively (was: org-mode in the press)
Date: Sat, 28 Jan 2012 19:30:06 +0200	[thread overview]
Message-ID: <CA++fsGFupNBHdeDVKkgHvmJuRBWQ1HepzSUmcw+H7mJYOq8afQ@mail.gmail.com> (raw)

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

Great! That must be a new addition that I missed. It is not perfect though,
as I use a variable font for org-mode, which is inherited by the embedded
source code block when I turn on org-src-fontify-natively . Is there any
way of preventing that so blocks are always in e.g. Inconsolata?

I found that the block background color may be changed by
org-block-background which is nice to make a visual distinction of source
code sections!

Regards,
Dov

On Sat, Jan 28, 2012 at 19:06, Eric Schulte <eric.schulte@gmx.com> wrote:

>
> > I also love the embedded code (though I wish it was possible to syntax
> > highlight it!),
>
> It is possible, just add the following to your Emacs configuration.
>
> (setq org-src-fontify-natively t)
>
> Cheers,
>
> > external links, and tables.
> >
> > Thanks again!
> > Dov
> >
> > On Sat, Jan 28, 2012 at 18:18, Thomas S. Dye <tsd@tsdye.com> wrote:
> >
> >> Aloha Christian,
> >>
> >> Thanks for your comments.  It is great to have feedback.
> >>
> >> Christian Wittern <cwittern@gmail.com> writes:
> >>
> >> > I think this is an excellent article, introducing an aspect of
> >> > org-mode, which I think fills a gap that no other software I know of
> >> > comes even close to approach.  I already started mentioning it in
> >> > conversations and am sure it will be very useful to many members of
> >> > the academic community.
> >> >
> >> > Just to make sure I could answer any follow up questions, I downloaded
> >> > the replication bundle and started installing the dependencies.  I
> >> > encountered a few problems and hope this is the right place to discuss
> >> > them.  BTW, I am working with this on a Mac OS X 10.6 machine.
> >> >
> >> > Most of the dependencies I already had or  installed them from
> >> > macports.  One problem I encountered was with installing the RSQLite
> >> > package.  Executing the installation command from the README file did
> >> > not work because of permission issues, the command needs to run with
> >> > superuser rights.  Is it possible to give these rights to commands run
> >> > from babel?  Since I did not find a way to do that, I installed from
> >> > the R commandline, where I found that the name of the package is
> >> > RSQLite, not 'RSQlite' as given in the readme file.
> >> >
> >> > The one dependency I could not solve was the 'dot' executable.  I
> >> > assume this is an interpreter for the dot language, for which it seems
> >> > the program on the Mac is named graphviz.  However, I am not sure how
> >> > to make that work with org/babel.  Should I simply symlink to
> >> > graphviz?  Or is there a babel variable to be set?  This is a point
> >> > that probably needs some explanation, at least for Mac users (I
> >> > realize that the articel might not have been intended as such a
> >> > general introduction with details for all common OSses, but it would
> >> > be nice if this can be gradually supplemented).
> >> >
> >> > One last remark; since this is an online publication, I think using
> >> > proper fontification for the examples and org source code would be
> >> > even more appealing, especially for people who encounter org for the
> >> > first time.
> >>
> >> Could you be more specific here?  It might be obvious to others, but I
> >> don't understand what you mean by "proper fontification."
> >>
> >> All the best,
> >> Tom
> >>
> >> >
> >> > Keep up the excellent work!!
> >> >
> >> > Christian
> >> >
> >> >
> >> >
> >> > On 2012-01-27 23:43, Eric Schulte wrote:
> >> >> Hopefully this will serve as the canonical introduction to working
> with
> >> >> code blocks in Org-mode.
> >> >>
> >> >> As we acknowledge in the paper this work would not have been possible
> >> >> without the ideas and feedback of the Org-mode community, so thanks
> all!
> >> >>
> >> >> Nick Dokos<nicholas.dokos@hp.com>  writes:
> >> >>
> >> >>> Andreas Leha<andreas.leha@med.uni-goettingen.de>  wrote:
> >> >>>
> >> >>>> Hi all,
> >> >>>>
> >> >>>> this just came into my inbox:
> >> >>>> http://www.jstatsoft.org/v46/i03
> >> >>>>
> >> >>>> Great work!  Big thanks to the authors.
> >> >>>>
> >> >>> I remember reading it with great pleasure back when Eric posted it
> to
> >> >>> the list: beautiful stuff. I look forward to rereading it.
> >> >>>
> >> >>> Congratulations!
> >> >>>
> >> >>> Nick
> >> >>>
> >> >>>
> >>
> >> --
> >> Thomas S. Dye
> >> http://www.tsdye.com
> >>
> >>
>
> --
> Eric Schulte
> http://cs.unm.edu/~eschulte/
>

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

             reply	other threads:[~2012-01-28 17:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-28 17:30 Dov Grobgeld [this message]
2012-01-28 18:17 ` org-src-fontify-natively (was: org-mode in the press) Dov Grobgeld
2012-01-29 20:59   ` org-src-fontify-natively Sebastien Vauban

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=CA++fsGFupNBHdeDVKkgHvmJuRBWQ1HepzSUmcw+H7mJYOq8afQ@mail.gmail.com \
    --to=dov.grobgeld@gmail.com \
    --cc=cwittern@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=eric.schulte@gmx.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).