emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to make the 4 level heading '****' to 'subsubsection' in latex export
@ 2017-05-10 14:01 XP Chen
  2017-05-10 16:15 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: XP Chen @ 2017-05-10 14:01 UTC (permalink / raw)
  To: emacs-orgmode

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

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.








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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to make the 4 level heading '****' to 'subsubsection' in latex export
  2017-05-10 14:01 How to make the 4 level heading '****' to 'subsubsection' in latex export XP Chen
@ 2017-05-10 16:15 ` Nicolas Goaziou
  2017-05-11  2:55   ` XP Chen
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2017-05-10 16:15 UTC (permalink / raw)
  To: XP Chen; +Cc: emacs-orgmode

Hello,

"XP Chen" <chxp_moon@163.com> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to make the 4 level heading '****' to 'subsubsection' in latex export
  2017-05-10 16:15 ` Nicolas Goaziou
@ 2017-05-11  2:55   ` XP Chen
  0 siblings, 0 replies; 3+ messages in thread
From: XP Chen @ 2017-05-11  2:55 UTC (permalink / raw)
  To: emacs-orgmode

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

Thanks, That's the key,

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







在2017年05月11 00时15分, "Nicolas Goaziou"<mail@nicolasgoaziou.fr>写道:

Hello,

"XP Chen" <chxp_moon@163.com> 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


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-05-11  3:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-10 14:01 How to make the 4 level heading '****' to 'subsubsection' in latex export XP Chen
2017-05-10 16:15 ` Nicolas Goaziou
2017-05-11  2:55   ` XP Chen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).