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.









Re: [O] org-capture datetree below heading?

2017-05-10 Thread Carsten Dominik
Hi Benedict,

yes, get the latest master from the git repo and read the manual for that
version.

You can also look at a recent thread with the subject

"Use of date trees in Capture has been modified"

If you cannot upgrade, just put a

 :DATE_TREE: t

property to the heading under which you want the datetree to be built.

Carsten

On Tue, May 9, 2017 at 4:46 PM, Benedikt Steindorf  wrote:

> Hi,
>
> i like to use a datetree under a headingis this somehow possible?
>
> Example:
>
> * Log
> ** 2017
> *** 2017-05
>
> My current config:
>
> (setq org-capture-templates
> '(("t" "Tasks")
>  ("tg" "Task (General)" entry (file+headline "~/org/work.org"
> "Tasks")
>"* TODO %?\n  %i\n  %a")
>  ("m" "Mehrarbeit")
>  ("mn" "Nachtschicht" entry (file+datetree+prompt
> "~/org/work.org" "Mehrarbeit")
>"** %^{Activity} :NIGHTSHIFT:")
>  ("mr" "Rufbereitschaft" entry (file+datetree+prompt
> "~/org/work.org" "Mehrarbeit")
>"** %^{Activity} :CALLOUT:")
>  ("w" "Web-Site" entry (file "~/org/web.org")
>"* TODO Review %c\n%U\n%i\n" :immediate-finish
>
>
> - Benedikt
>
>