Add paragraphs
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
#+LATEX_CLASS: scrreprt
|
||||
#+LATEX_CLASS_OPTIONS: [a4paper, twoside, 11pt, onecolumn, bibliography=totoc, openright, appendixprefix=true]
|
||||
|
||||
#+OPTIONS: num:t toc:nil ':t *:t -:t ::t <:nil author:t date:t tags:nil todo:nil |:t H:2 title:nil
|
||||
#+OPTIONS: num:t toc:nil ':t *:t -:t ::t <:nil author:t date:t tags:nil todo:nil |:t H:4 title:nil
|
||||
|
||||
#+SELECT_TAGS: export
|
||||
#+EXCLUDE_TAGS: noexport
|
||||
@@ -45,10 +45,18 @@
|
||||
("\\chapter{%s}" . "\\chapter*{%s}")
|
||||
("\\section{%s}" . "\\section*{%s}")
|
||||
("\\subsection{%s}" . "\\subsection*{%s}")
|
||||
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
|
||||
("\\paragraph{%s}" . "\\paragraph*{%s}")
|
||||
))
|
||||
|
||||
|
||||
;; Remove automatic org heading labels
|
||||
(defun my-latex-filter-removeOrgAutoLabels (text backend info)
|
||||
"Org-mode automatically generates labels for headings despite explicit use of `#+LABEL`. This filter forcibly removes all automatically generated org-labels in headings."
|
||||
(when (org-export-derived-backend-p backend 'latex)
|
||||
(replace-regexp-in-string "\\\\label{sec:org[a-f0-9]+}\n" "" text)))
|
||||
(add-to-list 'org-export-filter-headline-functions
|
||||
'my-latex-filter-removeOrgAutoLabels)
|
||||
|
||||
;; Remove all org comments in the output LaTeX file
|
||||
(defun delete-org-comments (backend)
|
||||
(loop for comment in (reverse (org-element-map (org-element-parse-buffer)
|
||||
@@ -57,8 +65,6 @@
|
||||
(setf (buffer-substring (org-element-property :begin comment)
|
||||
(org-element-property :end comment))
|
||||
"")))
|
||||
|
||||
;; Add to export hook
|
||||
(add-hook 'org-export-before-processing-hook 'delete-org-comments)
|
||||
|
||||
;; Use no package by default
|
||||
@@ -151,6 +157,10 @@
|
||||
* Introduction
|
||||
* Test
|
||||
\minitoc
|
||||
**** Abstract
|
||||
|
||||
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
|
||||
|
||||
** Test
|
||||
A list:
|
||||
- acronyms acrshort:nass acrshort:mimo acrshort:lti [[acrfull:siso][Single-Input Single-Output (SISO)]]
|
||||
@@ -163,13 +173,19 @@ A definition list:
|
||||
|
||||
Some Footnote[fn:1]
|
||||
|
||||
** blabla
|
||||
*** sdlfk
|
||||
** Section
|
||||
*** Sub section
|
||||
|
||||
*** sldkjf asdf
|
||||
**** lksdfjasd
|
||||
This is a sub section.
|
||||
|
||||
*** Sub section
|
||||
Start of the sub section
|
||||
**** Paragraph
|
||||
This is a paragraph
|
||||
**** lksdfjasd
|
||||
|
||||
**** lksdfjasd
|
||||
|
||||
** blabla
|
||||
* Source Blocks
|
||||
\minitoc
|
||||
|
Reference in New Issue
Block a user