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] 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.