Skip to content
Snippets Groups Projects
Commit 6fce913c authored by Michael Hauspie's avatar Michael Hauspie
Browse files

Merge branch 'master' of gitlab-ssh.univ-lille.fr:michael.hauspie/emacs

parents 6d5e2ec8 94f35628
No related branches found
No related tags found
No related merge requests found
...@@ -439,6 +439,31 @@ Add shortcuts to quickly add code blocks using =C-,= ...@@ -439,6 +439,31 @@ Add shortcuts to quickly add code blocks using =C-,=
'("el" . "src emacs-lisp")) '("el" . "src emacs-lisp"))
#+end_src #+end_src
** Latex export
Use =latexmk= to export to Latex
#+begin_src emacs-lisp :exports code
(setq org-latex-pdf-process (list "latexmk -pdflatex='pdflatex -shell-escape -interaction nonstopmode' -pdf %f"))
#+end_src
Use =org-ref= for citation
#+begin_src emacs-lisp
(use-package org-ref)
(use-package org-ref-prettify)
#+end_src
And use the same shortcut for =org-reftex-citation= than for =reftex-citation=
#+begin_src emacs-lisp
(define-key org-mode-map (kbd "C-c [") 'org-reftex-citation)
#+end_src
#+RESULTS:
: org-reftex-citation
** Visuals ** Visuals
...@@ -602,6 +627,9 @@ using bootstrap template. ...@@ -602,6 +627,9 @@ using bootstrap template.
;; bootstrap html ;; bootstrap html
(use-package ox-twbs) (use-package ox-twbs)
;; Export using pandoc
(use-package ox-pandoc)
#+end_src #+end_src
#+RESULTS: #+RESULTS:
...@@ -700,6 +728,15 @@ Set line count limit before using =begin_example= blocs in code evaluation resul ...@@ -700,6 +728,15 @@ Set line count limit before using =begin_example= blocs in code evaluation resul
#+RESULTS: #+RESULTS:
: 10 : 10
* Markdown mode
I use pandoc to generate html output from markdown file. In order to
export a standalone file with the correct options, I set pandoc call here
#+begin_src emacs-lisp
(setq markdown-command "pandoc --standalone --mathjax")
#+end_src
* Completion setup * Completion setup
I use [[http://company-mode.github.io/][company]] mode for completion. It provides a visual completion I use [[http://company-mode.github.io/][company]] mode for completion. It provides a visual completion
...@@ -922,6 +959,7 @@ For dockerfiles and docker-compose files, install some docker packages ...@@ -922,6 +959,7 @@ For dockerfiles and docker-compose files, install some docker packages
(use-package dockerfile-mode) (use-package dockerfile-mode)
(use-package docker-compose-mode) (use-package docker-compose-mode)
(use-package docker) (use-package docker)
(use-package docker-tramp)
(use-package docker-api) (use-package docker-api)
(use-package docker-cli) (use-package docker-cli)
#+end_src #+end_src
......
:PROPERTIES:
:BEAMER_OPT: shrink
:END:
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment