Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
emacs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michael Hauspie
emacs
Commits
6fce913c
Commit
6fce913c
authored
2 years ago
by
Michael Hauspie
Browse files
Options
Downloads
Plain Diff
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
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
configuration.org
+38
-0
38 additions, 0 deletions
configuration.org
snippets/org-mode/shrink
+3
-0
3 additions, 0 deletions
snippets/org-mode/shrink
with
41 additions
and
0 deletions
configuration.org
+
38
−
0
View file @
6fce913c
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
snippets/org-mode/shrink
0 → 100644
+
3
−
0
View file @
6fce913c
:PROPERTIES:
:BEAMER_OPT: shrink
:END:
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment