[O] superflous blank line in capture

2017-05-10 Thread Jay Dresser

A little bug in capture I think.

I am using this template:

("a" "Add Nag" entry (file+headline "~/Org/jay.org" "Nags") "* %?\nSCHEDULED: 
%T\nDEADLINE: %T\n:PROPERTIES:\n:CATEGORY: Urgent\n:APPT_WARNTIME: 10m\n:END:" 
:prepend t)

This behaves correctly. If I am near the destination before I invoke, I
can see that it inserts as shown but with a blank line after the ":END:"
line. After I finish with C-c C-c, that blank line goes away.

However when I use this template:

("a" "Add Nag" entry (file+headline "~/Org/jay.org" "Nags") "* %?\nSCHEDULED: 
%T\nDEADLINE: %T\n:PROPERTIES:\n:CATEGORY: Urgent\n:APPT_WARNTIME: 10m\n:END:" 
:prepend t :unnarrowed t)

It also inserts the blank line, but when I finish with C-c C-c the blank
line remains. I assume that the behavior should not be different in this
way just because of the narrowing.

--
Jay Dresser



Re: [O] How to make the 4 level heading '****' to 'subsubsection' in latex export

2017-05-10 Thread XP Chen
Thanks, That's the key,

Also set "#+OPTIONS:  H:4" is  ok







在2017年05月11 00时15分, "Nicolas Goaziou"写道:

Hello,

"XP Chen"  writes:

> I add follow lines in .emacs:
>
> (add-to-list 'org-latex-classes
>  '("thesis1"
>"\\documentclass{thesis1}"
> ("\\chapter{%s}" . "\\chapter*{%s}")
> ("\\section{%s}" . "\\section*{%s}")
> ("\\subsection{%s}" . "\\subsection*{%s}")
> ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
> ("\\paragraph{%s}" . "\\paragraph*{%s}")))
> ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
>
> However it no works. The .tex have no subsubsection. Instead, it convert 
> " XX" to "\item XX" in .tex file.
>
> Is the org export can only accept 3 section? How to resolve it?

See `org-export-headline-levels'.

Regards,

--
Nicolas Goaziou



Re: [O] stable org-plus-contrib

2017-05-10 Thread Michael Alan Dorman
phillip.l...@russet.org.uk (Phillip Lord) writes:
> I would like to use some of the packages in org-plus-contrib. So, I've
> added orgmode's ELPA archive. But I find being on the bleeding edge a
> little buggy.
>
> As far as I can see, there is no "stable" ELPA package archive, so I
> have to fall back installation from git. This seems somewhat backward to
> me; installing stable with git, an unstable from package.el.
>
> Is there any way of getting stable Org that I am missing?

FWIW, the versions in the org ELPA repository, though date-versioned,
appear to only be generated for tagged versions.

Mike.



[O] stable org-plus-contrib

2017-05-10 Thread Phillip Lord


I would like to use some of the packages in org-plus-contrib. So, I've
added orgmode's ELPA archive. But I find being on the bleeding edge a
little buggy.

As far as I can see, there is no "stable" ELPA package archive, so I
have to fall back installation from git. This seems somewhat backward to
me; installing stable with git, an unstable from package.el.

Is there any way of getting stable Org that I am missing?

Phil



Re: [O] How to make the 4 level heading '****' to 'subsubsection' in latex export

2017-05-10 Thread Nicolas Goaziou
Hello,

"XP Chen"  writes:

> I add follow lines in .emacs:
>
> (add-to-list 'org-latex-classes
>  '("thesis1"
>"\\documentclass{thesis1}"
> ("\\chapter{%s}" . "\\chapter*{%s}")
> ("\\section{%s}" . "\\section*{%s}")
> ("\\subsection{%s}" . "\\subsection*{%s}")
> ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
> ("\\paragraph{%s}" . "\\paragraph*{%s}")))
> ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
>
> However it no works. The .tex have no subsubsection. Instead, it convert 
> " XX" to "\item XX" in .tex file.
>
> Is the org export can only accept 3 section? How to resolve it?

See `org-export-headline-levels'.

Regards,

-- 
Nicolas Goaziou



[O] How to make the 4 level heading '****' to 'subsubsection' in latex export

2017-05-10 Thread XP Chen
I add follow lines in .emacs:

(add-to-list 'org-latex-classes
 '("thesis1"
   "\\documentclass{thesis1}"
("\\chapter{%s}" . "\\chapter*{%s}")
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}")))
("\\subparagraph{%s}" . "\\subparagraph*{%s}")))

However it no works. The .tex have no subsubsection. Instead, it convert " 
XX" to "\item XX" in .tex file.

Is the org export can only accept 3 section? How to resolve it?

Thanks.

 Chen.