Re: [O] Seeking advice on a worg contribution

2014-05-06 Thread Christian Moe

James Harkins writes:

 The HTML code produced by the normal HTML export, which is what I assume
 Worg uses, has the captions as special label classes (org-src-name) so
 CSS could easily be defined if not there already.

 Let's assume I'm an HTML idiot (which is true...). Is it really true, 
 according to [1], that the only way to add this CSS class definition is to 
 put it in a separate file and link it? It seems to be the only *documented* 
 method.

 [1] http://orgmode.org/manual/CSS-support.html#CSS-support

Hi,

This is the bit of [1] that you were looking for: You could also
directly write a style /style section in this way, without referring
to an external file.

Like this:

#+HTML_HEAD: styleorg-src-name {color: blue; }/style

(I haven't gone back over the discussion to see what you want to do with
captions, so coloring them blue is just an example.)

You can also use multiple HTML_HEAD lines, e.g.:

#+HTML_HEAD: style
#+HTML_HEAD:  p {text-indent: 1em; line-height: 150%}
#+HTML_HEAD:  p.footnote {font-size: x-small}
#+HTML_HEAD: /style

...but if you have more than a few of those, you *will* want to put them
in a separate file and link them.

Yours,
Christian



Re: [O] Bibliography woes!

2014-05-06 Thread Rainer M Krug
Ken Mankoff mank...@gmail.com writes:

 On 2014-05-05 at 19:39, John Hendy wrote:
 If this works, someone can chime in regarding how to modify Org so
 that it will run the necessary biber/biblatex commands so you don't
 have to jump to a command line every time. Or perhaps that's a one
 time thing -- maybe as long as biber generates the .bbl file, you can
 refer to anything you want in that file from then on?

 I've found latexmk to be the best tool for compiling LaTeX
 documents. It runs all necessary commands as many times as needed,
 including pdflatex, bibtex, biblatex, etc.. It is fairly smart and will
 run the command to make the index if you load the index, for example. 

 It can run in daemon mode and monitor the included files (and graphics)
 so if one of those changes, the PDF is regenerated.

 I prefer daemon mode, so I bring up a terminal and run latexmk file.tex
 in the folder where I'm working on file.org. This also speeds things up,
 since exporting to latex is fast, but compiling is slow. I can export
 and still use emacs, rather than waiting for the compile to finish.

This sounds very interesting. Could you please provide some details on
how you use latexmk? Do you use any special options?

Rainer


 But if you want to run latexmk from Org, that works too. The -pvc-
 turns off the preview continuous mode (daemon).

 (setq org-latex-pdf-process (list /usr/texbin/latexmk -f -gg -pvc- %f))

   -k.


-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug

PGP: 0x0F52F982


pgpO2hoF39fia.pgp
Description: PGP signature


[O] 3 beginner table questions

2014-05-06 Thread Ryan Moszynski
So, i'm using org mode to keep track of my workouts on a rowing machine and
need help with 3 questions to allow me to finish off my table.
The questions are based on the provided table, which is what I have so far.

1: in @4$4 and @4$7
i'm using vmean on a column of HMS values, how do I floor or round to the
nearest second, so I don't get fractions of seconds in my output?
$4=0@ 16' 6.333
to
$4=0@ 16' 6

2: i'm lazy and i don't want to type in the split time since I can derive
it from the Watts column.
pace(or 500m split time) from watts formula - 3rd root(2.8/watts)
so
if W = 66 then pace= 3rdRt(2.8/66) = 0.3487 * 500 = 174 seconds = 0@ 2' 54
so
if $11 = 66, whats the best way to put $7 = 0@ 2' 54?
does this call for a lisp function where the output is a text string, or is
there an easier/TBLFM way?

3:
the $1 column of my table is just an i++ value, 1, 2, 3 ... n where n is
the number of rows between the 2nd and 3rd hline.
is there a function I can call to tell me how many rows are in that part of
my table, or, if I want to be able to refer
to a variable which is the number of rows in my table, do I have to keep
track of it manually like this?
so what I want to be able to do is the following, without having to use a
count up column.
@7$2 = Total(3), where 3 is the number of rows between the 2nd and 3rd
hline

Thanks so much, Ryan Moszynski

|---+-+-+---++-+--+--+--+--+|
|   | date|  lb | h  m   s  | meters | spm | split500 |
C_c2 | C_rl | C_AB |  W |
|   | May | |   || |  |
 |  |  ||
|---+-+-+---++-+--+--+--+--+|
| 1 | 050114  | 236 | 0@ 15' 36|   2686 |  29 | 0@ 2' 54|
 527 |  632 |  164 | 66 |
| 2 | 050214  | 236 | 0@ 16' 7 |   2793 |  28 | 0@ 2' 53|
 531 |  636 |  170 | 67 |
| 3 | 050414  | 234 | 0@ 16' 36|   3023 |  29 | 0@ 2' 44|
 568 |  669 |  185 | 78 |
|---+-+-+---++-+--+--+--+--+|
|   | Average | 235 | 0@ 16' 6.333 |   2834 |  29 | 0@ 2' 50.33 |
 542 |  646 |  173 | 70 |
|   | Total   | | 0@ 48' 19|   8502 | |  |
 |  |  519 ||
|---+-+-+---++-+--+--+--+--+|
#+TBLFM:
@6$3=vmean(@II..@III);%.0f::
@7$4=vsum(@II..@III)::
@6$4=vmean(@II..@III)::
@7$5=vsum(@II..@III)::
@6$5=vmean(@II..@III);%.0f::
@6$6=vmean(@II..@III);%.0f::
@6$7=vmean(@II..@III)::
@6$11=vmean(@II..@III);%.0f::
$9=if($8  0, vsum($8, -300+$3*1.714), 0);%.0f::
$10=vsum(0, ((3600*deg($4))/3600)*$9);%d::
@7$10=vsum(@II..@III)::
@6$10=vmean(@II..@III);%.0f::
@7$9=string()::
@6$8=vmean(@II..@III);%.0f::
@6$9=vmean(@II..@III);%.0f::



-- 
He felt that his whole life was some kind of dream and he sometimes
wondered whose it was and whether they were enjoying it. - Douglas Adams


Re: [O] Seeking advice on a worg contribution

2014-05-06 Thread Eric S Fraga
On Tuesday,  6 May 2014 at 10:17, James Harkins wrote:

[...]

 Let's assume I'm an HTML idiot (which is true...). Is it really true,
 according to [1], that the only way to add this CSS class definition
 is to put it in a separate file and link it? It seems to be the only
 *documented* method.

No, you can put definitions in the org file directly as part of the HTML
header, as in this example which changes the behaviour for the whole
document body and how figures are presented:

#+begin_src org
  ,#+HTML_HEAD: style type=text/css!-- 
  ,#+HTML_HEAD:  body { font-family: sans; font-size: 12pt; line-height: 1.4em; 
}
  ,#+HTML_HEAD:  div.figure { font-size: 10pt; font-style: italic; }
  ,#+HTML_HEAD: --/style
#+end_src

You will be able to define the CSS for your code block caption in a
similar way.

eric

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.1, Org release_8.2.6-937-g60502a



Re: [O] Using KOMA and Memoir?

2014-05-06 Thread Eric S Fraga
On Monday,  5 May 2014 at 22:23, Martin Schöön wrote:

[...]

 Thanks Eric, that was quick. I will try it but not tonight, too
 tired. And

I hope it works for you.  Let us know how you get on.

 I have to figure out what an org customisation file is. So far I have only
 modified my .emacs.

putting the latex classes entry in your .emacs is fine.  there's no need
for any other file.  it's just that some of us have so much
initialisation code that we use several files instead of just .emacs.


 Sorry for my brevity. What I tried was the first thing I could think of:
 #+LATEX_CLASS: memoir
 end
 #+LATEX_CLASS: scrartcl
 neithor of which worked.

indeed.  the name given here must match one of the entries in
org-latex-classes, not necessarily the same name as the actual LaTeX
class.  A little confusing, unfortunately.
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.1, Org release_8.2.6-937-g60502a



Re: [O] Export Agenda to Google Calendar ICS Format

2014-05-06 Thread Tory S. Anderson
Thanks for the response, Arun; but my problem isn't which time zone it's using, 
but the way it outputs it. As described at 
http://blog.jonudell.net/2011/10/17/x-wr-timezone-considered-harmful/, 
iCalendar outputs a X-WR-TIMEZONE parameter which is problematic; it should, 
instead, use BEGIN:VTIMEZONE. Anyone know any solutions? 

- Tory


 Date: Mon, 05 May 2014 15:11:25 -0700
 From: Arun Persaud apers...@lbl.gov
 To: emacs-orgmode@gnu.org
 Subject: Re: [O] Export Agenda to Google Calendar ICS Format
 Message-ID: 53680c8d.6040...@lbl.gov
 Content-Type: text/plain; charset=ISO-8859-1

 Hi

 On 05/05/2014 02:24 AM, Tory S. Anderson wrote:
 Cross-posted from 
 http://stackoverflow.com/questions/23463962/emacs-export-calendar-bad-timezone-format-in-ics
 
 Using orgmode I export my agenda to an ics file, upload it to my site, and 
 import it into Google calendar. This seems like an easy ideal solution, but 
 when I check the calendar I find that it is not recognizing the time zone of 
 my ics file and so is assuming GMT, making my imported times uselessly off. 
 The problem seems to be the same as the one described here:
 
 http://blog.jonudell.net/2011/10/17/x-wr-timezone-considered-harmful/
 
 Checking my exported ics, sure enough, it is using X-WR-TIMEZONE:EST, which 
 Google calendar does not respect. This must be a well-known problem, but I 
 haven't been able to locate a solution anywhere. Help would be appreciated: 
 how can I get the right time on my events (and they must be a feed; the add 
 to calendar trick is no good)?

 I have this in my .emacs file to set the timezone.

 (setq org-icalendar-timezone America/Los_Angeles)

 HTH

 Arun



Re: [O] Export Agenda to Google Calendar ICS Format (problem found)

2014-05-06 Thread Tory S. Anderson
I've located the problem: it is `org-icalendar-start-file` in org-icalendar.el. 
It specifically writes X-WR-TIMEZONE tags out when modern standards seem to 
require BEGIN:VTIMEZONE. When I have time I'll look at re-writing it, unless 
any of you wizards have already done this/can do it faster than an elisp newbie 
like myself. 

- Tory

torys.ander...@gmail.com (Tory S. Anderson) writes:

 Thanks for the response, Arun; but my problem isn't which time zone it's 
 using, but the way it outputs it. As described at 
 http://blog.jonudell.net/2011/10/17/x-wr-timezone-considered-harmful/, 
 iCalendar outputs a X-WR-TIMEZONE parameter which is problematic; it should, 
 instead, use BEGIN:VTIMEZONE. Anyone know any solutions? 

 - Tory


 Date: Mon, 05 May 2014 15:11:25 -0700
 From: Arun Persaud apers...@lbl.gov
 To: emacs-orgmode@gnu.org
 Subject: Re: [O] Export Agenda to Google Calendar ICS Format
 Message-ID: 53680c8d.6040...@lbl.gov
 Content-Type: text/plain; charset=ISO-8859-1

 Hi

 On 05/05/2014 02:24 AM, Tory S. Anderson wrote:
 Cross-posted from 
 http://stackoverflow.com/questions/23463962/emacs-export-calendar-bad-timezone-format-in-ics
 
 Using orgmode I export my agenda to an ics file, upload it to my site, and 
 import it into Google calendar. This seems like an easy ideal solution, but 
 when I check the calendar I find that it is not recognizing the time zone 
 of my ics file and so is assuming GMT, making my imported times uselessly 
 off. The problem seems to be the same as the one described here:
 
 http://blog.jonudell.net/2011/10/17/x-wr-timezone-considered-harmful/
 
 Checking my exported ics, sure enough, it is using X-WR-TIMEZONE:EST, which 
 Google calendar does not respect. This must be a well-known problem, but I 
 haven't been able to locate a solution anywhere. Help would be appreciated: 
 how can I get the right time on my events (and they must be a feed; the 
 add to calendar trick is no good)?

 I have this in my .emacs file to set the timezone.

 (setq org-icalendar-timezone America/Los_Angeles)

 HTH

 Arun



[O] Problems with org-capture

2014-05-06 Thread Josef Wolf
Hello everybody,

I am new to org-mode, and am currently working through
http://members.optusnet.com.au/~charles57/GTD/gtd_workflow.html and am stuck
a little bit the the caprure mode.

My first question is: org-capture seems to come with a pre-confuigured
template for a Todo stanza. I thought, I'd take a closer look at this
example to learn from it and as a starting point for my own
customizations. But DESCRIBE-VARIABLE shows that ORG-CAPTURE-TEMPLATES is set
to NIL. So, where does this pre-configured Todo entry come from?

The I created my own template like this:

 (setq org-capture-templates
  '((t Todo entry (file+headline /m/s/rep/git/todo/newgtd.org Tasks)
 * TODO %^{Brief Description} %^g%?\n   Created: %U\n   %i\n   %A\n\n
 :kill-buffer :empty-lines 3)))

With this template, I have two problems:

- The most annoying problem is that it eats up the newlines behind the newly
  created entry. I always keep multiple empty lines between top-level
  headings. But even then, a newly created entry eats up all the newlines and
  even melts the succeeding heading onto the end of the newly created entry.
  I guess, this is not how it is meant to work. How would I define 

- The second problem is that when invoked with content fron an active region
  (the %i flag), then the %A flag won't ask me for a link description and the
  %i contents are used as description.

Any ideas what might be wrong here?

-- 
Josef Wolf
j...@raven.inka.de



Re: [O] Export Agenda to Google Calendar ICS Format

2014-05-06 Thread Eric S Fraga
On Tuesday,  6 May 2014 at 05:29, Tory S. Anderson wrote:
 Thanks for the response, Arun; but my problem isn't which time zone
 it's using, but the way it outputs it. As described at
 http://blog.jonudell.net/2011/10/17/x-wr-timezone-considered-harmful/,
 iCalendar outputs a X-WR-TIMEZONE parameter which is problematic; it
 should, instead, use BEGIN:VTIMEZONE. Anyone know any solutions?

But I think you will find that Arun's solution works for Google
calendar, which is what you said you were trying to export to?  I do the
same thing (although obviously for a different time zone) and I have no
problems with Google's calendar.

In fact, the blog entry you point to highlights that the X-WR-TIMEZONE
information works for Google but not Hotmail.


-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.2, Org release_8.2.6-937-g60502a



Re: [O] observations on updating to recent org

2014-05-06 Thread Bastien
Hi Nicolas,

Nicolas Goaziou n.goaz...@gmail.com writes:

 Bastien b...@gnu.org writes:

 Assuming this is just difficult, not impossible, what would be the way
 to do it?

 The major difficulty is to keep an association table between headlines
 in the pristine original buffer, and headlines in the copy being
 exported.

Copy that.  It seems the biggest annoyances are now gone, so let's not
digg in this direction.

-- 
 Bastien



Re: [O] [RFC] Sloppy `org-element-context'?

2014-05-06 Thread Bastien
Hi Nicolas,

Nicolas Goaziou n.goaz...@gmail.com writes:

 Actually, it will not work in comments (point is X):

   # Some http://orgmode.org/file.html
   # and http://orgmode.org/other-fileX.html

 The code will open the first link, not the second one.

Indeed -- but this can easily be fixed.  Thanks for the comment
on my dirty hack, I will implement something based on this idea
and we'll see if it fits.

-- 
 Bastien



Re: [O] org-review-schedule

2014-05-06 Thread Bastien
Hi Alan,

Alan Schmitt alan.schm...@polytechnique.org writes:

 On 2014-04-25 10:02, Nicolas Goaziou n.goaz...@gmail.com writes:

 Alan Schmitt alan.schm...@polytechnique.org writes:

 I guess I should have asked: who decides what goes in contrib?

 The Org maintainer. Another option is to turn it into an ELPA package.

 I need to learn how to do this.

See http://savannah.gnu.org/git/?group=emacs

You clone the ELPA repository:

  git clone membername@git.sv.gnu.org:/srv/git/emacs/elpa.git

Then add your package.  elpa.git contains some documentation.

-- 
 Bastien



Re: [O] using Org-player with Org-drill

2014-05-06 Thread Bastien
Hi Todd,

Todd Neufeld todd.neuf...@gmail.com writes:

 For purposes of learning a language, I want to use Org-player within an
 Org-drill session.

I'm not familiar with org-drill.el and I never used org-player.el, so
I cannot help.

But luckily enough, both libraries have been written by Paul Sexton,
so he may help.

In general, please indicate the version of Org you are using, this
is necessary when debugging stuff:

M-x org-version RET will display it, and C-u M-x org-version RET will
insert it in a buffer.

Best,

-- 
 Bastien



Re: [O] [RFC] Org Minor Mode?

2014-05-06 Thread Bastien
Hi Ilya,

Ilya Shlyakhter ilya...@gmail.com writes:

 What would be the downside of abstracting away the headline syntax in
 the Org code?

I expect some slow down on core functions -- but I'm not sure.

-- 
 Bastien



Re: [O] [RFC] Org Minor Mode?

2014-05-06 Thread Bastien
Hi Thorsten,

Thorsten Jolitz tjol...@gmail.com writes:

 So I would rather have a clear picture of the 'political situation' wrt
 to org-minor-mode and some technical discussion first. But anyway, I
 will not have time to work on this again before June.

I for one need to have a clearer picture of what such a minor mode
would really do, without getting prematurily lost in the details of
possible implementations.

Once we have a clear goal, let's build a small list of steps, then
submit a patch for the first step.  (We can then work on a separate
branch for the whole feature, and spend months on this branch.)

If the change is relying on too many external libraries, it is not
very likely to happen.

The feature seems to bring interest, but let's refrain from spending
our enthusiasm in early and lengthy discussions that nobody can fully
follow, especially if you won't have time to hack something before
June...

So I really don't want to play the cold fish here, but let's move
with code and small steps rather than discussions and big goals.

-- 
 Bastien



Re: [O] [PATCH] org-find-exact-heading-in-directory: Use full path

2014-05-06 Thread Bastien
Hi Kyle,

Kyle Meyer k...@kyleam.com writes:

 * lisp/org.el (org-find-exact-heading-in-directory): Use full path for
 files.

Applied, thanks,

-- 
 Bastien



Re: [O] Profiling capture input

2014-05-06 Thread Bastien
Hi Alan,

Alan Schmitt alan.schm...@polytechnique.org writes:

 I must have changed something in my configuration recently, since I'm
 noticing some lag when I type in an org capture window. I would like to
 figure out what slows things down, but I have no idea where to start. Is
 there a way of profiling what is going on as I type in that window, to
 find out the source of the lag?

Maybe M-x profiler-start RET and M-x profiler-report RET to see what's
consuming CPU from Emacs?

-- 
 Bastien



Re: [O] [PATCH] org.el (org-offer-links-in-entry): Remove code duplication

2014-05-06 Thread Bastien
Hi Albert,

thanks for the patch.

Albert Krewinkel tar...@moltkeplatz.de writes:

 * org.el (org-offer-links-in-entry): Use `org-any-link-re' to avoid
   code duplication.

This is not really code duplication, as the output of `org-any-link-re'
is different from the output of the current sexp in the code.

That said, the change looks good anyway.  Can you double-check there
cannot be any problem with the value of `org-any-link-re'?

 The `re' variable defined in function `org-offer-links-in-entry' is
 string-equal to `org-any-link-re' and is hence replaced by the latter.

 This is a TINYCHANGE.

(TINYCHANGE should stand alone on the line.)

Thanks!

-- 
 Bastien



Re: [O] Export to iCalendar only not DONE, scheduled tasks?

2014-05-06 Thread Bastien
Hi Chris,

Chris Poole li...@chrispoole.com writes:

 I've been searching round the manual, and blogs, to find a way to do
 this.

 I want to export all of the scheduled/deadline tasks that are not in
 a DONE state to an iCalendar file.

 Can this be done?

(setq org-icalendar-include-todo t)

Also see `org-icalendar-use-scheduled' and
`org-icalendar-use-deadline'.

HTH,

-- 
 Bastien



Re: [O] [RFC] Rewrite indentation functions

2014-05-06 Thread Bastien
Hi Nicolas,

Nicolas Goaziou n.goaz...@gmail.com writes:

 I would like to install the following patches on master.

Please go ahead, that's the easiest way to get more feedback and Eric
did half the job already, so we must be good.

Thanks for working on this,

-- 
 Bastien



Re: [O] [PATCH] orgguide.texi: Replace spaces with tabs in two menu lines to be consistent with all other menu lines.

2014-05-06 Thread Bastien
Hi Richard,

Richard Kim emac...@gmail.com writes:

 Why this trivial patch?  As I make changes to orgguide.texi, I may
 invoke texinfo-all-menus-update or texinfo-every-node-update elisp
 commands.  When I do the spaces are replaced with tabs.  I would
 rather not have to deal with these changes when I view git diff.
 Besides I think using white spaces consistently is a good thing.

Thanks for the patch, I applied it on the master branch.

 I submitted this email following the instruction at
 http://orgmode.org/worg/org-contribute.html.
 Please let me know if I could have done better.
 Thanks.

The page contains instructions on how to add a commit message, those
instructions are useful for documentation too.

See this example commit:
http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=d3f21067

Thanks!

-- 
 Bastien



Re: [O] Seeking advice on a worg contribution

2014-05-06 Thread Bastien
Hi James,

James Harkins jamshar...@gmail.com writes:

 I finally finished a draft (attached, and not carefully proofread yet)
 of a new worg page to outline what I had to do for a big Beamer
 publishing project. Could somebody look it over and advise of any
 formatting problems? I guess it should be basically OK; I copied the
 standard worg header, and I stuck to normal org markup throughout.

The formatting looks fine to me!
Please go ahead and push it on Worg.

 A specific formatting question: I have several source code blocks with
 captions. The captions are formatted exactly the same as normal
 paragraphs. Will worg use a different CSS style for captions?

No.

 If not, what do I have to do to make it do that? (At least, display
 the captions slightly smaller.)

Propose a diff against this CSS:
  http://orgmode.org/worg/style/worg.css

adding text properties (like font-size, for example?) to a new
.figure p {...} class.

Thanks in advance!

-- 
 Bastien



Re: [O] Export Agenda to Google Calendar ICS Format

2014-05-06 Thread Tory S. Anderson
hahaha *facepalm* yeah. Are you implying I read that incorrectly? Never!

Okay. Fixed now and you are right. Apologies for misunderstanding, Arun; I set 
my timezone the way you mentioned and Google Calendar is friends again. Still, 
I suppose the code should be updated to standard now; it just won't be the same 
priority for me. 

- Tory

Eric S Fraga e.fr...@ucl.ac.uk writes:

 On Tuesday,  6 May 2014 at 05:29, Tory S. Anderson wrote:
 Thanks for the response, Arun; but my problem isn't which time zone
 it's using, but the way it outputs it. As described at
 http://blog.jonudell.net/2011/10/17/x-wr-timezone-considered-harmful/,
 iCalendar outputs a X-WR-TIMEZONE parameter which is problematic; it
 should, instead, use BEGIN:VTIMEZONE. Anyone know any solutions?

 But I think you will find that Arun's solution works for Google
 calendar, which is what you said you were trying to export to?  I do the
 same thing (although obviously for a different time zone) and I have no
 problems with Google's calendar.

 In fact, the blog entry you point to highlights that the X-WR-TIMEZONE
 information works for Google but not Hotmail.



Re: [O] Change default latex packages

2014-05-06 Thread Roger Mason

Hello again,

On 05/05/14 12:31, John Kitchin wrote:

(setq org-latex-default-packages-alist


I thought I had this fixed, but apparently not.

Here's what I have in my .emacs:

(setq org-latex-default-packages-alist
  '((AUTO inputenc t)
( lmodern nil)
(T1 fontenc nil)
( fixltx2e nil)
;( charter nil) ;; a decent font
;(expert mathdesign nil)
( graphicx t)
( longtable nil)
( float nil)
( wrapfig nil)
( rotating  nil)
(normalem ulem t)
( amsmath t)
( textcomp nil)
( marvosym t)
( wasysym t)
( amssymb t)
( amsmath t)
(version=3 mhchem t)
(numbers,super,sortcompress natbib t)
( natmove nil)
( url t)
( minted nil)
( underscore t)
(linktocpage,pdfstartview=FitH,colorlinks,
linkcolor=blue,anchorcolor=blue,
citecolor=blue,filecolor=blue,menucolor=blue,urlcolor=blue
 hyperref nil)
( attachfile nil)))

Notice (T1 fontenc nil) and ( textcomp nil).

Here's the latex output:

\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage{fixltx2e}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{rotating}
\usepackage[normalem]{ulem}
\usepackage{amsmath}
\usepackage{textcomp}
\usepackage{marvosym}
\usepackage{wasysym}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage[version=3]{mhchem}
\usepackage[numbers,super,sortcompress]{natbib}
\usepackage{natmove}
\usepackage{url}
\usepackage{minted}
\usepackage{underscore}
\usepackage[linktocpage,pdfstartview=FitH,colorlinks,
linkcolor=blue,anchorcolor=blue,
citecolor=blue,filecolor=blue,menucolor=blue,urlcolor=blue]{hyperref}
\usepackage{attachfile}
\usepackage{parskip}

Notice the \usepackage[T1]{fontenc} and \usepackage{textcomp}.

What am I doing wrong?

Thanks,
Roger







Re: [O] Change default latex packages

2014-05-06 Thread John Kitchin
Isn't that what it is supposed to be like? what were you expecting
differently?

John

---
John Kitchin
Associate Professor
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
http://kitchingroup.cheme.cmu.edu



On Tue, May 6, 2014 at 6:37 AM, Roger Mason rma...@mun.ca wrote:

 Hello again,

 On 05/05/14 12:31, John Kitchin wrote:

 (setq org-latex-default-packages-alist

  I thought I had this fixed, but apparently not.

 Here's what I have in my .emacs:


 (setq org-latex-default-packages-alist
   '((AUTO inputenc t)
 ( lmodern nil)
 (T1 fontenc nil)

 ( fixltx2e nil)
 ;( charter nil) ;; a decent font
 ;(expert mathdesign nil)
 ( graphicx t)
 ( longtable nil)
 ( float nil)
 ( wrapfig nil)
 ( rotating  nil)
 (normalem ulem t)
 ( amsmath t)
 ( textcomp nil)

 ( marvosym t)
 ( wasysym t)
 ( amssymb t)
 ( amsmath t)
 (version=3 mhchem t)
 (numbers,super,sortcompress natbib t)
 ( natmove nil)
 ( url t)
 ( minted nil)
 ( underscore t)
 (linktocpage,pdfstartview=FitH,colorlinks,
 linkcolor=blue,anchorcolor=blue,
 citecolor=blue,filecolor=blue,menucolor=blue,urlcolor=blue
  hyperref nil)
 ( attachfile nil)))

 Notice (T1 fontenc nil) and ( textcomp nil).

 Here's the latex output:

 \documentclass[11pt]{article}
 \usepackage[utf8]{inputenc}
 \usepackage{lmodern}
 \usepackage[T1]{fontenc}
 \usepackage{fixltx2e}
 \usepackage{graphicx}
 \usepackage{longtable}
 \usepackage{float}
 \usepackage{wrapfig}
 \usepackage{rotating}
 \usepackage[normalem]{ulem}
 \usepackage{amsmath}
 \usepackage{textcomp}
 \usepackage{marvosym}
 \usepackage{wasysym}
 \usepackage{amssymb}
 \usepackage{amsmath}
 \usepackage[version=3]{mhchem}
 \usepackage[numbers,super,sortcompress]{natbib}
 \usepackage{natmove}
 \usepackage{url}
 \usepackage{minted}
 \usepackage{underscore}
 \usepackage[linktocpage,pdfstartview=FitH,colorlinks,
 linkcolor=blue,anchorcolor=blue,
 citecolor=blue,filecolor=blue,menucolor=blue,urlcolor=blue]{hyperref}
 \usepackage{attachfile}
 \usepackage{parskip}

 Notice the \usepackage[T1]{fontenc} and \usepackage{textcomp}.

 What am I doing wrong?

 Thanks,
 Roger








[O] Weird behavior in `org-agenda-redo' and/or `org-mobile-push'

2014-05-06 Thread Konstantin Kliakhandler
Hello,

[This behavior appears in a previous and the following org versions:
Org-mode version 8.2.6 (8.2.6-14-g063c8b-elpa @
/home/kosta/.emacs.d/elpa/org-20140505/)]

I recently began seeing weird behavior when trying to run `org-mobile-push'
in an agenda buffer; It appears the files are indeed pushed, but at the end
I get an error: (wrong-type-argument arrayp nil)

This only happens when I attempt to push from an agenda buffer - if I push
in a regular org buffer, everything works.

The stack trace is:
org-agenda-filter-apply(nil category)
org-agenda-redo()
org-mobile-push()

where the `org-agenda-filter-apply' call is from this sexp in
`org-agenda-redo':
(and (or cat-filter cat-preset) (org-agenda-filter-apply cat-filter
'category))

And cat-filter, cat-preset are set in a let* form higher up in
org-agenda-redo as (their values are included):

(cat-filter org-agenda-category-filter)
nil
(cat-preset (get 'org-agenda-category-filter :preset-filter))
(+Academic)

When I start emacs or even look at the agenda,
(get 'org-agenda-category-filter :preset-filter) always evaluates to nil
(up to the point where I eval `org-mobile-push'). It gets set in
`org-mobile-create-sumo-agenda', which is called at some point from
`org-mobile-push' before `org-agenda-redo'.

Apparently this started happening after I added the following custom agenda
command:

(z All academic agenda items alltodo 
 ((org-agenda-overriding-header Academic todos.)
  (org-agenda-category-filter-preset
   (quote
(+Academic)))
(org-agenda-todo-list-sublevels nil)))

Now, I have two questions/comments:
1. It appears that `org-agenda-filter-apply' expects an array, and an array
always evaluates to togical t (As far as I remember, have just checked). If
this is the case, in the following sexp (from `org-agenda-filter-apply'):
(and (or cat-filter cat-preset) (org-agenda-filter-apply cat-filter
'category)) why is the (or cat-filter cat-preset)? It seems that either
`cat-filter' is an array, in which case it is (possibly) valid to pass it
to `org-agenda-filter-apply', or is nil, in which case it isn't. What role
does cat-preset play here?
2. It appears to me that `org-mobile-create-sumo-agenda' does not work
entirely correctly, as it leaves some properties set that were not set
before it ran?

Ok, so after writing the last two questions, I looked into
`org-agenda-filter-apply', and it appears that it expects a list of strings
of the form +cat or -cat, which is what `cat-preset' holds at this
point.

Changing
(and (or cat-filter cat-preset) (org-agenda-filter-apply cat-filter
'category))
to
(and (or cat-filter cat-preset) (org-agenda-filter-apply (or cat-filter
cat-preset) 'category))
as a check and reevaling the defun makes org-mobile-push complete with no
errors even when ran from an agenda buffer. Note however:
1. There are several more similar lines in org-agenda-redo, which I suspect
also need to be checked.
2. After org-mobile-push, a category filter is applied to the agenda buffer
(+Academic), despite the original agenda buffer having no such filter, so
it seems that something is broken in `org-mobile-create-sumo-agenda'
regardless.

I found a (somewhat) relevant post here:
http://thread.gmane.org/gmane.emacs.orgmode/57481
If what I wrote makes sense, let me know and I will submit a patch for
`org-agenda-filter-apply', and if I figure out how to fix
`org-mobile-create-sumo-agenda', for that as well.

Thanks,
Kosta


Re: [O] Bibliography woes!

2014-05-06 Thread Ken Mankoff

On 2014-05-06 at 03:33, Rainer M Krug wrote:
 Ken Mankoff mank...@gmail.com writes:
 I've found latexmk to be the best tool for compiling LaTeX
 documents.

 This sounds very interesting. Could you please provide some details on
 how you use latexmk? Do you use any special options?

My ~/.latexmkrc file is below. It appears I have extra functions for
making glossaries and working with PythonTeX. There is plenty of support
for latexmk on TeX.SE
https://tex.stackexchange.com/questions/tagged/latexmk

Since I turn on preview_continuous_mode in my ~/.latexmkrc, I need to
explicitly turn it off if I am calling latexmk from Org, hence the
-pvc- option here:

(setq org-latex-pdf-process (list /usr/texbin/latexmk -f -gg -pvc- %f))

But as I said, I find I prefer to bring up a terminal in the directory
where I am working, and dedicate it to running 'latexmk' in continuous
monitoring mode. When I want to clean up a project I'll run latexmk -c
file.tex to discard all of the temporary files. I have Skim.app or
Preview.app (OS X PDF viewers) open the PDF file. I edit Org files,
export to LaTeX (C-c C-e l l), and then keep working while the PDF
regenerates. 

  -k.



# BEGIN ~/.latexmkrc

$pdf_mode = 1;
$preview_continuous_mode = 1;
$new_viewer_always = 1;
$silent = 1; # don't stop on errors
$verbose = 0;
#$halt_on_error = 1;

$clean_ext = 'bbl run.xml %R-blx.bib acn glo xdy synctex.gz';

# continue past errors
$force_mode = 1; 
$shell_escape = 1;

# shell escape
$pdflatex = 'pdflatex --shell-escape -file-line-error -synctex=1 %O %S';

# $pdf_previewer = 'open -a /Applications/Preview.app';
$pdf_previewer = 'open -a /Users/mankoff/local/Applications/Skim.app';

# Sage:
# http://permalink.gmane.org/gmane.comp.mathematics.sage.support/17166

# glossaries 
http://tex.stackexchange.com/questions/1226/how-to-make-latexmk-use-makeglossaries
add_cus_dep('glo', 'gls', 0, 'makeglo2gls');
sub makeglo2gls {
system(makeindex -s '$_[0]'.ist -t '$_[0]'.glg -o '$_[0]'.gls 
'$_[0]'.glo);
}

# PythonTeX
add_cus_dep('pytxcode', 'pyg', 0, 'pythontexcompile');
sub pythontexcompile {
system(pythontex.py $_[0]);
}





Re: [O] Bibliography woes!

2014-05-06 Thread Rainer M Krug
Ken Mankoff mank...@gmail.com writes:

 On 2014-05-06 at 03:33, Rainer M Krug wrote:
 Ken Mankoff mank...@gmail.com writes:
 I've found latexmk to be the best tool for compiling LaTeX
 documents.

 This sounds very interesting. Could you please provide some details on
 how you use latexmk? Do you use any special options?

 My ~/.latexmkrc file is below. It appears I have extra functions for
 making glossaries and working with PythonTeX. There is plenty of support
 for latexmk on TeX.SE
 https://tex.stackexchange.com/questions/tagged/latexmk

 Since I turn on preview_continuous_mode in my ~/.latexmkrc, I need to
 explicitly turn it off if I am calling latexmk from Org, hence the
 -pvc- option here:

 (setq org-latex-pdf-process (list /usr/texbin/latexmk -f -gg -pvc- %f))

 But as I said, I find I prefer to bring up a terminal in the directory
 where I am working, and dedicate it to running 'latexmk' in continuous
 monitoring mode. When I want to clean up a project I'll run latexmk -c
 file.tex to discard all of the temporary files. I have Skim.app or
 Preview.app (OS X PDF viewers) open the PDF file. I edit Org files,
 export to LaTeX (C-c C-e l l), and then keep working while the PDF
 regenerates. 

Thanks a lot - this gives me some ideas on how to use it. I also prefer
the terminal approach, and I am using it at the moment, but with no
additional parameters.

Cheers,

Rainer


   -k.



 # BEGIN ~/.latexmkrc

 $pdf_mode = 1;
 $preview_continuous_mode = 1;
 $new_viewer_always = 1;
 $silent = 1;   # don't stop on errors
 $verbose = 0;
 #$halt_on_error = 1;

 $clean_ext = 'bbl run.xml %R-blx.bib acn glo xdy synctex.gz';

 # continue past errors
 $force_mode = 1; 
 $shell_escape = 1;

 # shell escape
 $pdflatex = 'pdflatex --shell-escape -file-line-error -synctex=1 %O %S';

 # $pdf_previewer = 'open -a /Applications/Preview.app';
 $pdf_previewer = 'open -a /Users/mankoff/local/Applications/Skim.app';

 # Sage:
 # http://permalink.gmane.org/gmane.comp.mathematics.sage.support/17166

 # glossaries 
 http://tex.stackexchange.com/questions/1226/how-to-make-latexmk-use-makeglossaries
 add_cus_dep('glo', 'gls', 0, 'makeglo2gls');
 sub makeglo2gls {
 system(makeindex -s '$_[0]'.ist -t '$_[0]'.glg -o '$_[0]'.gls 
 '$_[0]'.glo);
 }

 # PythonTeX
 add_cus_dep('pytxcode', 'pyg', 0, 'pythontexcompile');
 sub pythontexcompile {
 system(pythontex.py $_[0]);
 }



-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug

PGP: 0x0F52F982


pgp7ZOH9UdIFy.pgp
Description: PGP signature


Re: [O] Seeking advice on a worg contribution

2014-05-06 Thread James Harkins

On May 6, 2014 6:15:35 PM Bastien b...@gnu.org wrote:


The formatting looks fine to me!
Please go ahead and push it on Worg.


Ok! I guess I should add some links to the new page too?


Propose a diff against this CSS:
  http://orgmode.org/worg/style/worg.css

adding text properties (like font-size, for example?) to a new
.figure p {...} class.


Ahh... The #+HTML_HEAD is good to know, but *this* is the droid I was 
looking for. Thanks!


hjh

Sent with AquaMail for Android
http://www.aqua-mail.com





[O] Bug report (the hard way!)

2014-05-06 Thread Dave Pawson
From: DaveP dpawson@localhost.localdomain
To: emacs-orgmode@gnu.org
Subject: Bug: org.html possible error? [7.9.3f
(release_7.9.3f-17-g7524ef @ /usr/share/emacs/24.3/lisp/org/)]
Date: Mon, 05 May 2014 12:10:41 +0100
Message-ID: 
87vbtkbhvy.fsf@localhost.localdomain.i-did-not-set--mail-host-address--so-tickle-me
--text follows this line--

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.

  org.html - org-mode documentation

Section 4.2 Internal links
  intimates (not clearly IMHO) that the target for a link in same file
  is marked as target  yet a bad link offers to create one as
  * #target
  It is either wrong or unclear?
  regards DaveP dave.paw...@gmail.com

Emacs  : GNU Emacs 24.3.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.10.8)
 of 2014-04-18 on buildvm-19.phx2.fedoraproject.org
Package: Org-mode version 7.9.3f (release_7.9.3f-17-g7524ef @
/usr/share/emacs/24.3/lisp/org/)

current state:
==
(setq
 org-export-preprocess-before-selecting-backend-code-hook
'(org-beamer-select-beamer-code)
 org-tab-first-hook '(org-hide-block-toggle-maybe
org-src-native-tab-command-maybe
org-babel-hide-result-toggle-maybe
org-babel-header-arg-expand)
 org-speed-command-hook '(org-speed-command-default-hook
org-babel-speed-command-hook)
 org-occur-hook '(org-first-headline-recenter)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-export-preprocess-before-normalizing-links-hook
'(org-remove-file-link-modifiers)
 org-confirm-shell-link-function 'yes-or-no-p
 org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc
org-beamer-auto-fragile-frames
org-beamer-place-default-actions-for-lists)
 org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
org-src-mode-configure-edit-buffer)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-babel-pre-tangle-hook '(save-buffer)
 org-mode-hook '(#[nil \300\301\302\303\304$\207
[org-add-hook change-major-mode-hook org-show-block-all
append local]
5]
#[nil \300\301\302\303\304$\207
[org-add-hook change-major-mode-hook
org-babel-show-result-all append local]
5]
org-babel-result-hide-spec org-babel-hide-all-hashes
(lambda nil (define-key org-mode-map [f5] (quote lit-start))
(define-key org-mode-map [f6] (quote lit-end)))
)
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point
org-babel-execute-safely-maybe)
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
org-cycle-show-empty-lines
org-optimize-window-after-visibility-change)
 org-export-latex-format-toc-function 'org-export-latex-format-toc-default
 org-export-blocks '((src org-babel-exp-src-block nil)
(export-comment org-export-blocks-format-comment t)
(ditaa org-export-blocks-format-ditaa nil)
(dot org-export-blocks-format-dot nil))
 org-export-first-hook '(org-beamer-initialize-open-trackers)
 org-export-interblocks '((src org-babel-exp-non-block-elements))
 org-confirm-elisp-link-function 'yes-or-no-p
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 )


-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk



[O] ML -- gmane busted?

2014-05-06 Thread Nick Dokos

I haven't seen anything new on the list for a day or two (either through
gnus or on the web). OTOH, I'm receiving digests as usual from the list
in email so that is working. Is something broken on the gmane side
perhaps? Does anybody else have this problem?

Thanks,
-- 
Nick





Re: [O] Seeking advice on a worg contribution

2014-05-06 Thread Bastien
James Harkins jamshar...@gmail.com writes:

 On May 6, 2014 6:15:35 PM Bastien b...@gnu.org wrote:

 The formatting looks fine to me!
 Please go ahead and push it on Worg.

 Ok! I guess I should add some links to the new page too?

Yes -- depends on where you put it of course.

 Propose a diff against this CSS:
   http://orgmode.org/worg/style/worg.css

 adding text properties (like font-size, for example?) to a new
 .figure p {...} class.

 Ahh... The #+HTML_HEAD is good to know, but *this* is the droid I was
 looking for. Thanks!

You're welcome,

-- 
 Bastien



Re: [O] exporting α/β to latex/pdf

2014-05-06 Thread Suvayu Ali
Hi Rustom,

On Tue, May 06, 2014 at 08:21:18AM +0530, Rustom Mody wrote:
 Suvayu said:
 
 The easiest solution is to use a modern TeX engine like XeTeX or LuaTeX
  along with a font with the required glyphs.  I personally use XeTeX with
  Linux libertine fonts.  You can find my setup here:
 
  https://github.com/suvayu/.emacs.d/blob/master/org-mode-config.el#L176
 
 
 I am interested in switching over to xetex. I find however that things dont
 work very easily and googleing around I find that some fixes are needed. eg
 http://ledgersmb.org/faq/xelatex

I'm not sure what that FAQ is telling me.  It seems to me, it talks
about some Perl libraries that use LaTeX.  If that is the case, then I
can understand why that would be more involved.  After all it is
probably accessing more low-level features.

 
 Do you also need to do these? Or is there something more generic/uptodate?

From a users perspective (I just call `xelatex' from the terminal, no
fancy stuff), I found I need to do the same amount of searching as I did
with pdfLaTeX.  This is entirely driven by gaps in my LaTeX
understanding.

That said, there are cases where it has fewer features/bugs (I listed a
few in my earlier email).

Does that answer your question in anyway?  If you faced any specific
issues, I would be interested to know more.

Cheers,

-- 
Suvayu

Open source is the future. It sets us free.



[O] export section body but not section title

2014-05-06 Thread Ken Mankoff

Is there a way (tag?) in Org to export the body but not the
title/heading? For example,

* Section 1   :noexport:
  Some Text
* Section 2
  Some more text

Would not export the Some Text or any part of Section 1. I'd like to
export the Some Text text, just not the title Section 1. 

Use Case: More sections and collapsability in the Org doc makes
writing/organizing easier, but the journal format doesn't allow any
sections except one (Supplemental Material). 

Is this supported in Org as-is, or does it require a bit of Lisp code?
I'd be happy for a LaTeX-specific solution.

  -k.




[O] [BUG] in export and ':eval never' with :session

2014-05-06 Thread Rainer M Krug
I resend this bug, as I think it is in the exporter engine.

The error is back:

When one header in a subtree which has the header argument 
:eval never
has the same name as in a following subtree which should be evaluated on
export, the second subtree is not exported. When the name of the header
is changed, the subtree is exported as expected.

--8---cut here---start-8---
#+PROPERTY: exports both
#+PROPERTY: session *tmp_R*

* Some non-evaluated code
:PROPERTIES:
:eval:  never
:END:
** This is the same header
#+BEGIN_SRC R
cat(\ntwo\n)
#+END_SRC

* Data Assessment Results
** This is the same header
If the name of the header is changed, the subtree is evaluated on export.
#+begin_src R
cat(\nhere it is \n)
#+end_src
--8---cut here---end---8---
 
Org-mode version 8.2.6 (release_8.2.6-920-gc6d698 @ 
/Users/rainerkrug/.emacs.d/org-mode/lisp/)
GNU Emacs 24.3.1 (x86_64-apple-darwin13.0.0, Carbon Version 1.6.0 AppKit 1265) 
of 2014-02-13 on Rainers-MacBook-Pro-2.local

Cheers,

Rainer

-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug

PGP: 0x0F52F982


pgpTtDxFBUmca.pgp
Description: PGP signature


pgpsyHO7gzMXe.pgp
Description: PGP signature


Re: [O] ML -- gmane busted?

2014-05-06 Thread Igor Sosa Mayor
On 6 May 2014 14:17, Nick Dokos n...@dokosmarshall.org wrote:


 I haven't seen anything new on the list for a day or two (either through
 gnus or on the web). OTOH, I'm receiving digests as usual from the list
 in email so that is working. Is something broken on the gmane side
 perhaps? Does anybody else have this problem?


yes, I have the same problem. The last message in gmane is  2014-05-04
21:06:55 GMT (1 day, 16 hours and 39 minutes ago). But this is not only a
problem of this list, as far as I see...


Re: [O] Bibliography woes! SOLVED.

2014-05-06 Thread Sharon Kimble

John.
Thank you for a most informative and useful post. Using your method
I've just created the cat.org with 14 bibliographic records! I've
amended it slightly, which I'll document in line. 

John Hendy jw.he...@gmail.com writes:

 On Mon, May 5, 2014 at 5:23 PM, Sharon Kimble
 boudic...@skimble.plus.com wrote:
 Eric S Fraga e.fr...@ucl.ac.uk writes:


 [...]


 and this is the bibliography file
 @Article{,

 change this line to

   @Article{1,

 although I would recommend a more description label personally...

 I've set it up with the articles author and year, but it is still
 failing. I'm attaching the original org file, the generated tex and
 pdf, and the bib file. Hopefully this will help find a solution?

 I've been following this from a distance, as I'm interested in
 eventually getting into this. I would kindly ask that you slow down
 your pace, check things over, and proceed *simply* to solve your
 problem. Eric advocated using @Article{1, ...

 Without ever having used biblatex, I immediately wondered whether a
 comma delimited bibliography would tolerate:

 @Article{MacRae K, et al;2002, ...

 The answer is that it will not. You also have multiple lines loading
 the same package:

 #+LaTeX_HEADER: \usepackage{biblatex}
 #+LATEX_HEADER:
 \usepackage[citestyle=authoryear-icomp,bibstyle=authoryear,hyperref=true,backref=true,maxcitenames=3,url=true,backend=biber,natbib=true]{biblatex}
 # #+LaTeX_HEADER: \usepackage[backend=bibtex,style=verbose]{biblatex}

 Lastly, I would highly suggest limiting your requests for help to
 extremely simple examples. For example, remove packages that do not
 affect the behavior of the problem, such as bussproofs, babel,
 fancyhdr, etc.

 I was able to get your file working via the following method:

 - Modified cat.bib:

 @Article{1,
   author = {MacRae K. Pattison J.},
   title = {Home chemotherapy.},
   journaltitle = {Nursing Times},
   year = {2002},
   key = {1},
   volume = {98},
   number = {35},
   pages = {34-35},
 }

 - Modified/shortened/simplified cat.org:

 # -*- mode:org; mode:reftex; indent-tabs-mode:nil; tab-width:2 -*-
 #+OPTIONS: toc:nil num:nil ^:{}
 #+TITLE: Cat on the mat - 2014
 #+AUTHOR: Sharon Kimble  Sarah ?
 #+LATEX_CLASS: article
 #+LATEX_CLASS_OPTIONS: [a4paper]
 #+LaTeX_HEADER: 
 \usepackage[backend=biber,style=verbose,style=numeric]{biblatex}
 #+LaTeX_HEADER: \bibliography{/home/jwhendy/Downloads/cat.bib} %%% -
 change this path
 #+LaTeX_HEADER: \bibliography{cat


 * Chapter 1
 Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy
 nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.\cite{1}

 * Bibliography
 \printbibliography

 Note that you needed to load biblatex before your bibliography (which
 you sort of did, but then re-loaded it with a bunch of options and
 then perhaps again at the end depending on how Org deals with the #
 symbol before #+ lines. You can tweak the options to biblatex however
 you'd like; I just simplified a bit to single down to one line loading
 it.

 \bibliography needed to call the file cat, not bibliography.

 In addition, I had to run C-c C-e l p to export to latex, then check
 the buffer *Org PDF LaTeX Output* for messages regarding the failed
 citation. It suggested to run biber on the file cat, which I did from
 the command line.

When you add references to cat.bib you have to run C-c C-e l p
again to generate cat.blg.

 # note that I saved all your stuff in my download folder
 $ cd ~/Downloads
 $ biber cat

 Make sure you have the biber executable installed. I didn't know
 anything about it and thought biblatex might provide it. I had to
 explicitly install biber. You should be a path as the response to the
 following if you have it:

 $ which biber

 Running biber generated .bbl.

Then run biber cat on the command line to generate cat.bbl. Then
you can run C-c C-e l p on cat.org which generates cat.pdf
which includes the bibliography! Yahay! Success! 

 Then, re-running C-c C-e l p from Org works for me (at least I think;
 see attached to verify).

 Lastly, when I encountered an error, I googled to find out what to do:
 - Using biber: http://tex.stackexchange.com/questions/26516/how-to-use-biber
 - Why \bibliography was giving me an error:
 http://kb.mit.edu/confluence/pages/viewpage.action?pageId=3907111

 If this works, someone can chime in regarding how to modify Org so
 that it will run the necessary biber/biblatex commands so you don't
 have to jump to a command line every time. Or perhaps that's a one
 time thing -- maybe as long as biber generates the .bbl file, you can
 refer to anything you want in that file from then on?

If you have this in your .emacs
--8---cut here---start-8---
;; org to latex customisations, -shell-escape needed for minted
(setq org-export-dispatch-use-expert-ui t ; non-intrusive export dispatch
  org-latex-pdf-process ; for regular export
  '(xelatex -shell-escape 

Re: [O] Change default latex packages

2014-05-06 Thread Roger Mason

hello,

On 05/06/14 11:48, John Kitchin wrote:
no, I think nil means it is not needed to make latex fragments  of 
equations.


John
OK, thanks.  So, back to my original question: how do I control the list 
of packages exported into a LaTeX document?


Thanks,
Roger



Re: [O] Seeking advice on a worg contribution

2014-05-06 Thread James Harkins

On Tuesday, May 6, 2014 6:08:10 PM HKT, Bastien wrote:

If not, what do I have to do to make it do that? (At least, display
the captions slightly smaller.)


Propose a diff against this CSS:
  http://orgmode.org/worg/style/worg.css

adding text properties (like font-size, for example?) to a new
.figure p {...} class.


Here's a patch for worg.css. Captions for source code blocks are rendered 
as label... in the HTML export, with the class name org-src-name. I 
checked in Firefox, and it does change the appearance of the captions.


It's getting kind of late here and I'm running out of steam, so I'll deal 
with the links and pushing the text tomorrow.


hjh
From 67961f8baa13318e846c6b09f38f779ae8665c90 Mon Sep 17 00:00:00 2001
From: James Harkins jamshar...@dewdrop-world.net
Date: Tue, 6 May 2014 22:35:10 +0800
Subject: [PATCH] Add class definition for label.org-src-name for source-block
 captions

---
 style/worg.css |5 +
 1 file changed, 5 insertions(+)

diff --git a/style/worg.css b/style/worg.css
index 2553546..1807f28 100644
--- a/style/worg.css
+++ b/style/worg.css
@@ -926,6 +926,11 @@ content: *** 
 .rss_item a:hover {}
 .rss_date {}
 
+label.org-src-name {
+	font-size: 80%;
+	font-style: italic;
+}
+
 #show_source {margin: 0; padding: 0;}
 
 #postamble {
-- 
1.7.9.5



[O] Bug??

2014-05-06 Thread Susan Cragin
Hi. I got error messages on my compiles relating to the documents, starting perhaps yesterday or the day before. I re-downloaded the repo and updated my depends files, to no avail.This is just FYI.Done (Total of 108 files compiled, 3 skipped)make[2]: Leaving directory '/home/susan/org-mode/lisp'make[1]: Leaving directory '/home/susan/org-mode/lisp'make -C doc infomake[1]: Entering directory '/home/susan/org-mode/doc'org-version: 8.2.6 (release_8.2.6-945-gc80509)makeinfo --no-split org.texi -o orgmake[1]: makeinfo: Command not foundMakefile:55: recipe for target 'org' failedmake[1]: *** [org] Error 127make[1]: Leaving directory '/home/susan/org-mode/doc'mk/targets.mk:126: recipe for target 'info' failedmake: *** [info] Error 2





Re: [O] Bug??

2014-05-06 Thread Maurice
Hi,

Susan Cragin susancra...@earthlink.net écrivit :

 Hi. I got error messages on my compiles relating to the documents, starting
 perhaps yesterday or the day before. 
 I re-downloaded the repo and updated my depends files, to no avail. 
 This is just FYI.

 Done (Total of 108 files compiled, 3 skipped)
 make[2]: Leaving directory '/home/susan/org-mode/lisp'
 make[1]: Leaving directory '/home/susan/org-mode/lisp'
 make -C doc info
 make[1]: Entering directory '/home/susan/org-mode/doc'
 org-version: 8.2.6 (release_8.2.6-945-gc80509)
 makeinfo --no-split org.texi -o org
***
 make[1]: makeinfo: Command not found
***
 Makefile:55: recipe for target 'org' failed
 make[1]: *** [org] Error 127
 make[1]: Leaving directory '/home/susan/org-mode/doc'
 mk/targets.mk:126: recipe for target 'info' failed
 make: *** [info] Error 2

This is not an org-mode problem, now on your machine you are missing the program
makeinfo.

Maurice



Re: [O] Weird behavior in `org-agenda-redo' and/or `org-mobile-push'

2014-05-06 Thread Konstantin Kliakhandler
While investigating the previous issue, I came upon this code:

;;;###autoload
(defun org-store-agenda-views (rest parameters)
  Store agenda views.
  (interactive)
  (eval (list 'org-batch-store-agenda-views)))

I guess there is some advantage over the following, simpler version?

;;;###autoload
(defun org-store-agenda-views (rest parameters)
  Store agenda views.
  (interactive)
  (org-batch-store-agenda-views))

If so, what is it?

Thanks in advance for furthering my education,
Kosta

--
Konstantin Kliakhandler
http://slumpy.org
  )°) )°( (°(


On Tue, May 6, 2014 at 2:00 PM, Konstantin Kliakhandler ko...@slumpy.orgwrote:

 Hello,

 [This behavior appears in a previous and the following org versions:
 Org-mode version 8.2.6 (8.2.6-14-g063c8b-elpa @
 /home/kosta/.emacs.d/elpa/org-20140505/)]

 I recently began seeing weird behavior when trying to run
 `org-mobile-push' in an agenda buffer; It appears the files are indeed
 pushed, but at the end I get an error: (wrong-type-argument arrayp nil)

 This only happens when I attempt to push from an agenda buffer - if I push
 in a regular org buffer, everything works.

 The stack trace is:
 org-agenda-filter-apply(nil category)
 org-agenda-redo()
 org-mobile-push()

 where the `org-agenda-filter-apply' call is from this sexp in
 `org-agenda-redo':
 (and (or cat-filter cat-preset) (org-agenda-filter-apply cat-filter
 'category))

 And cat-filter, cat-preset are set in a let* form higher up in
 org-agenda-redo as (their values are included):

 (cat-filter org-agenda-category-filter)
 nil
 (cat-preset (get 'org-agenda-category-filter :preset-filter))
 (+Academic)

 When I start emacs or even look at the agenda,
 (get 'org-agenda-category-filter :preset-filter) always evaluates to nil
 (up to the point where I eval `org-mobile-push'). It gets set in
 `org-mobile-create-sumo-agenda', which is called at some point from
 `org-mobile-push' before `org-agenda-redo'.

 Apparently this started happening after I added the following custom
 agenda command:

 (z All academic agenda items alltodo 
  ((org-agenda-overriding-header Academic todos.)
   (org-agenda-category-filter-preset
(quote
 (+Academic)))
 (org-agenda-todo-list-sublevels nil)))

 Now, I have two questions/comments:
 1. It appears that `org-agenda-filter-apply' expects an array, and an
 array always evaluates to togical t (As far as I remember, have just
 checked). If this is the case, in the following sexp (from
 `org-agenda-filter-apply'): (and (or cat-filter cat-preset)
 (org-agenda-filter-apply cat-filter 'category)) why is the (or cat-filter
 cat-preset)? It seems that either `cat-filter' is an array, in which case
 it is (possibly) valid to pass it to `org-agenda-filter-apply', or is nil,
 in which case it isn't. What role does cat-preset play here?
 2. It appears to me that `org-mobile-create-sumo-agenda' does not work
 entirely correctly, as it leaves some properties set that were not set
 before it ran?

 Ok, so after writing the last two questions, I looked into
 `org-agenda-filter-apply', and it appears that it expects a list of strings
 of the form +cat or -cat, which is what `cat-preset' holds at this
 point.

 Changing
 (and (or cat-filter cat-preset) (org-agenda-filter-apply cat-filter
 'category))
 to
 (and (or cat-filter cat-preset) (org-agenda-filter-apply (or cat-filter
 cat-preset) 'category))
 as a check and reevaling the defun makes org-mobile-push complete with no
 errors even when ran from an agenda buffer. Note however:
 1. There are several more similar lines in org-agenda-redo, which I
 suspect also need to be checked.
 2. After org-mobile-push, a category filter is applied to the agenda
 buffer (+Academic), despite the original agenda buffer having no such
 filter, so it seems that something is broken in
 `org-mobile-create-sumo-agenda' regardless.

 I found a (somewhat) relevant post here:
 http://thread.gmane.org/gmane.emacs.orgmode/57481
 If what I wrote makes sense, let me know and I will submit a patch for
 `org-agenda-filter-apply', and if I figure out how to fix
 `org-mobile-create-sumo-agenda', for that as well.

 Thanks,
 Kosta



Re: [O] Change default latex packages

2014-05-06 Thread John Kitchin
just delete the packages you don't what from (setq
org-latex-default-packages-ali
st
  '((AUTO inputenc t)
( lmodern nil)
(T1 fontenc nil)

( fixltx2e nil)
;( charter nil) ;; a decent font
;(expert mathdesign nil)
( graphicx t)
( longtable nil)
( float nil)
( wrapfig nil)
( rotating  nil)
(normalem ulem t)
( amsmath t)
( textcomp nil)
( marvosym t)
( wasysym t)
( amssymb t)
( amsmath t)
(version=3 mhchem t)
(numbers,super,sortcompress natbib t)
( natmove nil)
( url t)
( minted nil)
( underscore t)
(linktocpage,pdfstartview=Fit
H,colorlinks,
linkcolor=blue,anchorcolor=blue,
citecolor=blue,filecolor=blue,menucolor=blue,urlcolor=blue
 hyperref nil)
( attachfile nil)))

John

---
John Kitchin
Associate Professor
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
http://kitchingroup.cheme.cmu.edu



On Tue, May 6, 2014 at 10:23 AM, Roger Mason rma...@mun.ca wrote:

 hello,


 On 05/06/14 11:48, John Kitchin wrote:

 no, I think nil means it is not needed to make latex fragments  of
 equations.

 John

 OK, thanks.  So, back to my original question: how do I control the list
 of packages exported into a LaTeX document?

 Thanks,
 Roger



Re: [O] Change default latex packages

2014-05-06 Thread Roger Mason


Thanks!  Dunno why I was too stunned to try the obvious.

Cheers,
Roger

On 05/06/14 13:53, John Kitchin wrote:
just delete the packages you don't what from (setq 
org-latex-default-packages-ali

st
  '((AUTO inputenc t)
( lmodern nil)
(T1 fontenc nil)

( fixltx2e nil)
;( charter nil) ;; a decent font
;(expert mathdesign nil)
( graphicx t)
( longtable nil)
( float nil)
( wrapfig nil)
( rotating  nil)
(normalem ulem t)
( amsmath t)
( textcomp nil)
( marvosym t)
( wasysym t)
( amssymb t)
( amsmath t)
(version=3 mhchem t)
(numbers,super,sortcompress natbib t)
( natmove nil)
( url t)
( minted nil)
( underscore t)
(linktocpage,pdfstartview=Fit
H,colorlinks,
linkcolor=blue,anchorcolor=blue,
citecolor=blue,filecolor=blue,menucolor=blue,urlcolor=blue
 hyperref nil)
( attachfile nil)))

John






[O] How to generate an index?

2014-05-06 Thread Sharon Kimble

Now I've got the bibliography working I'm looking at getting indexes
to be generated.

Using my long-suffering cat.org with this code in my .emacs
--8---cut here---start-8---
;; org to latex customisations, -shell-escape needed for minted
(setq org-export-dispatch-use-expert-ui t ; non-intrusive export dispatch
  org-latex-pdf-process ; for regular export
  '(xelatex -shell-escape -interaction nonstopmode -output-directory %o %f
biber %b
xelatex -shell-escape -interaction nonstopmode -output-directory %o %f
xelatex -shell-escape -interaction nonstopmode -output-directory %o 
%f))
--8---cut here---end---8---

and this is my cat.org
--8---cut here---start-8---
# -*- mode:org; mode:reftex; indent-tabs-mode:nil; tab-width:2 -*-
#+OPTIONS: toc:nil num:nil
#+OPTIONS: ^:{}
#+TITLE: Cat on the mat - 2014
#+AUTHOR: Sharon Kimble.
#+LATEX_CMD: xelatex
#+LATEX_CLASS: article
#+LATEX_CLASS_OPTIONS: [a4paper]
#+LaTeX_HEADER: \usepackage{makeidx} %robustindex % Indexing
#+LaTeX_HEADER: \usepackage[backend=biber,style=verbose,style=numeric]{biblatex}
#+LaTeX_HEADER: \bibliography{cat}
#+LATEX_HEADER: \usepackage[colorlinks=true]{hyperref}
\makeindex
\pagebreak
\makeindex
\begin{document}
* Chapter 1
Lorem ipsum dolor sit amet, consectetuer \cite{5} adipiscing elit, sed diam 
nonummy
nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi
enim ad minim veniam \cite{15}.

* Chapter 2
Lorem ipsum dolor sit amet, consectetuer \cite{7} adipiscing elit, sed diam
nonummy nibh euismod tincidunt ut laoreet dolore magna\index{magna} aliquam
erat volutpat. Ut wisi enim ad minim veniam,\cite{1} quis nostrud exerci
tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo
consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit
esse molestie consequat\cite{12}.

\printbibliography

\printindex

\end{document}
--8---cut here---end---8---

And I run C-c C-e l p to generate the cat.tex and the cat.pdf,
but no cat.idx or cat.aux is generated. I've tried running C-c
C-e l l three times then generating the cat.pdf but I can't get
one generated.

I've googled and looked in the Org Manual but haven't found how
to do it. Can anyone help please?

Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, Fluxbox 1.3.5, emacs 24.4.50.19


signature.asc
Description: PGP signature


Re: [O] Weird behavior in `org-agenda-redo' and/or `org-mobile-push'

2014-05-06 Thread Konstantin Kliakhandler
Ok, I don't know specifically why the code in the last message was
necessary, but I realized the difference between the two cases (in the
first case, the macro is expanded every time the function is called,
whereas in the second it is expanded once, when the function is defined).

I also fixed the problems in both org-agenda.el and am including the patch.

Thanks,
Kosta


--
Konstantin Kliakhandler
http://slumpy.org
  )°) )°( (°(


On Tue, May 6, 2014 at 6:54 PM, Konstantin Kliakhandler ko...@slumpy.orgwrote:

 While investigating the previous issue, I came upon this code:

 ;;;###autoload
 (defun org-store-agenda-views (rest parameters)
   Store agenda views.
   (interactive)
   (eval (list 'org-batch-store-agenda-views)))

 I guess there is some advantage over the following, simpler version?

 ;;;###autoload
 (defun org-store-agenda-views (rest parameters)
   Store agenda views.
   (interactive)
   (org-batch-store-agenda-views))

 If so, what is it?

 Thanks in advance for furthering my education,
 Kosta

 --
 Konstantin Kliakhandler
 http://slumpy.org
   )°) )°( (°(


 On Tue, May 6, 2014 at 2:00 PM, Konstantin Kliakhandler 
 ko...@slumpy.orgwrote:

 Hello,

 [This behavior appears in a previous and the following org versions:
 Org-mode version 8.2.6 (8.2.6-14-g063c8b-elpa @
 /home/kosta/.emacs.d/elpa/org-20140505/)]

 I recently began seeing weird behavior when trying to run
 `org-mobile-push' in an agenda buffer; It appears the files are indeed
 pushed, but at the end I get an error: (wrong-type-argument arrayp nil)

 This only happens when I attempt to push from an agenda buffer - if I
 push in a regular org buffer, everything works.

 The stack trace is:
 org-agenda-filter-apply(nil category)
 org-agenda-redo()
 org-mobile-push()

 where the `org-agenda-filter-apply' call is from this sexp in
 `org-agenda-redo':
 (and (or cat-filter cat-preset) (org-agenda-filter-apply cat-filter
 'category))

 And cat-filter, cat-preset are set in a let* form higher up in
 org-agenda-redo as (their values are included):

 (cat-filter org-agenda-category-filter)
 nil
 (cat-preset (get 'org-agenda-category-filter :preset-filter))
 (+Academic)

 When I start emacs or even look at the agenda,
 (get 'org-agenda-category-filter :preset-filter) always evaluates to nil
 (up to the point where I eval `org-mobile-push'). It gets set in
 `org-mobile-create-sumo-agenda', which is called at some point from
 `org-mobile-push' before `org-agenda-redo'.

 Apparently this started happening after I added the following custom
 agenda command:

 (z All academic agenda items alltodo 
  ((org-agenda-overriding-header Academic todos.)
   (org-agenda-category-filter-preset
(quote
 (+Academic)))
 (org-agenda-todo-list-sublevels nil)))

 Now, I have two questions/comments:
 1. It appears that `org-agenda-filter-apply' expects an array, and an
 array always evaluates to togical t (As far as I remember, have just
 checked). If this is the case, in the following sexp (from
 `org-agenda-filter-apply'): (and (or cat-filter cat-preset)
 (org-agenda-filter-apply cat-filter 'category)) why is the (or cat-filter
 cat-preset)? It seems that either `cat-filter' is an array, in which case
 it is (possibly) valid to pass it to `org-agenda-filter-apply', or is nil,
 in which case it isn't. What role does cat-preset play here?
 2. It appears to me that `org-mobile-create-sumo-agenda' does not work
 entirely correctly, as it leaves some properties set that were not set
 before it ran?

 Ok, so after writing the last two questions, I looked into
 `org-agenda-filter-apply', and it appears that it expects a list of strings
 of the form +cat or -cat, which is what `cat-preset' holds at this
 point.

 Changing
 (and (or cat-filter cat-preset) (org-agenda-filter-apply cat-filter
 'category))
 to
 (and (or cat-filter cat-preset) (org-agenda-filter-apply (or cat-filter
 cat-preset) 'category))
 as a check and reevaling the defun makes org-mobile-push complete with no
 errors even when ran from an agenda buffer. Note however:
 1. There are several more similar lines in org-agenda-redo, which I
 suspect also need to be checked.
 2. After org-mobile-push, a category filter is applied to the agenda
 buffer (+Academic), despite the original agenda buffer having no such
 filter, so it seems that something is broken in
 `org-mobile-create-sumo-agenda' regardless.

 I found a (somewhat) relevant post here:
 http://thread.gmane.org/gmane.emacs.orgmode/57481
 If what I wrote makes sense, let me know and I will submit a patch for
 `org-agenda-filter-apply', and if I figure out how to fix
 `org-mobile-create-sumo-agenda', for that as well.

 Thanks,
 Kosta



From d03aa078723a1e30b7238ab76aee673032e8d453 Mon Sep 17 00:00:00 2001
From: Konstantin Kliakhandler ko...@slumpy.org
Date: Tue, 6 May 2014 21:04:20 +0300
Subject: [PATCH] Fixed bad behavior of org-agenda-redo and
 org-batch-store-agenda-views.

---
 lisp/ChangeLog |  5 +
 

Re: [O] How to generate an index?

2014-05-06 Thread John Hendy
On Tue, May 6, 2014 at 1:32 PM, Sharon Kimble
boudic...@skimble.plus.com wrote:

 Now I've got the bibliography working I'm looking at getting indexes
 to be generated.

 Using my long-suffering cat.org with this code in my .emacs
 --8---cut here---start-8---
 ;; org to latex customisations, -shell-escape needed for minted
 (setq org-export-dispatch-use-expert-ui t ; non-intrusive export dispatch
   org-latex-pdf-process ; for regular export
   '(xelatex -shell-escape -interaction nonstopmode -output-directory %o 
 %f
 biber %b
 xelatex -shell-escape -interaction nonstopmode -output-directory %o 
 %f
 xelatex -shell-escape -interaction nonstopmode -output-directory %o 
 %f))
 --8---cut here---end---8---

 and this is my cat.org
 --8---cut here---start-8---
 # -*- mode:org; mode:reftex; indent-tabs-mode:nil; tab-width:2 -*-
 #+OPTIONS: toc:nil num:nil
 #+OPTIONS: ^:{}
 #+TITLE: Cat on the mat - 2014
 #+AUTHOR: Sharon Kimble.
 #+LATEX_CMD: xelatex
 #+LATEX_CLASS: article
 #+LATEX_CLASS_OPTIONS: [a4paper]
 #+LaTeX_HEADER: \usepackage{makeidx} %robustindex % Indexing
 #+LaTeX_HEADER: 
 \usepackage[backend=biber,style=verbose,style=numeric]{biblatex}
 #+LaTeX_HEADER: \bibliography{cat}
 #+LATEX_HEADER: \usepackage[colorlinks=true]{hyperref}
 \makeindex
 \pagebreak
 \makeindex
 \begin{document}
 * Chapter 1
 Lorem ipsum dolor sit amet, consectetuer \cite{5} adipiscing elit, sed diam 
 nonummy
 nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi
 enim ad minim veniam \cite{15}.

 * Chapter 2
 Lorem ipsum dolor sit amet, consectetuer \cite{7} adipiscing elit, sed diam
 nonummy nibh euismod tincidunt ut laoreet dolore magna\index{magna} aliquam
 erat volutpat. Ut wisi enim ad minim veniam,\cite{1} quis nostrud exerci
 tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo
 consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit
 esse molestie consequat\cite{12}.

 \printbibliography

 \printindex

 \end{document}
 --8---cut here---end---8---

 And I run C-c C-e l p to generate the cat.tex and the cat.pdf,
 but no cat.idx or cat.aux is generated. I've tried running C-c
 C-e l l three times then generating the cat.pdf but I can't get
 one generated.

 I've googled and looked in the Org Manual but haven't found how
 to do it. Can anyone help please?

Org is great, but I steer away from looking for Org documentation when
LaTeX isn't working. Like others have mentioned, figure out the LaTeX
first, then figure out how to make Org do your LaTeX bidding.

Did you read through/follow some start-to-finish instructions on how
to generate indexes with LaTeX? I've never done it, but just googling
generate index latex gets me this:
- http://en.wikibooks.org/wiki/LaTeX/Indexing

Looks like you have most of what it suggests:
1) \usepackage{makeidx}
2) \makeindex in preamble (though I'm not sure why you have it twice)
3) \printindex to show the index

What I don't see of it's suggestions are:
1) Use \index{key} to tell it /what/ to index. What are you hoping
shows up in your index? Looks like LaTeX has no idea what words to
spit out unless you tell it!
2) Looks like you still might have to run `makeindex cat` after
compiling with LaTeX?

Re. that last bit, can you try replacing your opening bit with:

* Chapter 1
\index{Lorem} ipsum dolor...

Then:
- Run C-c C-e l p (hopefully that spits out a .idx file since there's
at least one word you want to index)
- Run `makeindex cat`, which will process the hopefully-output file,
cat.idx from the previous step
- Re-run C-c C-e l p from Org

If that doesn't work, I'd still try LaTeX manually before posting back. So:
- pdflatex cat
- biber cat
- makeindex cat
- pdflatex cat

Or something like that for your full bib/index workflow. Then, if
successful, someone can tell you how to get Org to call the right
LaTeX stuff.


John


 Sharon.
 --
 A taste of linux = http://www.sharons.org.uk
 my git repo = https://bitbucket.org/boudiccas/dots
 TGmeds = http://www.tgmeds.org.uk
 Debian testing, Fluxbox 1.3.5, emacs 24.4.50.19



Re: [O] Using KOMA and Memoir?

2014-05-06 Thread Martin Schöön
On 6 May 2014 09:34, Eric S Fraga e.fr...@ucl.ac.uk wrote:

 On Monday,  5 May 2014 at 22:23, Martin Schöön wrote:

 [...]

  Thanks Eric, that was quick. I will try it but not tonight, too
  tired. And

 I hope it works for you.  Let us know how you get on.


No luck thus far. I added your code to my .emacs but left the #+begin_src
and #+end_src lines out since I figured they have no purpose in .emacs.

I the altered #+latex_class: article to #+latex_class: komaarticle in my
org-file.
Whe trying to export it I am told komaarticle is not a known Latex class. I
then wrapped that line in #+begin_src org #+end_src which, of course, didn't
work.


  I have to figure out what an org customisation file is. So far I have
 only
  modified my .emacs.

 putting the latex classes entry in your .emacs is fine.  there's no need
 for any other file.  it's just that some of us have so much
 initialisation code that we use several files instead of just .emacs.

 Sounds like a pretty good idea, even for me.

 
  Sorry for my brevity. What I tried was the first thing I could think of:
  #+LATEX_CLASS: memoir
  end
  #+LATEX_CLASS: scrartcl
  neithor of which worked.

 indeed.  the name given here must match one of the entries in
 org-latex-classes, not necessarily the same name as the actual LaTeX
 class.  A little confusing, unfortunately.
 --
 : Eric S Fraga (0xFFFCF67D), Emacs 24.3.1, Org release_8.2.6-937-g60502a



-- 
Martin Schöön

http://hem.bredband.net/b262106/index.html


[O] [ANN] Gnorb: Glue code between Gnus, Org, and BBDB

2014-05-06 Thread Eric Abrahamsen
Hello all,

I've spent the past couple weeks organizing various bits of code into a
proper package, called Gnorb, which I'm billing as Glue code between
Gnus, Org, and BBDB. The main point is to reduce friction between these
three packages, making it easier to sling around emails, TODOs,
attachments, and the like, and providing multiple views on information.

https://github.com/girzel/gnorb

Most of these bits fall under the category of things you could have
written yourself, but taken together I've found that they really smooth
out my daily work flow. Some features:

- Whang attachments from Gnus messages onto Org headings, using org-attach.
- Automate the above as part of the org capture process
- Email contents of org subtree under point (prompt for export routine)
- Single-keystroke Org links or email citations of BBDB contacts
- Initiate search of emails from contacts in open BBDB buffer
- Initiate Org agenda tag search from BBDB buffer
- Inverse of the above: pop up a BBDB buffer alongside an Org tags search
- Treat headings as email-related TODOs, and handle them DWIM-style

See the README.org for more. Most of these are single-use small
snippets, but the last I've found particularly useful. A typical flow
would go like this: you have a capture template that looks like:

(r Reply entry (file+headline ~/org/notes.org Emails)
 ** REPLY %a %? :gnus-attachments t)

Use this template to capture from an email in the Gnus summary buffer.
You're prompted to attach the message attachments to the new heading,
and while you're there you decide to add BBDB links to people who should
also be in on the reply. You end up with this:

** REPLY [[gnus:link]] and also send to [[bbdb:bob]] and [[bbdb:jane]] :ATTACH:
   :PROPERTIES: (attachments and all that)

Then call `gnorb-org-handle-mail' on this headline in an Org or Agenda
buffer. A reply is started to the Gnus message, Bob and Jane are added
to the To header, and you're prompted to attach the attachments to the
outgoing message (presumably you've edited them). When the message is
sent you're returned to the original Org buffer and prompted to mark the
TODO as done. Next email!

The current version of this thing is Works on My Computer (Beta). I
would love bug reports, but would love feature requests even more! I'm
currently working on getting BBDB to store links to the last N messages
from any given contact. Also, how best to model email conversations
using TODO state-changes, log entries, and links.

I'm sure there's plenty more fun to be had, though.

Eric




[O] One broken property drawer prevents setting of any property

2014-05-06 Thread Eric Abrahamsen
Looks like gmane's down for a bit, but presumably this will
eventually go through.

As I mentioned in the last message, if any property drawer in an org
file is malformed, it makes it impossible to set properties on any other
heading in the file. This is because, before the property is set, the
file is scanned for other valid property keys, and when the scanning
process hits the malformed drawer, it errors out.

The attached file, opened from emacs -Q, is enough to cause the error.
Trying to set a property on the second heading gives:

Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil)
  org-buffer-property-keys(nil t t)
  org-read-property-name()
  org-set-property(nil nil)
  call-interactively(org-set-property nil nil)

`org-buffer-property-keys' contains a call to `org-get-property-block',
which returns nil on a broken property drawer, and leads to the type
argument above.

By passing the FORCE argument to `org-get-property-block', the broken
block ends up getting silently repaired, and everything works as normal.
I'm not sure, however, that silently repairing things without the user's
knowledge is the right thing to do...

Eric



test.org
Description: Lotus Organizer


[O] Disabling overstrike (+) inside formulas

2014-05-06 Thread Jarmo Hurri

Greetings.

I have LaTeX macros in which I regularly use a plus sign in a
parameter. This is currently interpreted as an attempt to overstrike in
org:

--
* testing
  $1\text{+}2$ creates an overstrike $\text{+}$
--

Would it be possible to turn off (by default) the interpretation of +
as an overstrike delimiter inside a formula?

All the best,

Jarmo




Re: [O] Typeface markup and punctuation

2014-05-06 Thread Bastien


Hi Sergio,

Sergio Pokrovskij
sergio.pokrovskij-re5jqeeqqe8avxtiumw...@public.gmane.org writes:

 This is Org version 7.9.3f (GNU Emacs 24.3).

This is an old version of Org -- but chances are that the problems you
report are also here in Org 8.2.6.

This is a general issue that requires infrastructure work, we don't
know yet when this will be done.

-- 
 Bastien




Re: [O] Heading vs Headline

2014-05-06 Thread Bastien


Hi Sébastien,

Sebastien Vauban sva-news-D0wtAvR13HarG/idocf...@public.gmane.org
writes:

 I have the impression that both terms (heading and headline) are
 synonyms. Though, is this true, or is there some subtle nuance?

I tend to use headline when I want to suggest it can fold, and
heading when I want to refer to the contents of the headline.

This is all a bit intuitive, but I don't think this is a problem.

-- 
 Bastien




Re: [O] Using KOMA and Memoir?

2014-05-06 Thread Suvayu Ali
On Tue, May 06, 2014 at 09:41:27PM +0200, Martin Schöön wrote:
 On 6 May 2014 09:34, Eric S Fraga e.fr...@ucl.ac.uk wrote:
 
  On Monday,  5 May 2014 at 22:23, Martin Schöön wrote:
 
  [...]
 
   Thanks Eric, that was quick. I will try it but not tonight, too
   tired. And
 
  I hope it works for you.  Let us know how you get on.
 
 
 No luck thus far. I added your code to my .emacs but left the #+begin_src
 and #+end_src lines out since I figured they have no purpose in .emacs.

The #+begin_src, #+end_src, is to clearly separate the lisp source in
the email (many posters to this list use Org syntax in emails).

 I the altered #+latex_class: article to #+latex_class: komaarticle in my
 org-file.
 Whe trying to export it I am told komaarticle is not a known Latex class.

Did you restart Emacs after that?

-- 
Suvayu

Open source is the future. It sets us free.



Re: [O] export section body but not section title

2014-05-06 Thread Suvayu Ali
On Tue, May 06, 2014 at 09:19:22AM -0400, Ken Mankoff wrote:
 
 Is there a way (tag?) in Org to export the body but not the
 title/heading? For example,
 
 * Section 1   :noexport:
   Some Text
 * Section 2
   Some more text
 
 Would not export the Some Text or any part of Section 1. I'd like to
 export the Some Text text, just not the title Section 1. 
 
 Use Case: More sections and collapsability in the Org doc makes
 writing/organizing easier, but the journal format doesn't allow any
 sections except one (Supplemental Material). 
 
 Is this supported in Org as-is, or does it require a bit of Lisp code?
 I'd be happy for a LaTeX-specific solution.

With the filter shown here:

https://github.com/suvayu/.emacs.d/blob/master/org-mode-config.el#L279

You should be able to ignore the headlines by tagging them with
`ignoreheading'.

I have not tested this snippet in a long time, so you might need to
revise it to get it to work.

Hope this helps,

-- 
Suvayu

Open source is the future. It sets us free.



Re: [O] Bug??

2014-05-06 Thread Suvayu Ali
On Tue, May 06, 2014 at 05:28:23PM +0200, Maurice wrote:
 Susan Cragin susancra...@earthlink.net écrivit :

  make[1]: Entering directory '/home/susan/org-mode/doc'
  org-version: 8.2.6 (release_8.2.6-945-gc80509)
  makeinfo --no-split org.texi -o org
 ***
  make[1]: makeinfo: Command not found
 ***
  Makefile:55: recipe for target 'org' failed
  make[1]: *** [org] Error 127
  make[1]: Leaving directory '/home/susan/org-mode/doc'
  mk/targets.mk:126: recipe for target 'info' failed
  make: *** [info] Error 2
 
 This is not an org-mode problem, now on your machine you are missing the 
 program
 makeinfo.

And usually makeinfo is provided by the texinfo package.

-- 
Suvayu

Open source is the future. It sets us free.



Re: [O] Disabling overstrike (+) inside formulas

2014-05-06 Thread Suvayu Ali
On Tue, May 06, 2014 at 03:55:38PM +0300, Jarmo Hurri wrote:
 
 I have LaTeX macros in which I regularly use a plus sign in a
 parameter. This is currently interpreted as an attempt to overstrike in
 org:
 
 --
 * testing
   $1\text{+}2$ creates an overstrike $\text{+}$
 --
 
 Would it be possible to turn off (by default) the interpretation of +
 as an overstrike delimiter inside a formula?

Conditionally disabling it should be possible using filters, but I think
it can be very clunky and could break from time to time.  If you do not
use strike-throughs, I would suggest turning it off entirely.  I think
(my Org-foo is a bit rusty) you can do that by removing it from
`org-emphasis-alist'.

Hope this helps,

-- 
Suvayu

Open source is the future. It sets us free.



Re: [O] exporting α/β to latex/pdf

2014-05-06 Thread Nick Dokos
Clément B. clem...@inventati.org writes:

 The *easiest* solution is to just say \alpha and \beta in the org file
 instead of α and β. But biting the bullet and adopting XeTeX or LuaTeX is
 probably the *best* way to go (he says without ever having used either...)

 For those who stick with pdflatex, you can also use α directly in
 the org document, and define

 #+latex_header: \usepackage[utf8]{inputenc}
 #+latex_header: \declareunicodecharacter{03b1}{α}

 Provided your file is indeed encoded in utf-8 (but why would you use
 any other encoding?)

 This simply tells the compiler to bind α to the unicode character
 greek small letter alpha (U+03B1). If there is a lot of unicode in
 the document, XeTeX/LuaTeX are definitely better choices.



But that's not quite right: you end up with a circular definition (and
both pdflatex and plain latex think so: they infloop).

One way to fix it using a math alpha:

--8---cut here---start-8---
#+LATEX_HEADER: \DeclareUnicodeCharacter{03b1}{\(\alpha\)}
--8---cut here---end---8---

Another is to use \textalpha and a package that defines it:

--8---cut here---start-8---
#+LATEX_HEADER: \usepackage{textgreek}
#+LATEX_HEADER: \DeclareUnicodeCharacter{03b1}{\textalpha}
--8---cut here---end---8---

but then you have to install the package (and possibly some fonts as
well).

Nick

PS. So happy that gmane is back :-)






[O] ob-lua.el

2014-05-06 Thread dieter
hi all,
for a project I need to tangle lua files (including parameters and tables),
and there seems to be no ob-lua.el (yet).
so I shamelessly copied ob-python.el and adapted it to my needs.
right now it can tangle lua, also with simple or table parameters.
if anybody is interested, I can upload it.
before that, it should maybe be completed, and also pass some generic
tangle test, I think.
I have shortly looked at testing/examples/ob-shell-test.org. Is a test like
this suitable?
kind regards,
dieter


Re: [O] ML -- gmane busted?

2014-05-06 Thread Bastien
Igor Sosa Mayor joseleopoldo1...@gmail.com writes:

 yes, I have the same problem. The last message in gmane is 
 2014-05-04 21:06:55 GMT (1 day, 16 hours and 39 minutes ago). But
 this is not only a problem of this list, as far as I see...

I sent an email to Lars and it's now fixed.

-- 
 Bastien



Re: [O] ob-lua.el

2014-05-06 Thread Bastien
Hi Dieter,

die...@schoen.or.at writes:

 for a project I need to tangle lua files (including parameters and
 tables),
 and there seems to be no ob-lua.el (yet).

 so I shamelessly copied ob-python.el and adapted it to my needs.
 right now it can tangle lua, also with simple or table parameters.

 if anybody is interested, I can upload it.

Yes, please do!

 before that, it should maybe be completed, and also pass some generic
 tangle test, I think.
 I have shortly looked at testing/examples/ob-shell-test.org. Is a
 test like this suitable?

I suggest to look at testing/lisp/test-ob-shell.el.

HTH,

-- 
 Bastien



Re: [O] using org-refile to sort research notes?

2014-05-06 Thread Kyle Meyer
Hi Jay,

Jay Dixit di...@aya.yale.edu wrote:
[...]
 2. What's the best way to do this? Should I add all of my chapter.org files
 to the agenda using org-agenda-file-to-front? I ask because these are not
 TODO headings, just headings with notes and quotes, so I'm not sure if
 using org-agenda functionality is appropriate.
 3. I am also learning to use org-agenda, so I do have a work.org file that
 has my TODO tasks in it. Is there a way to temporarily remove my
 work.orgTODO headings from the refile targets for when I'm sorting my
 book notes?

Here are a couple other approaches you can consider.

As mentioned in other responses, the best way depends on your preference
for structuring your Org files. I prefer to keep project-specific files
separate from my general agenda files. If I capture something in my
agenda files that I want to refile to a non-agenda file, I use a few
functions [1] for temporarily setting `org-refile-targets'.

If you are repeatedly refiling to certain targets (but still want to
keep them separate from you're global refiling targets), you can define
a function that overrides `org-refile-targets' and then bind it to a
key.

Another solution, if you are only refiling between files within your
book chapter directory, is to use a .dir-locals.el file in your book
directory and set `org-refile-targets' there.

  ((org-mode . ((org-refile-targets . (... project settings ...)


[1] 
https://github.com/kyleam/emacs.d/blob/b15ba9f8250c433b621da023f7607cbf29c25581/lisp/init-org.el#L221-L254

--
Kyle



Re: [O] ob-lua.el

2014-05-06 Thread John Busch
I'm VERY interested!

Regards,
John V. Busch

From: emacs-orgmode-bounces+jbusch=dataverve@gnu.org 
[emacs-orgmode-bounces+jbusch=dataverve@gnu.org] on behalf of 
die...@schoen.or.at [die...@schoen.or.at]
Sent: Tuesday, May 6, 2014 6:34 PM
To: emacs-orgmode@gnu.org
Subject: [O] ob-lua.el

hi all,

for a project I need to tangle lua files (including parameters and tables),
and there seems to be no ob-lua.el (yet).

so I shamelessly copied ob-python.el and adapted it to my needs.
right now it can tangle lua, also with simple or table parameters.

if anybody is interested, I can upload it.
before that, it should maybe be completed, and also pass some generic tangle 
test, I think.
I have shortly looked at testing/examples/ob-shell-test.org. Is a test like 
this suitable?

kind regards,
dieter



Re: [O] [RFC] Rewrite indentation functions

2014-05-06 Thread Eric Abrahamsen
Bastien b...@gnu.org writes:

 Hi Nicolas,

 Nicolas Goaziou n.goaz...@gmail.com writes:

 I would like to install the following patches on master.

 Please go ahead, that's the easiest way to get more feedback and Eric
 did half the job already, so we must be good.

 Thanks for working on this,

I've been running all the three new versions of the patches for a few
days now, and haven't succeeded in breaking anything!




[O] [ANN] Gnorb: Glue code between Gnus, Org, and BBDB

2014-05-06 Thread Eric Abrahamsen
[this didn't seem to make it through the list hiccup yesterday, sending again]

Hello all,

I've spent the past couple weeks organizing various bits of code into a
proper package, called Gnorb, which I'm billing as Glue code between
Gnus, Org, and BBDB. The main point is to reduce friction between these
three packages, making it easier to sling around emails, TODOs,
attachments, and the like, and providing multiple views on information.

https://github.com/girzel/gnorb

Most of these bits fall under the category of things you could have
written yourself, but taken together I've found that they really smooth
out my daily work flow. Some features:

- Whang attachments from Gnus messages onto Org headings, using org-attach.
- Automate the above as part of the org capture process
- Email contents of org subtree under point (prompt for export routine)
- Single-keystroke Org links or email citations of BBDB contacts
- Initiate search of emails from contacts in open BBDB buffer
- Initiate Org agenda tag search from BBDB buffer
- Inverse of the above: pop up a BBDB buffer alongside an Org tags search
- Treat headings as email-related TODOs, and handle them DWIM-style

See the README.org for more. Most of these are single-use small
snippets, but the last I've found particularly useful. A typical flow
would go like this: you have a capture template that looks like:

(r Reply entry (file+headline ~/org/notes.org Emails)
 ** REPLY %a %? :gnus-attachments t)

Use this template to capture from an email in the Gnus summary buffer.
You're prompted to attach the message attachments to the new heading,
and while you're there you decide to add BBDB links to people who should
also be in on the reply. You end up with this:

** REPLY [[gnus:link]] and also send to [[bbdb:bob]] and [[bbdb:jane]] :ATTACH:
   :PROPERTIES: (attachments and all that)

Then call `gnorb-org-handle-mail' on this headline in an Org or Agenda
buffer. A reply is started to the Gnus message, Bob and Jane are added
to the To header, and you're prompted to attach the attachments to the
outgoing message (presumably you've edited them). When the message is
sent you're returned to the original Org buffer and prompted to mark the
TODO as done. Next email!

The current version of this thing is Works on My Computer (Beta). I
would love bug reports, but would love feature requests even more! I'm
currently working on getting BBDB to store links to the last N messages
from any given contact. Also, how best to model email conversations
using TODO state-changes, log entries, and links.

I'm sure there's plenty more fun to be had, though.

Eric




Re: [O] [ANN] Gnorb: Glue code between Gnus, Org, and BBDB

2014-05-06 Thread Thomas S. Dye
Aloha Eric,

Perfect timing! 

OS X Mavericks broke the workflow I'd developed with Contacts and I've
been looking to jettison the only Mac App I ever really used.  My
earlier experiments with bbdb generated lots of friction.  I'm looking
forward to the time needed to explore gnorb.

Thanks,
Tom

Eric Abrahamsen e...@ericabrahamsen.net writes:

 [this didn't seem to make it through the list hiccup yesterday, sending again]

 Hello all,

 I've spent the past couple weeks organizing various bits of code into a
 proper package, called Gnorb, which I'm billing as Glue code between
 Gnus, Org, and BBDB. The main point is to reduce friction between these
 three packages, making it easier to sling around emails, TODOs,
 attachments, and the like, and providing multiple views on information.

 https://github.com/girzel/gnorb

 Most of these bits fall under the category of things you could have
 written yourself, but taken together I've found that they really smooth
 out my daily work flow. Some features:

 - Whang attachments from Gnus messages onto Org headings, using org-attach.
 - Automate the above as part of the org capture process
 - Email contents of org subtree under point (prompt for export routine)
 - Single-keystroke Org links or email citations of BBDB contacts
 - Initiate search of emails from contacts in open BBDB buffer
 - Initiate Org agenda tag search from BBDB buffer
 - Inverse of the above: pop up a BBDB buffer alongside an Org tags search
 - Treat headings as email-related TODOs, and handle them DWIM-style

 See the README.org for more. Most of these are single-use small
 snippets, but the last I've found particularly useful. A typical flow
 would go like this: you have a capture template that looks like:

 (r Reply entry (file+headline ~/org/notes.org Emails)
  ** REPLY %a %? :gnus-attachments t)

 Use this template to capture from an email in the Gnus summary buffer.
 You're prompted to attach the message attachments to the new heading,
 and while you're there you decide to add BBDB links to people who should
 also be in on the reply. You end up with this:

 ** REPLY [[gnus:link]] and also send to [[bbdb:bob]] and [[bbdb:jane]] 
 :ATTACH:
:PROPERTIES: (attachments and all that)

 Then call `gnorb-org-handle-mail' on this headline in an Org or Agenda
 buffer. A reply is started to the Gnus message, Bob and Jane are added
 to the To header, and you're prompted to attach the attachments to the
 outgoing message (presumably you've edited them). When the message is
 sent you're returned to the original Org buffer and prompted to mark the
 TODO as done. Next email!

 The current version of this thing is Works on My Computer (Beta). I
 would love bug reports, but would love feature requests even more! I'm
 currently working on getting BBDB to store links to the last N messages
 from any given contact. Also, how best to model email conversations
 using TODO state-changes, log entries, and links.

 I'm sure there's plenty more fun to be had, though.

 Eric




-- 
Thomas S. Dye
http://www.tsdye.com



Re: [O] [ANN] Gnorb: Glue code between Gnus, Org, and BBDB

2014-05-06 Thread Eric Abrahamsen
t...@tsdye.com (Thomas S. Dye) writes:

 Aloha Eric,

 Perfect timing! 

 OS X Mavericks broke the workflow I'd developed with Contacts and I've
 been looking to jettison the only Mac App I ever really used.  My
 earlier experiments with bbdb generated lots of friction.  I'm looking
 forward to the time needed to explore gnorb.

Let me know how it works out! Someone wrote to say I hadn't mentioned
package compatibility. I run the dev versions of all three of Gnus, Org,
and BBDB, which means BBDB 3! I'll make sure it works with the most
recent stable releases of those packages, though.

I know a lot of people still haven't moved to from BBDB 2 to 3, and it's
past time! I'd be happy to provide pointers if anyone's looking to take
the plunge.

Eric




[O] Managing bibtex database using org-mode?

2014-05-06 Thread Vikas Rawal

I was wondering if anyone has tried managing the whole bibtex database in Org. 

Would be interested to know.

Vikas




Re: [O] ML -- gmane busted?

2014-05-06 Thread Igor Sosa Mayor
Bastien b...@gnu.org writes:

 I sent an email to Lars and it's now fixed.

thanks!




Re: [O] Using KOMA and Memoir?

2014-05-06 Thread Martin Schöön
On 6 May 2014 23:28, Suvayu Ali fatkasuvayu+li...@gmail.com wrote:

 On Tue, May 06, 2014 at 09:41:27PM +0200, Martin Schöön wrote:

  I the altered #+latex_class: article to #+latex_class: komaarticle in my
  org-file.
  Whe trying to export it I am told komaarticle is not a known Latex class.

 Did you restart Emacs after that?


Yes. No better.
And I had restarted emacs after editing .emacs before I started working on
my org-document.

-- 
Martin Schöön

http://hem.bredband.net/b262106/index.html