update readme

This commit is contained in:
2022-01-11 02:08:02 +01:00
parent 50fd2b06ed
commit 2ffe448212
2 changed files with 288 additions and 456 deletions

323
README.md
View File

@@ -4,10 +4,8 @@
1. [Installation](#installation) 1. [Installation](#installation)
2. [Packages](#packages) 2. [Packages](#packages)
1. [Org](#org) 1. [Org](#org)
1. [HTML export](#export-html) 1. [Template for an article export (HTML and LaTeX)](#export-article)
2. [LaTeX export](#export-latex) 2. [Template for a letter export (LaTex)](#export-letter)
3. [Article export (HTML and LaTeX)](#export-article)
4. [Letter export (LaTex)](#export-letter)
2. [Multiple cursors](#multiple-cursors) 2. [Multiple cursors](#multiple-cursors)
3. [Other packages](#other-packages) 3. [Other packages](#other-packages)
3. [Information](#information) 3. [Information](#information)
@@ -57,148 +55,50 @@ General key bindings and functions
- `mouse-8` (`previous-buffer`) - `mouse-8` (`previous-buffer`)
- `mouse-9` (`next-buffer`) - `mouse-9` (`next-buffer`)
Spelling (flyspell ispell) bindings and functions
- (`flyspell-mode`) toggle spelling
- (`flyspell-buffer`)
- `C-;` (`flyspell-correct-wrapper`)
<a id="org"></a> <a id="org"></a>
## Org ## Org
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides"> Org key bindings and functions
<caption class="t-above"><span class="table-number">Table 1:</span> Org key bindings and functions</caption>
<colgroup> - `C-c |` (`org-table-create-or-convert-from-region`) convert seperator 1. TAB, 2. comma, 3. space
<col class="org-left" /> - `C-u C-c |` (`org-table-create-or-convert-from-region`) convert using comma (CSV) seperator
- `C-u C-u C-c |` (`org-table-create-or-convert-from-region`) convert using TAB
- `C-u <integer> C-c |` (`org-table-create-or-convert-from-region`) convert using N spaces
- `C-u REGEX C-c |` (`org-table-create-or-convert-from-region`) convert using regex to match seperator
- `C-c C-x \` (`org-toggle-pretty-entries`) e.g. displays `\pm` as ±
<col class="org-left" /> Org table
<col class="org-left" /> - `S-<right>` (`org-shiftright`) move cell right
</colgroup> - `S-<left>` (`org-shiftleft`) move cell left
<tbody> - `S-<up>` (`org-shiftup`) move cell up
<tr> - `S-<down>` (`org-shiftdown`) move cell down
<td class="org-left">C-c &vert;</td> - (`org-table-blank-field`) clear cell
<td class="org-left">org-table-create-or-convert-from-region</td>
<td class="org-left">convert seperator 1. TAB, 2. comma, 3. space</td>
</tr>
Org src block
<tr> - `C-c C-v t` (`org-babel-tangle`) create a file with the content of the block; use in `header:` `:tangle filename`
<td class="org-left">C-u C-c &vert;</td>
<td class="org-left">org-table-create-or-convert-from-region</td>
<td class="org-left">convert using comma (CSV) seperator</td>
</tr>
Org export
<tr> - `<f5>` (`my-org-export-html`)
<td class="org-left">C-u C-u C-c &vert;</td> - `<f6>` (`my-org-export-pdf`)
<td class="org-left">org-table-create-or-convert-from-region</td> - `C-<f5>` (`my-org-export-html-async`)
<td class="org-left">convert using TAB</td> - `C-<f6>` (`my-org-export-pdf-async`)
</tr> - `C-c C-e h h` (`org-html-export-to-html`)
- `C-c C-e T t` (`org-tufte-export-to-file`) HTML export with tufte syling
- `C-c C-e h a` (`my-org-article-html-export-to-html`) HTML-article file, see also Article export
<tr> - `C-c C-e l l` (`org-latex-export-to-pdf`)
<td class="org-left">C-u N C-c &vert;</td> - `C-c C-e l a` (`my-org-article-latex-export-to-pdf`) PDF-article file, see also Article export
<td class="org-left">org-table-create-or-convert-from-region</td> - `C-c C-e l t` (`my-org-article-latex-export-to-letter`) PDF-letter file
<td class="org-left">convert using N spaces</td>
</tr>
<tr>
<td class="org-left">C-u REGEX C-c &vert;</td>
<td class="org-left">org-table-create-or-convert-from-region</td>
<td class="org-left">convert using regex to match seperator</td>
</tr>
<tr>
<td class="org-left">C-c C-x \</td>
<td class="org-left">org-toggle-pretty-entries</td>
<td class="org-left">e. g. displays <code>\pm</code> as ±</td>
</tr>
<tr>
<td class="org-left">&#xa0;</td>
<td class="org-left">&#xa0;</td>
<td class="org-left">&#xa0;</td>
</tr>
<tr>
<td class="org-left">Org table</td>
<td class="org-left">&#xa0;</td>
<td class="org-left">&#xa0;</td>
</tr>
<tr>
<td class="org-left">S-right</td>
<td class="org-left">org-shiftright</td>
<td class="org-left">move a single cell right</td>
</tr>
<tr>
<td class="org-left">S-left</td>
<td class="org-left">org-shiftleft</td>
<td class="org-left">move a single cell left</td>
</tr>
<tr>
<td class="org-left">C-c SPC</td>
<td class="org-left">org-table-blank-field</td>
<td class="org-left">clear cell</td>
</tr>
<tr>
<td class="org-left">&#xa0;</td>
<td class="org-left">&#xa0;</td>
<td class="org-left">&#xa0;</td>
</tr>
<tr>
<td class="org-left">Org src block</td>
<td class="org-left">&#xa0;</td>
<td class="org-left">&#xa0;</td>
</tr>
<tr>
<td class="org-left">C-c C-v t</td>
<td class="org-left">org-babel-tangle</td>
<td class="org-left">create a file with the content of the block, use in header: :tangle filename</td>
</tr>
<tr>
<td class="org-left">&#xa0;</td>
<td class="org-left">&#xa0;</td>
<td class="org-left">&#xa0;</td>
</tr>
<tr>
<td class="org-left">Org export</td>
<td class="org-left">&#xa0;</td>
<td class="org-left">&#xa0;</td>
</tr>
<tr>
<td class="org-left">f5</td>
<td class="org-left">&#xa0;</td>
<td class="org-left">in org export to html</td>
</tr>
<tr>
<td class="org-left">f6</td>
<td class="org-left">&#xa0;</td>
<td class="org-left">in org export to LaTeX</td>
</tr>
</tbody>
</table>
**Important** **Important**
@@ -211,35 +111,9 @@ General key bindings and functions
- `\%` `\%%` can also be used for HTML SVG export - `\%` `\%%` can also be used for HTML SVG export
<a id="export-html"></a>
### HTML export
- `C-c C-e h h` (org-html-export-to-html) to export Org document as HTML file, i.e. no spectial settings.
- `C-c C-e T t` (org-tufte-export-to-file) to export Org document as Tufte-HTML file, i.e. with tufte syling.
- `C-c C-e h a` (my-org-article-html-export-to-html) to export Org document as HTML-article file, see also Article export
<a id="export-latex"></a>
### LaTeX export
- `C-c C-e l l` (org-latex-export-to-pdf) to export Org document as PDF file, i.e. no spectial settings.
- `C-c C-e l a` (my-org-article-latex-export-to-pdf) to export Org document as PDF-article file, see also Article export.
- `C-c C-e l t` (my-org-article-latex-export-to-letter) to export Org document as PDF-letter file.
Links
- <https://tex.stackexchange.com/questions/167583/include-custom-file-into-header-with-org-mode/201674>
- <https://orgmode.org/manual/LaTeX-specific-export-settings.html>
<a id="export-article"></a> <a id="export-article"></a>
### Article export (HTML and LaTeX) ### Template for an article export (HTML and LaTeX)
- `C-c C-e h a` (my-org-article-html-export-to-html) to export Org document as HTML-article file.
- `C-c C-e l a` (my-org-article-latex-export-to-pdf) to export Org document as PDF-article file.
Template for an article Template for an article
@@ -260,10 +134,10 @@ Template for an article
#+END_ABSTRACT #+END_ABSTRACT
* List of contents & figures & tables & listings :ignore: * List of contents & figures & tables & listings :ignore:
:PROPERTIES: :PROPERTIES:
:VISIBILITY: folded :VISIBILITY: folded
:CLEARPAGE: t :CLEARPAGE: t
:END: :END:
#+LATEX: \begin{spacing}{1.25}\begingroup\renewcommand*{\addvspace}[1]{} #+LATEX: \begin{spacing}{1.25}\begingroup\renewcommand*{\addvspace}[1]{}
#+LATEX: \clearpage #+LATEX: \clearpage
@@ -286,10 +160,10 @@ Template for an article
#+LATEX: \endgroup\end{spacing} #+LATEX: \endgroup\end{spacing}
* List of Symbols :ignore: * List of Symbols :ignore:
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: list-of-symbols :CUSTOM_ID: list-of-symbols
:UNNUMBERED: t :UNNUMBERED: t
:END: :END:
#+LATEX: \pagenumbering{arabic}\setcounter{page}{1} #+LATEX: \pagenumbering{arabic}\setcounter{page}{1}
@@ -299,22 +173,22 @@ Examples for an article
#+LANGUAGE: de #+LANGUAGE: de
* Header not listed in toc :ignore: * Header not listed in toc :ignore:
bla bla bla bla bla bla
* Section not exported :noexport: * Section not exported :noexport:
bla bla bla, this will not be exported bla bla bla, this will not be exported
* Header listed unnumbered * Header listed unnumbered
:PROPERTIES: :PROPERTIES:
:UNNUMBERED: t :UNNUMBERED: t
:END: :END:
bla bla bla bla bla bla
* Section will start on a clear page (LaTeX) * Section will start on a clear page (LaTeX)
:PROPERTIES: :PROPERTIES:
:CLEARPAGE: t :CLEARPAGE: t
:END: :END:
bla bla bla bla bla bla
# For PDF/LaTeX export we do not want to use org-ref ox-bibtex, as its output is # For PDF/LaTeX export we do not want to use org-ref ox-bibtex, as its output is
# already defined in the preamble. The output for 'bibliography:references.bib' # already defined in the preamble. The output for 'bibliography:references.bib'
@@ -324,38 +198,38 @@ Examples for an article
# ox-bibtex version # ox-bibtex version
# #+BIBLIOGRAPHY: references mbunsrtdin option:-a option:-unicode option:-nobibsource limit:t # #+BIBLIOGRAPHY: references mbunsrtdin option:-a option:-unicode option:-nobibsource limit:t
* References-en :ignore: * References-en :ignore:
:PROPERTIES: :PROPERTIES:
:VISIBILITY: folded :VISIBILITY: folded
:END: :END:
#+LATEX: \newpage\thispagestyle{plain} #+LATEX: \newpage\thispagestyle{plain}
#+LATEX: \sloppy\printbibliography #+LATEX: \sloppy\printbibliography
#+LATEX: \begin{comment} #+LATEX: \begin{comment}
#+BIBLIOGRAPHY: references acmu option:-a option:-unicode option:-nobibsource limit:t #+BIBLIOGRAPHY: references acmu option:-a option:-unicode option:-nobibsource limit:t
#+LATEX: \end{comment} #+LATEX: \end{comment}
* References-de :ignore: * References-de :ignore:
:PROPERTIES: :PROPERTIES:
:VISIBILITY: folded :VISIBILITY: folded
:END: :END:
#+LATEX: \newpage\thispagestyle{plain} #+LATEX: \newpage\thispagestyle{plain}
#+LATEX: \sloppy\printbibliography #+LATEX: \sloppy\printbibliography
#+LATEX: \begin{comment} #+LATEX: \begin{comment}
#+BIBLIOGRAPHY: references mbunsrtdin option:-a option:-unicode option:-nobibsource limit:t #+BIBLIOGRAPHY: references mbunsrtdin option:-a option:-unicode option:-nobibsource limit:t
#+LATEX: \end{comment} #+LATEX: \end{comment}
* References-rott :ignore: * References-rott :ignore:
:PROPERTIES: :PROPERTIES:
:VISIBILITY: folded :VISIBILITY: folded
:END: :END:
#+LATEX: \newpage\thispagestyle{plain} #+LATEX: \newpage\thispagestyle{plain}
# all references from the bib # all references from the bib
#+LATEX: \nocite{*} #+LATEX: \nocite{*}
#+BIBLIOGRAPHY: references rottbibsty option:-a option:-unicode option:-nobibsource #+BIBLIOGRAPHY: references rottbibsty option:-a option:-unicode option:-nobibsource
<a id="export-letter"></a> <a id="export-letter"></a>
### Letter export (LaTex) ### Template for a letter export (LaTex)
# -*- ispell-local-dictionary: "german" -*- # -*- ispell-local-dictionary: "german" -*-
:FORM: :FORM:
@@ -399,45 +273,12 @@ Examples for an article
## Multiple cursors ## Multiple cursors
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides"> Multiple cursors key bindings and functions
<caption class="t-above"><span class="table-number">Table 2:</span> Multiple cursors key bindings and functions</caption>
<colgroup> - `M-m s m a` (`mc/mark-all-dwim`) try to mark all at point
<col class="org-left" /> - `C-v` jump to next cursor
- `M-v` jump to previous cursor
<col class="org-left" /> - `C-'` hide/unhide lines without a cursor
<col class="org-left" />
</colgroup>
<tbody>
<tr>
<td class="org-left">M-m s m a</td>
<td class="org-left">mc/mark-all-dwim</td>
<td class="org-left">try to mark all at point</td>
</tr>
<tr>
<td class="org-left">C-v</td>
<td class="org-left">&#xa0;</td>
<td class="org-left">jump to next cursor</td>
</tr>
<tr>
<td class="org-left">M-v</td>
<td class="org-left">&#xa0;</td>
<td class="org-left">jump to previous cursor</td>
</tr>
<tr>
<td class="org-left">C-&rsquo;</td>
<td class="org-left">&#xa0;</td>
<td class="org-left">hide/unhide lines without a cursor</td>
</tr>
</tbody>
</table>
<a id="other-packages"></a> <a id="other-packages"></a>

View File

@@ -6,24 +6,23 @@ This is an ongoing evolution of Emacs configuration files, inspired by
a bunch of online resources. a bunch of online resources.
* Installation * Installation
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: installation :CUSTOM_ID: installation
:END: :END:
Run one of the following install script commands (using curl, wget or fetch). Run one of the following install script commands (using curl, wget or fetch).
#+begin_src sh #+begin_src sh
sh -c "$(curl -fsSL http://gitea.weseng.de/daniel/emacs/raw/master/scripts/install.sh)" sh -c "$(curl -fsSL http://gitea.weseng.de/daniel/emacs/raw/master/scripts/install.sh)"
sh -c "$(wget -O- http://gitea.weseng.de/daniel/emacs/raw/master/scripts/install.sh)" sh -c "$(wget -O- http://gitea.weseng.de/daniel/emacs/raw/master/scripts/install.sh)"
sh -c "$(fetch -o - http://gitea.weseng.de/daniel/emacs/raw/master/scripts/install.sh)" sh -c "$(fetch -o - http://gitea.weseng.de/daniel/emacs/raw/master/scripts/install.sh)"
#+end_src #+end_src
Installation path is =~/.config/emacs=. See details and other Installation path is =~/.config/emacs=. See details and other
installed linux packages as requirements inside =sripts/install.sh=. installed linux packages as requirements inside =sripts/install.sh=.
* Packages * Packages
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: packages :CUSTOM_ID: packages
:END: :END:
#+caption:
General key bindings and functions General key bindings and functions
- =M->= (=end-of-buffer=) - =M->= (=end-of-buffer=)
- =M-<= (=begin-of-buffer=) - =M-<= (=begin-of-buffer=)
@@ -44,29 +43,44 @@ General key bindings and functions
- =mouse-8= (=previous-buffer=) - =mouse-8= (=previous-buffer=)
- =mouse-9= (=next-buffer=) - =mouse-9= (=next-buffer=)
Spelling (flyspell ispell) bindings and functions
- (=flyspell-mode=) toggle spelling
- (=flyspell-buffer=)
- =C-;= (=flyspell-correct-wrapper=)
** Org ** Org
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: org :CUSTOM_ID: org
:END: :END:
#+caption: Org key bindings and functions Org key bindings and functions
| C-c \vert | org-table-create-or-convert-from-region | convert seperator 1. TAB, 2. comma, 3. space | - =C-c |= (=org-table-create-or-convert-from-region=) convert seperator 1. TAB, 2. comma, 3. space
| C-u C-c \vert | org-table-create-or-convert-from-region | convert using comma (CSV) seperator | - =C-u C-c |= (=org-table-create-or-convert-from-region=) convert using comma (CSV) seperator
| C-u C-u C-c \vert | org-table-create-or-convert-from-region | convert using TAB | - =C-u C-u C-c |= (=org-table-create-or-convert-from-region=) convert using TAB
| C-u N C-c \vert | org-table-create-or-convert-from-region | convert using N spaces | - =C-u <integer> C-c |= (=org-table-create-or-convert-from-region=) convert using N spaces
| C-u REGEX C-c \vert | org-table-create-or-convert-from-region | convert using regex to match seperator | - =C-u REGEX C-c |= (=org-table-create-or-convert-from-region=) convert using regex to match seperator
| C-c C-x \ | org-toggle-pretty-entries | e. g. displays =\pm= as ± | - =C-c C-x \= (=org-toggle-pretty-entries=) e.g. displays =\pm= as ±
| | | |
| Org table | | | Org table
| S-right | org-shiftright | move a single cell right | - =S-<right>= (=org-shiftright=) move cell right
| S-left | org-shiftleft | move a single cell left | - =S-<left>= (=org-shiftleft=) move cell left
| C-c SPC | org-table-blank-field | clear cell | - =S-<up>= (=org-shiftup=) move cell up
| | | | - =S-<down>= (=org-shiftdown=) move cell down
| Org src block | | | - (=org-table-blank-field=) clear cell
| C-c C-v t | org-babel-tangle | create a file with the content of the block, use in header: :tangle filename |
| | | | Org src block
| Org export | | | - =C-c C-v t= (=org-babel-tangle=) create a file with the content of the block; use in =header:= =:tangle filename=
| f5 | | in org export to html |
| f6 | | in org export to LaTeX | Org export
- =<f5>= (=my-org-export-html=)
- =<f6>= (=my-org-export-pdf=)
- =C-<f5>= (=my-org-export-html-async=)
- =C-<f6>= (=my-org-export-pdf-async=)
- =C-c C-e h h= (=org-html-export-to-html=)
- =C-c C-e T t= (=org-tufte-export-to-file=) HTML export with tufte syling
- =C-c C-e h a= (=my-org-article-html-export-to-html=) HTML-article file, see also Article export
- =C-c C-e l l= (=org-latex-export-to-pdf=)
- =C-c C-e l a= (=my-org-article-latex-export-to-pdf=) PDF-article file, see also Article export
- =C-c C-e l t= (=my-org-article-latex-export-to-letter=) PDF-letter file
*Important* *Important*
- For *Gnuplot* source blocks: Do not use =%= inside Gnuplot source - For *Gnuplot* source blocks: Do not use =%= inside Gnuplot source
@@ -77,220 +91,197 @@ General key bindings and functions
.eps (figure) files. .eps (figure) files.
- =\%= =\%%= can also be used for HTML SVG export - =\%= =\%%= can also be used for HTML SVG export
*** HTML export *** Template for an article export (HTML and LaTeX)
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: export-html :CUSTOM_ID: export-article
:END: :END:
- =C-c C-e h h= (org-html-export-to-html) to export Org document as HTML file, i.e. no spectial settings. Template for an article
- =C-c C-e T t= (org-tufte-export-to-file) to export Org document as Tufte-HTML file, i.e. with tufte syling. #+begin_src org
- =C-c C-e h a= (my-org-article-html-export-to-html) to export Org document as HTML-article file, see also Article export # -*- ispell-local-dictionary: "english" -*-
,#+LANGUAGE: en
,#+TITLE: My article
,#+SUBTITLE:
,#+AUTHOR: Daniel
,#+EMAIL: name@example.org
,#+DATE: May 12, 2021
,#+KEYWORDS:
,#+DESCRIPTION:
*** LaTeX export ,* Abstract :ignore:noexport:
:PROPERTIES: ,#+BEGIN_ABSTRACT
:CUSTOM_ID: export-latex ,*Abstract*\\
:END: This is the abstract of the article.
- =C-c C-e l l= (org-latex-export-to-pdf) to export Org document as PDF file, i.e. no spectial settings. ,#+END_ABSTRACT
- =C-c C-e l a= (my-org-article-latex-export-to-pdf) to export Org document as PDF-article file, see also Article export.
- =C-c C-e l t= (my-org-article-latex-export-to-letter) to export Org document as PDF-letter file.
Links ,* List of contents & figures & tables & listings :ignore:
- https://tex.stackexchange.com/questions/167583/include-custom-file-into-header-with-org-mode/201674 :PROPERTIES:
- https://orgmode.org/manual/LaTeX-specific-export-settings.html :VISIBILITY: folded
:CLEARPAGE: t
:END:
,#+LATEX: \begin{spacing}{1.25}\begingroup\renewcommand*{\addvspace}[1]{}
*** Article export (HTML and LaTeX) ,#+LATEX: \clearpage
:PROPERTIES: # #+LATEX: \tableofcontents
:CUSTOM_ID: export-article ,#+TOC: headlines
:END:
- =C-c C-e h a= (my-org-article-html-export-to-html) to export Org document as HTML-article file.
- =C-c C-e l a= (my-org-article-latex-export-to-pdf) to export Org document as PDF-article file.
Template for an article ,#+LATEX: \clearpage
#+begin_src org ,#+LATEX: \listoffigures
# -*- ispell-local-dictionary: "english" -*- # #+LATEX: \phantomsection\addcontentsline{toc}{section}{Abbildungsverzeichnis}\listoffigures
,#+LANGUAGE: en # #+TOC: figures is not implemented yet in the HTML backend. And not working with LaTeX, see listing
,#+TITLE: My article # #+TOC: figures
,#+SUBTITLE:
,#+AUTHOR: Daniel
,#+EMAIL: name@example.org
,#+DATE: May 12, 2021
,#+KEYWORDS:
,#+DESCRIPTION:
,* Abstract :ignore:noexport: # #+LATEX: \listoftables
,#+BEGIN_ABSTRACT # #+LATEX: \phantomsection\addcontentsline{toc}{section}{Tabellenverzeichnis}
,*Abstract*\\ ,#+TOC: tables
This is the abstract of the article.
,#+END_ABSTRACT
,* List of contents & figures & tables & listings :ignore: # for latex listing is figures
:PROPERTIES: # #+LATEX: \phantomsection\addcontentsline{toc}{section}{Programmausdrucke}
:VISIBILITY: folded ,#+TOC: listings
:CLEARPAGE: t ,#+LATEX: \endgroup\end{spacing}
:END:
,#+LATEX: \begin{spacing}{1.25}\begingroup\renewcommand*{\addvspace}[1]{}
,#+LATEX: \clearpage ,* List of Symbols :ignore:
# #+LATEX: \tableofcontents :PROPERTIES:
,#+TOC: headlines :CUSTOM_ID: list-of-symbols
:UNNUMBERED: t
:END:
,#+LATEX: \clearpage ,#+LATEX: \pagenumbering{arabic}\setcounter{page}{1}
,#+LATEX: \listoffigures #+end_src
# #+LATEX: \phantomsection\addcontentsline{toc}{section}{Abbildungsverzeichnis}\listoffigures
# #+TOC: figures is not implemented yet in the HTML backend. And not working with LaTeX, see listing
# #+TOC: figures
# #+LATEX: \listoftables Examples for an article
# #+LATEX: \phantomsection\addcontentsline{toc}{section}{Tabellenverzeichnis} #+begin_src org
,#+TOC: tables # -*- ispell-local-dictionary: "german" -*-
,#+LANGUAGE: de
# for latex listing is figures ,* Header not listed in toc :ignore:
# #+LATEX: \phantomsection\addcontentsline{toc}{section}{Programmausdrucke} bla bla bla
,#+TOC: listings
,#+LATEX: \endgroup\end{spacing}
,* List of Symbols :ignore: ,* Section not exported :noexport:
:PROPERTIES: bla bla bla, this will not be exported
:CUSTOM_ID: list-of-symbols
:UNNUMBERED: t
:END:
,#+LATEX: \pagenumbering{arabic}\setcounter{page}{1} ,* Header listed unnumbered
#+end_src :PROPERTIES:
:UNNUMBERED: t
:END:
bla bla bla
Examples for an article ,* Section will start on a clear page (LaTeX)
#+begin_src org :PROPERTIES:
# -*- ispell-local-dictionary: "german" -*- :CLEARPAGE: t
,#+LANGUAGE: de :END:
bla bla bla
,* Header not listed in toc :ignore: # For PDF/LaTeX export we do not want to use org-ref ox-bibtex, as its output is
bla bla bla # already defined in the preamble. The output for 'bibliography:references.bib'
# is something like '\bibliography{references}'
# reftex version
# bibliography:references.bib
# ox-bibtex version
# #+BIBLIOGRAPHY: references mbunsrtdin option:-a option:-unicode option:-nobibsource limit:t
,* References-en :ignore:
:PROPERTIES:
:VISIBILITY: folded
:END:
,#+LATEX: \newpage\thispagestyle{plain}
,#+LATEX: \sloppy\printbibliography
,#+LATEX: \begin{comment}
,#+BIBLIOGRAPHY: references acmu option:-a option:-unicode option:-nobibsource limit:t
,#+LATEX: \end{comment}
,* Section not exported :noexport: ,* References-de :ignore:
bla bla bla, this will not be exported :PROPERTIES:
:VISIBILITY: folded
:END:
,#+LATEX: \newpage\thispagestyle{plain}
,#+LATEX: \sloppy\printbibliography
,#+LATEX: \begin{comment}
,#+BIBLIOGRAPHY: references mbunsrtdin option:-a option:-unicode option:-nobibsource limit:t
,#+LATEX: \end{comment}
,* Header listed unnumbered ,* References-rott :ignore:
:PROPERTIES: :PROPERTIES:
:UNNUMBERED: t :VISIBILITY: folded
:END: :END:
bla bla bla ,#+LATEX: \newpage\thispagestyle{plain}
# all references from the bib
,#+LATEX: \nocite{*}
,#+BIBLIOGRAPHY: references rottbibsty option:-a option:-unicode option:-nobibsource
#+end_src
,* Section will start on a clear page (LaTeX) *** Template for a letter export (LaTex)
:PROPERTIES: :PROPERTIES:
:CLEARPAGE: t :CUSTOM_ID: export-letter
:END: :END:
bla bla bla #+begin_src org
# -*- ispell-local-dictionary: "german" -*-
:FORM:
,#+LANGUAGE: de
,#+FROM_ASSOCIATION: XYZ AG
,#+FROM_NAME: Max Mustermann
,#+FROM_STREET: Regenbogenstrasse 7
,#+FROM_PLACE: 12345 Hamburg
,#+FROM_PHONE: 0123456789
,#+FROM_URL: www.beispiel.de
,#+FROM_EMAIL: mail@example.de
# For PDF/LaTeX export we do not want to use org-ref ox-bibtex, as its output is ,#+TO_ASSOCIATION: Firma AG
# already defined in the preamble. The output for 'bibliography:references.bib' ,#+TO_NAME: Karl Marx
# is something like '\bibliography{references}' ,#+TO_STREET: Firmstrasse 13
# reftex version ,#+TO_PLACE: Berlin
# bibliography:references.bib
# ox-bibtex version
# #+BIBLIOGRAPHY: references mbunsrtdin option:-a option:-unicode option:-nobibsource limit:t
,* References-en :ignore:
:PROPERTIES:
:VISIBILITY: folded
:END:
,#+LATEX: \newpage\thispagestyle{plain}
,#+LATEX: \sloppy\printbibliography
,#+LATEX: \begin{comment}
,#+BIBLIOGRAPHY: references acmu option:-a option:-unicode option:-nobibsource limit:t
,#+LATEX: \end{comment}
,* References-de :ignore: ,#+PLACE: Hamburg
:PROPERTIES: ,#+DATE: \today
:VISIBILITY: folded # #+DATE: 3. Januar 2020
:END: :END:
,#+LATEX: \newpage\thispagestyle{plain}
,#+LATEX: \sloppy\printbibliography
,#+LATEX: \begin{comment}
,#+BIBLIOGRAPHY: references mbunsrtdin option:-a option:-unicode option:-nobibsource limit:t
,#+LATEX: \end{comment}
,* References-rott :ignore: ,#+SUBJECT: Abrechnung
:PROPERTIES: ,#+SUBJECT: 2020
:VISIBILITY: folded ,#+SUBJECT_EXTRA: Kontonummer
:END: ,#+SUBJECT_EXTRA: März
,#+LATEX: \newpage\thispagestyle{plain}
# all references from the bib
,#+LATEX: \nocite{*}
,#+BIBLIOGRAPHY: references rottbibsty option:-a option:-unicode option:-nobibsource
#+end_src
*** Letter export (LaTex) ,#+OPENING: Sehr geehte Frau \toname,
:PROPERTIES:
:CUSTOM_ID: export-letter
:END:
#+begin_src org
# -*- ispell-local-dictionary: "german" -*-
:FORM:
,#+LANGUAGE: de
,#+FROM_ASSOCIATION: XYZ AG
,#+FROM_NAME: Max Mustermann
,#+FROM_STREET: Regenbogenstrasse 7
,#+FROM_PLACE: 12345 Hamburg
,#+FROM_PHONE: 0123456789
,#+FROM_URL: www.beispiel.de
,#+FROM_EMAIL: mail@example.de
,#+TO_ASSOCIATION: Firma AG hiermit sende ich Ihnen die angeforderten Unterlagen zu und ...
,#+TO_NAME: Karl Marx
,#+TO_STREET: Firmstrasse 13
,#+TO_PLACE: Berlin
,#+PLACE: Hamburg ,#+CLOSING: MfG,
,#+DATE: \today
# #+DATE: 3. Januar 2020
:END:
,#+SUBJECT: Abrechnung ,#+ATTACHMENT: analage 1
,#+SUBJECT: 2020 ,#+ATTACHMENT: anlage 2
,#+SUBJECT_EXTRA: Kontonummer ,#+ATTACHMENT: analage 3
,#+SUBJECT_EXTRA: März ,#+ATTACHMENT: analage 6
#+end_src
,#+OPENING: Sehr geehte Frau \toname,
hiermit sende ich Ihnen die angeforderten Unterlagen zu und ...
,#+CLOSING: MfG,
,#+ATTACHMENT: analage 1
,#+ATTACHMENT: anlage 2
,#+ATTACHMENT: analage 3
,#+ATTACHMENT: analage 6
#+end_src
** Multiple cursors ** Multiple cursors
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: multiple-cursors :CUSTOM_ID: multiple-cursors
:END: :END:
#+caption: Multiple cursors key bindings and functions Multiple cursors key bindings and functions
| M-m s m a | mc/mark-all-dwim | try to mark all at point | - =M-m s m a= (=mc/mark-all-dwim=) try to mark all at point
| C-v | | jump to next cursor | - =C-v= jump to next cursor
| M-v | | jump to previous cursor | - =M-v= jump to previous cursor
| C-' | | hide/unhide lines without a cursor | - =C-'= hide/unhide lines without a cursor
** Other packages ** Other packages
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: other-packages :CUSTOM_ID: other-packages
:END: :END:
- rainbow-mode.el :: https://elpa.gnu.org/packages/rainbow-mode.html - rainbow-mode.el :: https://elpa.gnu.org/packages/rainbow-mode.html
rainbow-mode is a minor mode for Emacs which displays strings representing rainbow-mode is a minor mode for Emacs which displays strings representing
colors with the color they represent as background. colors with the color they represent as background.
* Information * Information
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: information :CUSTOM_ID: information
:END: :END:
Interlock symlinks and auto-save files. Interlock symlinks and auto-save files.
Be aware that symbolic links of the form “.#*” are not auto-save files Be aware that symbolic links of the form “.#*” are not auto-save files
but interlocks to prevent the simultaneous editing of the same but interlocks to prevent the simultaneous editing of the same
file. See [[https://www.emacswiki.org/info-ref?find=Interlocking][Interlocking]] in the [[https://www.emacswiki.org/emacs/EmacsManual][EmacsManual]] for details. file. See [[https://www.emacswiki.org/info-ref?find=Interlocking][Interlocking]] in the [[https://www.emacswiki.org/emacs/EmacsManual][EmacsManual]] for details.
* Errors * Errors
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: errors :CUSTOM_ID: errors
:END: :END:
- failed execution of bibtex2html - failed execution of bibtex2html
- see bib2htmlxxxxxx.blg for errors, e.g. - see bib2htmlxxxxxx.blg for errors, e.g.
- I couldn't open style file acmu.bst - I couldn't open style file acmu.bst
@@ -304,9 +295,9 @@ file. See [[https://www.emacswiki.org/info-ref?find=Interlocking][Interlocking]]
- ~<policy domain="delegate" rights="none" pattern="gs" />~ - ~<policy domain="delegate" rights="none" pattern="gs" />~
* TODOs * TODOs
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: todos :CUSTOM_ID: todos
:END: :END:
- Org / global configuration - Org / global configuration
- Page formatting - Page formatting
- Modify HTML styling - Modify HTML styling