2020-01-11 22:04:45 +01:00
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" lang = "en" xml:lang = "en" >
< head >
2020-01-11 22:22:46 +01:00
<!-- 2020 - 01 - 11 sam. 22:20 -->
2020-01-11 22:04:45 +01:00
< meta http-equiv = "Content-Type" content = "text/html;charset=utf-8" / >
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
< title > Spacemacs configuration< / title >
< meta name = "generator" content = "Org mode" / >
< meta name = "author" content = "Dehaeze Thomas" / >
< style type = "text/css" >
<!-- /* --> <![CDATA[/*> <!-- */
.title { text-align: center;
margin-bottom: .2em; }
.subtitle { text-align: center;
font-size: medium;
font-weight: bold;
margin-top:0; }
.todo { font-family: monospace; color: red; }
.done { font-family: monospace; color: green; }
.priority { font-family: monospace; color: orange; }
.tag { background-color: #eee; font-family: monospace;
padding: 2px; font-size: 80%; font-weight: normal; }
.timestamp { color: #bebebe; }
.timestamp-kwd { color: #5f9ea0; }
.org-right { margin-left: auto; margin-right: 0px; text-align: right; }
.org-left { margin-left: 0px; margin-right: auto; text-align: left; }
.org-center { margin-left: auto; margin-right: auto; text-align: center; }
.underline { text-decoration: underline; }
#postamble p, #preamble p { font-size: 90%; margin: .2em; }
p.verse { margin-left: 3%; }
pre {
border: 1px solid #ccc;
box-shadow: 3px 3px 3px #eee;
padding: 8pt;
font-family: monospace;
overflow: auto;
margin: 1.2em;
}
pre.src {
position: relative;
overflow: visible;
padding-top: 1.2em;
}
pre.src:before {
display: none;
position: absolute;
background-color: white;
top: -10px;
right: 10px;
padding: 3px;
border: 1px solid black;
}
pre.src:hover:before { display: inline;}
/* Languages per Org manual */
pre.src-asymptote:before { content: 'Asymptote'; }
pre.src-awk:before { content: 'Awk'; }
pre.src-C:before { content: 'C'; }
/* pre.src-C++ doesn't work in CSS */
pre.src-clojure:before { content: 'Clojure'; }
pre.src-css:before { content: 'CSS'; }
pre.src-D:before { content: 'D'; }
pre.src-ditaa:before { content: 'ditaa'; }
pre.src-dot:before { content: 'Graphviz'; }
pre.src-calc:before { content: 'Emacs Calc'; }
pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
pre.src-fortran:before { content: 'Fortran'; }
pre.src-gnuplot:before { content: 'gnuplot'; }
pre.src-haskell:before { content: 'Haskell'; }
pre.src-hledger:before { content: 'hledger'; }
pre.src-java:before { content: 'Java'; }
pre.src-js:before { content: 'Javascript'; }
pre.src-latex:before { content: 'LaTeX'; }
pre.src-ledger:before { content: 'Ledger'; }
pre.src-lisp:before { content: 'Lisp'; }
pre.src-lilypond:before { content: 'Lilypond'; }
pre.src-lua:before { content: 'Lua'; }
pre.src-matlab:before { content: 'MATLAB'; }
pre.src-mscgen:before { content: 'Mscgen'; }
pre.src-ocaml:before { content: 'Objective Caml'; }
pre.src-octave:before { content: 'Octave'; }
pre.src-org:before { content: 'Org mode'; }
pre.src-oz:before { content: 'OZ'; }
pre.src-plantuml:before { content: 'Plantuml'; }
pre.src-processing:before { content: 'Processing.js'; }
pre.src-python:before { content: 'Python'; }
pre.src-R:before { content: 'R'; }
pre.src-ruby:before { content: 'Ruby'; }
pre.src-sass:before { content: 'Sass'; }
pre.src-scheme:before { content: 'Scheme'; }
pre.src-screen:before { content: 'Gnu Screen'; }
pre.src-sed:before { content: 'Sed'; }
pre.src-sh:before { content: 'shell'; }
pre.src-sql:before { content: 'SQL'; }
pre.src-sqlite:before { content: 'SQLite'; }
/* additional languages in org.el's org-babel-load-languages alist */
pre.src-forth:before { content: 'Forth'; }
pre.src-io:before { content: 'IO'; }
pre.src-J:before { content: 'J'; }
pre.src-makefile:before { content: 'Makefile'; }
pre.src-maxima:before { content: 'Maxima'; }
pre.src-perl:before { content: 'Perl'; }
pre.src-picolisp:before { content: 'Pico Lisp'; }
pre.src-scala:before { content: 'Scala'; }
pre.src-shell:before { content: 'Shell Script'; }
pre.src-ebnf2ps:before { content: 'ebfn2ps'; }
/* additional language identifiers per "defun org-babel-execute"
in ob-*.el */
pre.src-cpp:before { content: 'C++'; }
pre.src-abc:before { content: 'ABC'; }
pre.src-coq:before { content: 'Coq'; }
pre.src-groovy:before { content: 'Groovy'; }
/* additional language identifiers from org-babel-shell-names in
ob-shell.el: ob-shell is the only babel language using a lambda to put
the execution function name together. */
pre.src-bash:before { content: 'bash'; }
pre.src-csh:before { content: 'csh'; }
pre.src-ash:before { content: 'ash'; }
pre.src-dash:before { content: 'dash'; }
pre.src-ksh:before { content: 'ksh'; }
pre.src-mksh:before { content: 'mksh'; }
pre.src-posh:before { content: 'posh'; }
/* Additional Emacs modes also supported by the LaTeX listings package */
pre.src-ada:before { content: 'Ada'; }
pre.src-asm:before { content: 'Assembler'; }
pre.src-caml:before { content: 'Caml'; }
pre.src-delphi:before { content: 'Delphi'; }
pre.src-html:before { content: 'HTML'; }
pre.src-idl:before { content: 'IDL'; }
pre.src-mercury:before { content: 'Mercury'; }
pre.src-metapost:before { content: 'MetaPost'; }
pre.src-modula-2:before { content: 'Modula-2'; }
pre.src-pascal:before { content: 'Pascal'; }
pre.src-ps:before { content: 'PostScript'; }
pre.src-prolog:before { content: 'Prolog'; }
pre.src-simula:before { content: 'Simula'; }
pre.src-tcl:before { content: 'tcl'; }
pre.src-tex:before { content: 'TeX'; }
pre.src-plain-tex:before { content: 'Plain TeX'; }
pre.src-verilog:before { content: 'Verilog'; }
pre.src-vhdl:before { content: 'VHDL'; }
pre.src-xml:before { content: 'XML'; }
pre.src-nxml:before { content: 'XML'; }
/* add a generic configuration mode; LaTeX export needs an additional
(add-to-list 'org-latex-listings-langs '(conf " ")) in .emacs */
pre.src-conf:before { content: 'Configuration File'; }
table { border-collapse:collapse; }
caption.t-above { caption-side: top; }
caption.t-bottom { caption-side: bottom; }
td, th { vertical-align:top; }
th.org-right { text-align: center; }
th.org-left { text-align: center; }
th.org-center { text-align: center; }
td.org-right { text-align: right; }
td.org-left { text-align: left; }
td.org-center { text-align: center; }
dt { font-weight: bold; }
.footpara { display: inline; }
.footdef { margin-bottom: 1em; }
.figure { padding: 1em; }
.figure p { text-align: center; }
.equation-container {
display: table;
text-align: center;
width: 100%;
}
.equation {
vertical-align: middle;
}
.equation-label {
display: table-cell;
text-align: right;
vertical-align: middle;
}
.inlinetask {
padding: 10px;
border: 2px solid gray;
margin: 10px;
background: #ffffcc;
}
#org-div-home-and-up
{ text-align: right; font-size: 70%; white-space: nowrap; }
textarea { overflow-x: auto; }
.linenr { font-size: smaller }
.code-highlighted { background-color: #ffff00; }
.org-info-js_info-navigation { border-style: none; }
#org-info-js_console-label
{ font-size: 10px; font-weight: bold; white-space: nowrap; }
.org-info-js_search-highlight
{ background-color: #ffff00; color: #000000; font-weight: bold; }
.org-svg { width: 90%; }
/*]]>*/-->
< / style >
2020-01-11 22:22:46 +01:00
< link rel = "stylesheet" type = "text/css" href = "./css/htmlize.css" / >
< link rel = "stylesheet" type = "text/css" href = "./css/readtheorg.css" / >
< script type = "text/javascript" src = "./js/jquery.min.js" > < / script >
< script type = "text/javascript" src = "./js/bootstrap.min.js" > < / script >
< script type = "text/javascript" src = "./js/jquery.stickytableheaders.min.js" > < / script >
< script type = "text/javascript" src = "./js/readtheorg.js" > < / script >
2020-01-11 22:04:45 +01:00
< script type = "text/javascript" >
/*
@licstart The following is the entire license notice for the
JavaScript code in this tag.
Copyright (C) 2012-2020 Free Software Foundation, Inc.
The JavaScript code in this tag is free software: you can
redistribute it and/or modify it under the terms of the GNU
General Public License (GNU GPL) as published by the Free Software
Foundation, either version 3 of the License, or (at your option)
any later version. The code is distributed WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
As additional permission under GNU GPL version 3 section 7, you
may distribute non-source (e.g., minimized or compacted) forms of
that code without the copy of the GNU GPL normally required by
section 4, provided you include this license notice and a URL
through which recipients can access the Corresponding Source.
@licend The above is the entire license notice
for the JavaScript code in this tag.
*/
<!-- /* --> <![CDATA[/*> <!-- */
function CodeHighlightOn(elem, id)
{
var target = document.getElementById(id);
if(null != target) {
elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className;
target.className = "code-highlighted";
elem.className = "code-highlighted";
}
}
function CodeHighlightOff(elem, id)
{
var target = document.getElementById(id);
if(elem.cacheClassElem)
elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget;
}
/*]]>*///-->
< / script >
< / head >
< body >
< div id = "org-div-home-and-up" >
< a accesskey = "h" href = "./index.html" > UP < / a >
|
< a accesskey = "H" href = "./index.html" > HOME < / a >
< / div > < div id = "content" >
< h1 class = "title" > Spacemacs configuration< / h1 >
< div id = "table-of-contents" >
< h2 > Table of Contents< / h2 >
< div id = "text-table-of-contents" >
< ul >
< li > < a href = "#org0b2f3cf" > User Init< / a >
< ul >
< li > < a href = "#orgd2ba6d3" > Melpa< / a > < / li >
< li > < a href = "#orga867745" > < span class = "todo TODO" > TODO< / span > Ispell< / a > < / li >
< li > < a href = "#orgda62a65" > Org latex fragment< / a > < / li >
< li > < a href = "#org4ec986f" > Default Browser< / a > < / li >
< / ul >
< / li >
< li > < a href = "#orge357d1c" > User-Config< / a >
< ul >
< li > < a href = "#org491af1d" > Others< / a > < / li >
< li > < a href = "#org86a5c90" > Windows Management< / a > < / li >
< li > < a href = "#orgf68f2e6" > Lockfiles< / a > < / li >
< li > < a href = "#orgf6f8b0d" > Autosave< / a > < / li >
< li > < a href = "#org7bd4f40" > Magit< / a > < / li >
< li > < a href = "#orgda210dd" > User informations< / a > < / li >
< li > < a href = "#org1f6de73" > Change default alert backend< / a > < / li >
2020-01-11 22:22:46 +01:00
< li > < a href = "#orgec7b4ab" > LaTeX< / a >
2020-01-11 22:04:45 +01:00
< ul >
< li > < a href = "#org8bfe176" > Basic LaTeX configuration< / a > < / li >
< li > < a href = "#org63dfb0a" > Master file< / a > < / li >
< li > < a href = "#org99fc68e" > Pdf Viewer< / a > < / li >
< / ul >
< / li >
2020-01-11 22:22:46 +01:00
< li > < a href = "#org311c446" > Helm-Bibtex< / a >
2020-01-11 22:04:45 +01:00
< ul >
< li > < a href = "#orgc7928a7" > General Config< / a > < / li >
< li > < a href = "#org11787bb" > Open pdf externally< / a > < / li >
< li > < a href = "#org3ea0900" > Special Commands< / a > < / li >
< li > < a href = "#org14d0d65" > List all element of the bibliography without pdf associated< / a > < / li >
< / ul >
< / li >
< li > < a href = "#orgc1534df" > Auto Complete< / a > < / li >
< li > < a href = "#org64a7a10" > Yas Snippets< / a > < / li >
< li > < a href = "#orgcb7083a" > Org-Mode< / a >
< ul >
< li > < a href = "#org4f31a31" > Org General Config< / a > < / li >
< li > < a href = "#orgb251673" > Org Tagging< / a > < / li >
< li > < a href = "#org7c28cdc" > Org Gcal< / a > < / li >
< li > < a href = "#org45a8486" > Org Refile< / a > < / li >
< li > < a href = "#orgc4264bc" > Org Todos< / a > < / li >
< li > < a href = "#orgf6752db" > Archive subtrees under the same hierarchy as original in the archive files< / a > < / li >
< li > < a href = "#org019071c" > Org Agenda< / a >
< ul >
< li > < a href = "#orged65137" > General configuration< / a > < / li >
< li > < a href = "#org7dd3102" > Org Agenda Custom Views< / a > < / li >
< / ul >
< / li >
< li > < a href = "#org7c24812" > Org Notification based on calendar event< / a >
< ul >
< li > < a href = "#orgdf39198" > appt-notification script< / a > < / li >
< / ul >
< / li >
< li > < a href = "#orge92c628" > Org Structure Template< / a > < / li >
< li > < a href = "#orgfd9f2c8" > Org Capture< / a > < / li >
< li > < a href = "#org6a76c73" > Org Babel< / a >
< ul >
< li > < a href = "#orgd389e37" > Main configuration< / a > < / li >
< li > < a href = "#org403aa60" > Library of Babel< / a > < / li >
< li > < a href = "#orgfc07a24" > Org-Babel Matlab< / a > < / li >
< li > < a href = "#org3ee617a" > Default options< / a > < / li >
< li > < a href = "#orgd8bef89" > < span class = "todo TODO" > TODO< / span > Asynchronous execution< / a > < / li >
< li > < a href = "#org1d44037" > < span class = "todo TODO" > TODO< / span > Theme< / a > < / li >
< li > < a href = "#org4761b55" > Indentation< / a > < / li >
< li > < a href = "#orgae68753" > Org-Babel Tangle Subtree< / a > < / li >
< li > < a href = "#orga3797e1" > < span class = "todo TODO" > TODO< / span > Org-Babel Jump to Tangle File< / a > < / li >
< / ul >
< / li >
< li > < a href = "#org5a7414f" > Org Export< / a >
< ul >
2020-01-11 22:22:46 +01:00
< li > < a href = "#org71536ca" > Basic< / a > < / li >
2020-01-11 22:04:45 +01:00
< li > < a href = "#org4c31132" > Ox Latex Subfigure package< / a > < / li >
< li > < a href = "#org803270e" > Clear page before heading< / a > < / li >
< li > < a href = "#org92509f9" > < span class = "todo TODO" > TODO< / span > HTML Export< / a > < / li >
< / ul >
< / li >
< li > < a href = "#orgc3be821" > Org LaTeX< / a >
< ul >
< li > < a href = "#org4a4cb6e" > Org CdLatex< / a > < / li >
< li > < a href = "#orgc6af411" > LaTeX Classes< / a > < / li >
2020-01-11 22:22:46 +01:00
< li > < a href = "#orgaa935e3" > Basic< / a > < / li >
2020-01-11 22:04:45 +01:00
< li > < a href = "#org929e3b2" > Beamer< / a > < / li >
< li > < a href = "#org1a268e5" > < span class = "todo TODO" > TODO< / span > Latex Fragments< / a > < / li >
< li > < a href = "#org5a4ebda" > < span class = "todo TODO" > TODO< / span > Custom Export - Add Page and Label for LaTeX export< / a > < / li >
< li > < a href = "#org5fd154f" > Number Equations< / a > < / li >
< / ul >
< / li >
< li > < a href = "#org2f53c57" > < span class = "todo TODO" > TODO< / span > View PDF in org mode< / a > < / li >
< li > < a href = "#orgc0c4b0e" > Org Ref< / a > < / li >
< li > < a href = "#orgbd13130" > Org Noter< / a > < / li >
< li > < a href = "#org25ce8f9" > Custom key bindings< / a > < / li >
< li > < a href = "#org8349681" > < span class = "todo TODO" > TODO< / span > Org-Contacts< / a > < / li >
< li > < a href = "#org9039909" > < span class = "todo TODO" > TODO< / span > Org-Wunderlist< / a > < / li >
< li > < a href = "#org7f23e20" > < span class = "todo TODO" > TODO< / span > ox-hugo< / a > < / li >
< li > < a href = "#org497699d" > Automatically run < code > startblock< / code > when opening org-mode files< / a > < / li >
< li > < a href = "#org9971b9a" > < span class = "todo TODO" > TODO< / span > Insert ScreenShot or Picture from Phone< / a > < / li >
< li > < a href = "#orgab69e6c" > < span class = "todo TODO" > TODO< / span > Render Tables< / a > < / li >
< / ul >
< / li >
< li > < a href = "#org2b197b7" > Projectile< / a > < / li >
2020-01-11 22:22:46 +01:00
< li > < a href = "#orgbe6e4b6" > < span class = "todo TODO" > TODO< / span > Matlab< / a >
2020-01-11 22:04:45 +01:00
< ul >
< li > < a href = "#org56c47c1" > < span class = "todo TODO" > TODO< / span > Test with Org Babel< / a > < / li >
< li > < a href = "#orgf564a04" > Setup Matlab Mode< / a > < / li >
< li > < a href = "#orgfccd918" > Setup Flycheck< / a > < / li >
< li > < a href = "#orgc6fe2cd" > < span class = "todo TODO" > TODO< / span > Setup Company - not working< / a > < / li >
< li > < a href = "#org3d6805e" > < span class = "todo TODO" > TODO< / span > Beautify code< / a > < / li >
< li > < a href = "#org57e0784" > Key Bindings< / a > < / li >
< li > < a href = "#orgfd19516" > Wrong highlight of comments< / a > < / li >
< / ul >
< / li >
< li > < a href = "#org59fa123" > < span class = "todo TODO" > TODO< / span > Mails With Mu4e< / a >
< ul >
< li > < a href = "#org40504f2" > Set default mail user agent to mu4e< / a > < / li >
< li > < a href = "#org7f9eea0" > Default config< / a >
< ul >
< li > < a href = "#orgbd2561e" > Default behavior< / a > < / li >
< li > < a href = "#orgb49e14c" > Default folders< / a > < / li >
< li > < a href = "#org57ed366" > Default signature and email address< / a > < / li >
< li > < a href = "#orgfb8ac3d" > Saving the attachment to Downloads directory< / a > < / li >
< li > < a href = "#org4679d12" > A list of user’ s e-mail addresses< / a > < / li >
< li > < a href = "#org93f7372" > Mail directory shortcuts< / a > < / li >
< / ul >
< / li >
< li > < a href = "#org3485936" > < span class = "todo TODO" > TODO< / span > Contexts - Email accounts< / a > < / li >
< li > < a href = "#org15a91bc" > Receiving emails - Mbsync< / a > < / li >
< li > < a href = "#org7eedfca" > Sending emails - Msmtp< / a > < / li >
< li > < a href = "#org622172a" > Bookmarks< / a > < / li >
< li > < a href = "#orgb211f73" > < span class = "todo TODO" > TODO< / span > Notifications< / a > < / li >
< li > < a href = "#orga748eb6" > Use Org-Mode Tables In Emails< / a > < / li >
< li > < a href = "#org77e75d8" > < span class = "todo TODO" > TODO< / span > Integration with Org-Mode< / a > < / li >
< li > < a href = "#orgcb6f181" > < span class = "todo TODO" > TODO< / span > When putting something on the Trash, it will be in the archive folder on gmail< / a > < / li >
< li > < a href = "#org623cb98" > < span class = "todo TODO" > TODO< / span > Verify that sending mails with gmail account works and that there is no duplicate< / a > < / li >
< li > < a href = "#org6663aec" > < span class = "todo TODO" > TODO< / span > Cheatsheet< / a > < / li >
< / ul >
< / li >
< li > < a href = "#org1f70b16" > PDF-Tools< / a > < / li >
< li > < a href = "#orgf7f8943" > Custom command and leader keys< / a >
< ul >
< li > < a href = "#org52ee497" > Watch LaTeX file using latexmk< / a > < / li >
2020-01-11 22:22:46 +01:00
< li > < a href = "#orgf88a671" > Helm-Bibtex< / a > < / li >
2020-01-11 22:04:45 +01:00
< li > < a href = "#orgeb19a03" > Eshell< / a > < / li >
< li > < a href = "#org3a2d62a" > Open terminal in current directory< / a > < / li >
< li > < a href = "#orgfce1368" > Open ranger in current directory< / a > < / li >
< / ul >
< / li >
< li > < a href = "#org4668b54" > Path for Shell< / a > < / li >
< li > < a href = "#org42a3b9d" > Proxy< / a > < / li >
< li > < a href = "#orgbc486b9" > Remove the problem of recentf files< / a > < / li >
< li > < a href = "#orgd539b86" > < span class = "todo TODO" > TODO< / span > Slack< / a > < / li >
< li > < a href = "#orgab665a0" > < span class = "todo TODO" > TODO< / span > Neomutt connection< / a > < / li >
< li > < a href = "#orgef730c1" > Abbreviations< / a > < / li >
< li > < a href = "#org507ae01" > Elfeed< / a > < / li >
< li > < a href = "#org87ed6a5" > Telegram< / a > < / li >
< / ul >
< / li >
< li > < a href = "#orgd21e412" > Snippets< / a >
< ul >
2020-01-11 22:22:46 +01:00
< li > < a href = "#org5310d2a" > LaTeX< / a >
2020-01-11 22:04:45 +01:00
< ul >
< li > < a href = "#orgcb7f0d3" > Coordinate< / a > < / li >
< li > < a href = "#org4b859a9" > Draw< / a > < / li >
< li > < a href = "#org7c0805a" > Node< / a > < / li >
< li > < a href = "#org766e950" > Path< / a > < / li >
< / ul >
< / li >
2020-01-11 22:22:46 +01:00
< li > < a href = "#orgfcd210d" > Matlab< / a >
2020-01-11 22:04:45 +01:00
< ul >
< li > < a href = "#orgbda2ff6" > Clear< / a > < / li >
< li > < a href = "#org5885f15" > Function< / a > < / li >
< / ul >
< / li >
< li > < a href = "#org4572f67" > Org Mode< / a >
< ul >
< li > < a href = "#org3d32e8f" > Begin< / a > < / li >
< li > < a href = "#org0e30758" > Block< / a > < / li >
< li > < a href = "#org3fc82d3" > Custom Box< / a > < / li >
< li > < a href = "#org618fd27" > Latex Class< / a > < / li >
< li > < a href = "#orgb6cd02a" > Name Caption Figure< / a > < / li >
< li > < a href = "#orga42e8c4" > Bibliography with completion< / a > < / li >
< li > < a href = "#orga731ed1" > Cite< / a > < / li >
< li > < a href = "#orga4816e1" > Ref< / a > < / li >
< li > < a href = "#org1a784a4" > Beamer - CBOX< / a > < / li >
< li > < a href = "#orge84d02d" > Code< / a > < / li >
< li > < a href = "#orgab97710" > Equation< / a > < / li >
< li > < a href = "#org941fb78" > Figure< / a > < / li >
< li > < a href = "#orgf391122" > Frac< / a > < / li >
< li > < a href = "#org3fa13c1" > Left< / a > < / li >
< li > < a href = "#org9882fc9" > Mconfig< / a > < / li >
< li > < a href = "#org4ffc14d" > Mdescription< / a > < / li >
< li > < a href = "#org76b9035" > Mfigure< / a > < / li >
< li > < a href = "#orga3ec641" > Mfunction< / a > < / li >
< li > < a href = "#org3f8b9dd" > Mheader< / a > < / li >
< li > < a href = "#orge6c8449" > Minipage< / a > < / li >
< li > < a href = "#orgb1c921d" > Minit< / a > < / li >
< li > < a href = "#org4a3f77e" > Mtable< / a > < / li >
< li > < a href = "#orgc10b140" > Multicolumn< / a > < / li >
< li > < a href = "#org9ba25d9" > Subfigure< / a > < / li >
< li > < a href = "#org4eb43cc" > Table< / a > < / li >
< li > < a href = "#orge745847" > Tikz< / a > < / li >
< li > < a href = "#org377ed05" > Tikzfig< / a > < / li >
< li > < a href = "#orgeab24ac" > Tikzheader< / a > < / li >
< li > < a href = "#org1d4616f" > User-config< / a > < / li >
< li > < a href = "#orgd78aed7" > User-init< / a > < / li >
< li > < a href = "#orgeb0488e" > Wrap< / a > < / li >
< li > < a href = "#orgc8c111a" > Latex< / a >
< ul >
< li > < a href = "#org4d9b01d" > Integral< / a > < / li >
< / ul >
< / li >
< / ul >
< / li >
< / ul >
< / li >
< / ul >
< / div >
< / div >
< p >
Ressources:
< / p >
< ul class = "org-ul" >
< li > < a href = "https://github.com/munen/emacs.d" > https://github.com/munen/emacs.d< / a > < / li >
< / ul >
< div id = "outline-container-org0b2f3cf" class = "outline-2" >
< h2 id = "org0b2f3cf" > User Init< / h2 >
< div class = "outline-text-2" id = "text-org0b2f3cf" >
< / div >
< div id = "outline-container-orgd2ba6d3" class = "outline-3" >
< h3 id = "orgd2ba6d3" > Melpa< / h3 >
< div class = "outline-text-3" id = "text-orgd2ba6d3" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > add-to-list< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-variable-name" > package-archives< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "melpa"< / span > . < span class = "org-string" > "http://www.mirrorservice.org/sites/melpa.org/packages/"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orga867745" class = "outline-3" >
< h3 id = "orga867745" > < span class = "todo TODO" > TODO< / span > Ispell< / h3 >
< div class = "outline-text-3" id = "text-orga867745" >
< p >
< a href = "https://emacs.stackexchange.com/questions/17237/in-emacs-where-is-ispells-personal-dictionary-stored" > https://emacs.stackexchange.com/questions/17237/in-emacs-where-is-ispells-personal-dictionary-stored< / a >
< / p >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > ispell-program-name< / span > < span class = "org-string" > "/usr/bin/aspell"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > (setq ispell-personal-dictionary "/home/thomas/.config/aspell/")< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgda62a65" class = "outline-3" >
< h3 id = "orgda62a65" > Org latex fragment< / h3 >
< div class = "outline-text-3" id = "text-orgda62a65" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > defvar< / span > < span class = "org-variable-name" > tdh/org-latex-fragment-last< / span > nil
< span class = "org-doc" > "Holds last fragment/environment you were on."< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > tdh/org-in-latex-fragment-p< / span > < span class = "org-rainbow-delimiters-depth-2" > ()< / span >
< span class = "org-doc" > "Return the point where the latex fragment begins, if inside< / span >
< span class = "org-doc" > a latex fragment. Else return false"< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > let*< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > el < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > org-element-context< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > el-type < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > car< / span > el< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > and< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > or< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > eq< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > latex-fragment< / span > el-type< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > eq< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > latex-environment< / span > el-type< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > org-element-property< / span > < span class = "org-builtin" > :begin< / span > el< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > tdh/org-latex-fragment-toggle< / span > < span class = "org-rainbow-delimiters-depth-2" > ()< / span >
< span class = "org-doc" > "Toggle a latex fragment image "< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > and< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > eq< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org-mode< / span > < span class = "org-variable-name" > major-mode< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > let< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > begin < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > tdh/org-in-latex-fragment-p< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > cond< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > were on a fragment and now on a new fragment< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > and< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > fragment we were on< / span >
< span class = "org-variable-name" > tdh/org-latex-fragment-last< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > and are on a fragment now< / span >
begin
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > but not on the last one this is a little tricky. as you edit the< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > fragment, it is not equal to the last one. We use the begin< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > property which is less likely to change for the comparison.< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > not< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > and< / span > < span class = "org-variable-name" > tdh/org-latex-fragment-last< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > =< / span > begin
< span class = "org-variable-name" > tdh/org-latex-fragment-last< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > go back to last one and put image back, provided there is still a fragment there< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > save-excursion< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > goto-char< / span > < span class = "org-variable-name" > tdh/org-latex-fragment-last< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > when< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > tdh/org-in-latex-fragment-p< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > org-preview-latex-fragment< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > now remove current image< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > goto-char< / span > begin< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > let< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > ov < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > loop< / span > for ov in < span class = "org-rainbow-delimiters-depth-2" > (< / span > org--list-latex-overlays< span class = "org-rainbow-delimiters-depth-2" > )< / span >
if
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > and< / span >
r < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > < =< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > overlay-start< / span > ov< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > point< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > > =< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > overlay-end< / span > ov< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > point< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
return ov< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > when< / span > ov
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > delete-overlay< / span > ov< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > and save new fragment< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > tdh/org-latex-fragment-last< / span > begin< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > were on a fragment and now are not on a fragment< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > and< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > not on a fragment now< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > not< / span > begin< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > but we were on one< / span >
< span class = "org-variable-name" > tdh/org-latex-fragment-last< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > put image back on, provided that there is still a fragment here.< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > save-excursion< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > goto-char< / span > < span class = "org-variable-name" > tdh/org-latex-fragment-last< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > when< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > tdh/org-in-latex-fragment-p< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > org-preview-latex-fragment< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > unset last fragment< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > tdh/org-latex-fragment-last< / span > nil< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > were not on a fragment, and now are< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > and< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > we were not one one< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > not< / span > < span class = "org-variable-name" > tdh/org-latex-fragment-last< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > but now we are< / span >
begin< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > remove image< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > save-excursion< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > goto-char< / span > begin< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > let< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > ov < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > loop< / span > for ov in < span class = "org-rainbow-delimiters-depth-2" > (< / span > org--list-latex-overlays< span class = "org-rainbow-delimiters-depth-2" > )< / span >
if
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > and< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > < =< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > overlay-start< / span > ov< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > point< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > > =< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > overlay-end< / span > ov< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > point< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
return ov< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > when< / span > ov
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > delete-overlay< / span > ov< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > tdh/org-latex-fragment-last< / span > begin< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org4ec986f" class = "outline-3" >
< h3 id = "org4ec986f" > Default Browser< / h3 >
< div class = "outline-text-3" id = "text-org4ec986f" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > browse-url-browser-function< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > browse-url-generic< / span >
< span class = "org-variable-name" > browse-url-generic-program< / span > < span class = "org-string" > "qutebrowser"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< / div >
< div id = "outline-container-orge357d1c" class = "outline-2" >
< h2 id = "orge357d1c" > User-Config< / h2 >
< div class = "outline-text-2" id = "text-orge357d1c" >
< / div >
< div id = "outline-container-org491af1d" class = "outline-3" >
< h3 id = "org491af1d" > Others< / h3 >
< div class = "outline-text-3" id = "text-org491af1d" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Line Wrapping< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > spacemacs/toggle-truncate-lines-on< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Visual line navigation for textual modes< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > add-hook< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-variable-name" > text-mode-hook< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > spacemacs/toggle-visual-line-navigation-on< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > leader-q-q just kill the frame without killink the server< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > evil-leader/set-key
< span class = "org-string" > "q q"< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > spacemacs/frame-killer< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Remove current light highlight< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > spacemacs/toggle-highlight-current-line-globally-off< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org86a5c90" class = "outline-3" >
< h3 id = "org86a5c90" > Windows Management< / h3 >
< div class = "outline-text-3" id = "text-org86a5c90" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > global-set-key< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > kbd< / span > < span class = "org-string" > "< C-up> "< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > shrink-window< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > global-set-key< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > kbd< / span > < span class = "org-string" > "< C-down> "< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > enlarge-window< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > global-set-key< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > kbd< / span > < span class = "org-string" > "< C-left> "< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > shrink-window-horizontally< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > global-set-key< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > kbd< / span > < span class = "org-string" > "< C-right> "< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > enlarge-window-horizontally< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgf68f2e6" class = "outline-3" >
< h3 id = "orgf68f2e6" > Lockfiles< / h3 >
< div class = "outline-text-3" id = "text-orgf68f2e6" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > create-lockfiles< / span > nil< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgf6f8b0d" class = "outline-3" >
< h3 id = "orgf6f8b0d" > Autosave< / h3 >
< div class = "outline-text-3" id = "text-orgf6f8b0d" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > backup-directory-alist< / span > < span class = "org-highlight-quoted-quote" > `< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-string" > "."< / span > . < span class = "org-string" > "~/.saves"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > backup-by-copying< / span > t< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org7bd4f40" class = "outline-3" >
< h3 id = "org7bd4f40" > Magit< / h3 >
< div class = "outline-text-3" id = "text-org7bd4f40" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > setenv< / span > < span class = "org-string" > "GIT_ASKPASS"< / span > < span class = "org-string" > "git-gui--askpass"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > magit-diff-refine-hunk< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > all< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgda210dd" class = "outline-3" >
< h3 id = "orgda210dd" > User informations< / h3 >
< div class = "outline-text-3" id = "text-orgda210dd" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Used to the \author for LaTeX export< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > user-full-name< / span > < span class = "org-string" > "Thomas Dehaeze"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Used to set \email for LaTeX export< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > user-mail-address< / span > < span class = "org-string" > "dehaeze.thomas@gmail.com"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org1f6de73" class = "outline-3" >
< h3 id = "org1f6de73" > Change default alert backend< / h3 >
< div class = "outline-text-3" id = "text-org1f6de73" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > alert-default-style < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > libnotify< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
2020-01-11 22:22:46 +01:00
< div id = "outline-container-orgec7b4ab" class = "outline-3" >
< h3 id = "orgec7b4ab" > LaTeX< / h3 >
< div class = "outline-text-3" id = "text-orgec7b4ab" >
2020-01-11 22:04:45 +01:00
< ul class = "org-ul" >
< li > < a href = "https://tex.stackexchange.com/questions/52179/what-is-your-favorite-emacs-and-or-auctex-command-trick" > https://tex.stackexchange.com/questions/52179/what-is-your-favorite-emacs-and-or-auctex-command-trick< / a > < / li >
< li > < a href = "https://tex.stackexchange.com/questions/20843/useful-shortcuts-or-key-bindings-or-predefined-commands-for-emacsauctex" > https://tex.stackexchange.com/questions/20843/useful-shortcuts-or-key-bindings-or-predefined-commands-for-emacsauctex< / a > < / li >
< / ul >
< / div >
< div id = "outline-container-org8bfe176" class = "outline-4" >
< h4 id = "org8bfe176" > Basic LaTeX configuration< / h4 >
< div class = "outline-text-4" id = "text-org8bfe176" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > latex/clean< / span > < span class = "org-rainbow-delimiters-depth-2" > ()< / span >
< span class = "org-doc" > "Clean LaTeX output using latexmk"< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > interactive< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > async-shell-command< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > command and parameters< / span >
< span class = "org-string" > "latexmk -c "< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > shell-quote-argument< / span > < span class = "org-variable-name" > buffer-file-name< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-string" > " & "< / span >
< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > evil-define-key< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > normal< / span > < span class = "org-variable-name" > LaTeX-mode-map< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > kbd< / span > < span class = "org-string" > ", C"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > latex/clean< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > add-hook< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-variable-name" > TeX-mode-hook< / span > < span class = "org-highlight-quoted-quote" > #'< / span > < span class = "org-variable-name" > TeX-fold-mode< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org63dfb0a" class = "outline-4" >
< h4 id = "org63dfb0a" > Master file< / h4 >
< div class = "outline-text-4" id = "text-org63dfb0a" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq-default< / span > < span class = "org-variable-name" > TeX-master< / span > nil< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org99fc68e" class = "outline-4" >
< h4 id = "org99fc68e" > Pdf Viewer< / h4 >
< div class = "outline-text-4" id = "text-org99fc68e" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > TeX-view-program-selection< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > output-pdf < span class = "org-string" > "Zathura"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > TeX-source-correlate-mode< / span > t< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > TeX-source-correlate-start-server< / span > t< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > TeX-source-correlate-method< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > synctex< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > TeX-view-program-list< / span >
< span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-string" > "PDF Tools"< / span > TeX-pdf-tools-sync-view< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< / div >
2020-01-11 22:22:46 +01:00
< div id = "outline-container-org311c446" class = "outline-3" >
< h3 id = "org311c446" > Helm-Bibtex< / h3 >
< div class = "outline-text-3" id = "text-org311c446" >
2020-01-11 22:04:45 +01:00
< / div >
< div id = "outline-container-orgc7928a7" class = "outline-4" >
< h4 id = "orgc7928a7" > General Config< / h4 >
< div class = "outline-text-4" id = "text-orgc7928a7" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > helm-bibtex< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Use "tags" field when looking for bib entries< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > helm-bibtex-additional-search-fields < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > keywords< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Special Tags:< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > - favorite< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Reverse the order of display< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > (advice-add 'bibtex-completion-candidates< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > :filter-return 'reverse)< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Display of bibtex entries with helm< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > bibtex-completion-display-formats
< span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > t . < span class = "org-string" > "${author:36} ${title:*} ${year:4} ${=type=:7} ${=has-note=:1}"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Special symbols for notes and pdf< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > bibtex-completion-pdf-symbol < span class = "org-string" > "⌘ "< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > bibtex-completion-notes-symbol < span class = "org-string" > "✎ "< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Use file field to find the PDF< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > (setq bibtex-completion-pdf-field "file")< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Bibliography file< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > bibtex-completion-bibliography < span class = "org-string" > "~/Cloud/thesis/ressources/references.bib"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Directory with all the pdfs< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > bibtex-completion-library-path < span class = "org-string" > "~/Cloud/thesis/ressources/pdfs"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Directory with notes files< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > bibtex-completion-notes-path < span class = "org-string" > "~/Cloud/thesis/ressources/notes"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Template used when creating new Note file< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > bibtex-completion-notes-template-multiple-files < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > concat< / span > < span class = "org-string" > "#+TITLE: ${title}\n"< / span >
< span class = "org-string" > ":DRAWER:\n"< / span >
< span class = "org-string" > "#+LATEX_CLASS: biblioreport\n"< / span >
< span class = "org-string" > "\n"< / span >
< span class = "org-string" > "#+OPTIONS: toc:nil title:nil\n"< / span >
< span class = "org-string" > "#+OPTIONS: ':t -:t\n"< / span >
< span class = "org-string" > "\n"< / span >
< span class = "org-string" > "#+LATEX_HEADER: \\newcommand{\\refType}{${=type=}}\n"< / span >
< span class = "org-string" > "#+LATEX_HEADER: \\newcommand{\\refKey}{${=key=}}\n"< / span >
< span class = "org-string" > "#+LATEX_HEADER: \\newcommand{\\refTitle}{${title}}\n"< / span >
< span class = "org-string" > "#+LATEX_HEADER: \\newcommand{\\refAuthor}{${author-or-editor}}\n"< / span >
< span class = "org-string" > "#+LATEX_HEADER: \\newcommand{\\refJournal}{${journal}}\n"< / span >
< span class = "org-string" > "#+LATEX_HEADER: \\newcommand{\\refYear}{${year}}\n"< / span >
< span class = "org-string" > "#+LATEX_HEADER: \\newcommand{\\refDoi}{${DOI}}\n"< / span >
< span class = "org-string" > "#+LATEX_HEADER: \\newcommand{\\refUrl}{${url}}\n"< / span >
< span class = "org-string" > "#+LATEX_HEADER: \\newcommand{\\refKeywords}{${keywords}}\n"< / span >
< span class = "org-string" > "#+LATEX_HEADER: \\input{config.tex}\n"< / span >
< span class = "org-string" > "#+LATEX_HEADER: \\graphicspath{{./figs/${=key=}/}}\n"< / span >
< span class = "org-string" > "# #+TOC: headlines 2\n"< / span >
< span class = "org-string" > ":END:\n"< / span >
< span class = "org-string" > "\n"< / span >
< span class = "org-string" > "#+BEGIN_abstract\n"< / span >
< span class = "org-string" > "\n"< / span >
< span class = "org-string" > "#+END_abstract\n"< / span >
< span class = "org-string" > "\n"< / span >
< span class = "org-string" > "* ${title} :ignore:\n"< / span >
< span class = "org-string" > ":PROPERTIES:\n"< / span >
< span class = "org-string" > ":CUSTOM_ID: ${=key=}\n"< / span >
< span class = "org-string" > ":AUTHOR: ${author}\n"< / span >
< span class = "org-string" > ":TYPE: ${=type=}\n"< / span >
< span class = "org-string" > ":JOURNAL: ${journal}\n"< / span >
< span class = "org-string" > ":YEAR: ${year}\n"< / span >
< span class = "org-string" > ":VOLUME: ${volume}\n"< / span >
< span class = "org-string" > ":PAGES: ${pages}\n"< / span >
< span class = "org-string" > ":DOI: ${DOI}\n"< / span >
< span class = "org-string" > ":URL: ${url}\n"< / span >
< span class = "org-string" > ":NOTER_DOCUMENT: ../pdfs/${=key=}.pdf\n"< / span >
< span class = "org-string" > ":END:\n"< / span >
< span class = "org-string" > "\n"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Make "Edit notes" the default action< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > helm-delete-action-from-source< / span > < span class = "org-string" > "Edit notes"< / span > helm-source-bibtex< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > helm-add-action-to-source< / span > < span class = "org-string" > "Edit notes"< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > helm-bibtex-edit-notes< / span > helm-source-bibtex < span class = "org-highlight-numbers-number" > 0< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org11787bb" class = "outline-4" >
< h4 id = "org11787bb" > Open pdf externally< / h4 >
< div class = "outline-text-4" id = "text-org11787bb" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > helm-bibtex< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > tdehaeze/open-pdf-externally< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > key< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > call-process< / span > < span class = "org-string" > "zathura"< / span > nil < span class = "org-highlight-numbers-number" > 0< / span > nil < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > nth< / span > < span class = "org-highlight-numbers-number" > 0< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > -cons-to-list< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > bibtex-completion-find-pdf key< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Action to open the pdf with Zathura< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > helm-delete-action-from-source< / span > < span class = "org-string" > "Open PDF Externally"< / span > helm-source-bibtex< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > helm-add-action-to-source< / span > < span class = "org-string" > "Open PDF Externally"< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > tdehaeze/open-pdf-externally< / span > helm-source-bibtex < span class = "org-highlight-numbers-number" > 1< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org3ea0900" class = "outline-4" >
< h4 id = "org3ea0900" > Special Commands< / h4 >
< div class = "outline-text-4" id = "text-org3ea0900" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > helm-bibtex-favorites< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-type" > & optional< / span > arg< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-doc" > "Search Favorite BibTeX entries"< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > interactive< / span > < span class = "org-string" > "P"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > helm-bibtex< / span > arg nil < span class = "org-string" > "favorite "< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org14d0d65" class = "outline-4" >
< h4 id = "org14d0d65" > List all element of the bibliography without pdf associated< / h4 >
< div class = "outline-text-4" id = "text-org14d0d65" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > list-bib-without-pdf-associated< / span > < span class = "org-rainbow-delimiters-depth-2" > ()< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > interactive< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > bibtex-completion-init< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > candidates < span class = "org-rainbow-delimiters-depth-3" > (< / span > bibtex-completion-candidates< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > canditate-is-pdf-present< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > candidate< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > bibtex-completion-find-pdf-in-library < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > cdr< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > assoc< / span > < span class = "org-string" > "=key="< / span > candidate< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > candidates-without-pdf < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > remove-if< / span > < span class = "org-highlight-quoted-quote" > #'< / span > < span class = "org-highlight-quoted-symbol" > canditate-is-pdf-present< / span > candidates< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > candidate-without-pdf-names < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > mapcar< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > lambda< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > x< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > cdr< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > assoc< / span > < span class = "org-string" > "title"< / span > x< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
candidates-without-pdf< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > with-output-to-temp-buffer< / span > < span class = "org-string" > "*bib-without-pdf*"< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > princ< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > string-join< / span > candidate-without-pdf-names < span class = "org-string" > "\n"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > switch-to-buffer-other-window< / span > < span class = "org-string" > "*bib-without-pdf*"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< / div >
< div id = "outline-container-orgc1534df" class = "outline-3" >
< h3 id = "orgc1534df" > Auto Complete< / h3 >
< div class = "outline-text-3" id = "text-orgc1534df" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-variable-name" > global-company-mode< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org64a7a10" class = "outline-3" >
< h3 id = "org64a7a10" > Yas Snippets< / h3 >
< div class = "outline-text-3" id = "text-org64a7a10" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > yas-indent-line< / span > < span class = "org-string" > "fixed"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgcb7083a" class = "outline-3" >
< h3 id = "orgcb7083a" > Org-Mode< / h3 >
< div class = "outline-text-3" id = "text-orgcb7083a" >
< ul class = "org-ul" >
< li > < a href = "http://cachestocaches.com/2016/9/my-workflow-org-agenda/" > http://cachestocaches.com/2016/9/my-workflow-org-agenda/< / a > < / li >
< li > < a href = "http://doc.norang.ca/org-mode.html#TodoKeywords" > http://doc.norang.ca/org-mode.html#TodoKeywords< / a > < / li >
< li > < a href = "https://emacs.cafe/emacs/orgmode/gtd/2017/06/30/orgmode-gtd.html" > https://emacs.cafe/emacs/orgmode/gtd/2017/06/30/orgmode-gtd.html< / a > < / li >
< / ul >
< / div >
< div id = "outline-container-org4f31a31" class = "outline-4" >
< h4 id = "org4f31a31" > Org General Config< / h4 >
< div class = "outline-text-4" id = "text-org4f31a31" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-directory< / span > < span class = "org-string" > "~/Cloud/org/"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-default-notes-file< / span > < span class = "org-string" > "~/Cloud/org/refile.org"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Highligh latex parts in org mode< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-highlight-latex-and-related< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > native< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Disable automatic highlight of < / span > < span class = "org-bold" > < span class = "org-warning" > TODO< / span > < / span > < span class = "org-comment" > keywords in orgmode buffers< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > add-hook< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-variable-name" > org-mode-hook< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > lambda< / span > < span class = "org-rainbow-delimiters-depth-1" > ()< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-variable-name" > hl-todo-mode< / span > < span class = "org-highlight-numbers-number" > -1< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > The following setting hides blank lines between headings which keeps folded view nice and compact.< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-cycle-separator-lines< / span > < span class = "org-highlight-numbers-number" > 0< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-startup-indented< / span > t< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgb251673" class = "outline-4" >
< h4 id = "orgb251673" > Org Tagging< / h4 >
< div class = "outline-text-4" id = "text-orgb251673" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Tags with fast selection keys< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-tag-alist< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > quote< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "@christophe"< / span > . ?c< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "@muriel"< / span > . ?m< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org7c28cdc" class = "outline-4" >
< h4 id = "org7c28cdc" > Org Gcal< / h4 >
< div class = "outline-text-4" id = "text-org7c28cdc" >
< ul class = "org-ul" >
< li > < a href = "https://cestlaz.github.io/posts/using-emacs-26-gcal/#.WIqBud9vGAk" > https://cestlaz.github.io/posts/using-emacs-26-gcal/#.WIqBud9vGAk< / a > < / li >
< / ul >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > org-gcal-client-id < span class = "org-string" > "396102378658-dcmbcmrnthbe925519otsjbd921otq0v.apps.googleusercontent.com"< / span >
org-gcal-client-secret < span class = "org-string" > "4M5PWrbhQjwYEMXGK85lDYX9"< / span >
org-gcal-file-alist < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "dehaeze.thomas@gmail.com"< / span > . < span class = "org-string" > "~/Cloud/org/gcal.org"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "8kjmhe2ar0abnm054ill1fb0gc@group.calendar.google.com"< / span > . < span class = "org-string" > "~/Cloud/org/gcal_phd.org"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Automatic fetch of the new events< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > add-hook< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-variable-name" > org-agenda-mode-hook< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > lambda< / span > < span class = "org-rainbow-delimiters-depth-1" > ()< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > org-gcal-fetch< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org45a8486" class = "outline-4" >
< h4 id = "org45a8486" > Org Refile< / h4 >
< div class = "outline-text-4" id = "text-org45a8486" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-refile-targets< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-variable-name" > org-agenda-files< / span > . < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-builtin" > :maxlevel< / span > . < span class = "org-highlight-numbers-number" > 6< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgc4264bc" class = "outline-4" >
< h4 id = "orgc4264bc" > Org Todos< / h4 >
< div class = "outline-text-4" id = "text-orgc4264bc" >
< p >
< a href = "http://sachachua.com/blog/2014/04/thinking-todo-keywords/" > http://sachachua.com/blog/2014/04/thinking-todo-keywords/< / a >
< / p >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Tags with fast selection keys< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-todo-keywords< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > sequence < span class = "org-string" > "< / span > < span class = "org-bold" > < span class = "org-warning" > TODO< / span > < / span > < span class = "org-string" > (t)"< / span > < span class = "org-string" > "NEXT(n)"< / span > < span class = "org-string" > "MAIL(m)"< / span > < span class = "org-string" > "|"< / span > < span class = "org-string" > "DONE(d)"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > sequence < span class = "org-string" > "READ(r)"< / span > < span class = "org-string" > "BKMK(b)"< / span > < span class = "org-string" > "EXER(x)"< / span > < span class = "org-string" > "|"< / span > < span class = "org-string" > "DONE(d)"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > sequence < span class = "org-string" > "WAIT(w@/!)"< / span > < span class = "org-string" > "SDAY(s)"< / span > < span class = "org-string" > "|"< / span > < span class = "org-string" > "CANC(c@/!)"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > sequence < span class = "org-string" > "QUES(q)"< / span > < span class = "org-string" > "|"< / span > < span class = "org-string" > "ANSW(a)"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > sequence < span class = "org-string" > "EXAM(e)"< / span > < span class = "org-string" > "IDEA(i)"< / span > < span class = "org-string" > "|"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Display of the keywords< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-todo-keyword-faces< / span >
< span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "< / span > < span class = "org-bold" > < span class = "org-warning" > TODO< / span > < / span > < span class = "org-string" > "< / span > . < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-builtin" > :foreground< / span > < span class = "org-string" > "#cc241d"< / span > < span class = "org-builtin" > :weight< / span > bold< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > red< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "EXER"< / span > . < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-builtin" > :foreground< / span > < span class = "org-string" > "#cc241d"< / span > < span class = "org-builtin" > :weight< / span > bold< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > red< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "NEXT"< / span > . < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-builtin" > :foreground< / span > < span class = "org-string" > "#cc241d"< / span > < span class = "org-builtin" > :weight< / span > bold< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > red< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "MAIL"< / span > . < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-builtin" > :foreground< / span > < span class = "org-string" > "#cc241d"< / span > < span class = "org-builtin" > :weight< / span > bold< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > red< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "READ"< / span > . < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-builtin" > :foreground< / span > < span class = "org-string" > "#cc241d"< / span > < span class = "org-builtin" > :weight< / span > bold< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > red< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "ANSW"< / span > . < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-builtin" > :foreground< / span > < span class = "org-string" > "#689d6a"< / span > < span class = "org-builtin" > :weight< / span > bold< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > aqua< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "DONE"< / span > . < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-builtin" > :foreground< / span > < span class = "org-string" > "#689d6a"< / span > < span class = "org-builtin" > :weight< / span > bold< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > aqua< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "WAIT"< / span > . < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-builtin" > :foreground< / span > < span class = "org-string" > "#d65d0e"< / span > < span class = "org-builtin" > :weight< / span > bold< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > orange< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "QUES"< / span > . < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-builtin" > :foreground< / span > < span class = "org-string" > "#d79921"< / span > < span class = "org-builtin" > :weight< / span > bold< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > yellow< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "CANC"< / span > . < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-builtin" > :foreground< / span > < span class = "org-string" > "#a89984"< / span > < span class = "org-builtin" > :weight< / span > bold< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > grey< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "SDAY"< / span > . < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-builtin" > :foreground< / span > < span class = "org-string" > "#98971a"< / span > < span class = "org-builtin" > :weight< / span > bold< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > green< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "BKMK"< / span > . < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-builtin" > :foreground< / span > < span class = "org-string" > "#98971a"< / span > < span class = "org-builtin" > :weight< / span > bold< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > green< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "IDEA"< / span > . < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-builtin" > :foreground< / span > < span class = "org-string" > "#98971a"< / span > < span class = "org-builtin" > :weight< / span > bold< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > green< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "EXAM"< / span > . < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-builtin" > :foreground< / span > < span class = "org-string" > "#98971a"< / span > < span class = "org-builtin" > :weight< / span > bold< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > green< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgf6752db" class = "outline-4" >
< h4 id = "orgf6752db" > Archive subtrees under the same hierarchy as original in the archive files< / h4 >
< div class = "outline-text-4" id = "text-orgf6752db" >
< p >
< a href = "https://gist.github.com/Fuco1/e86fb5e0a5bb71ceafccedb5ca22fcfb" > https://gist.github.com/Fuco1/e86fb5e0a5bb71ceafccedb5ca22fcfb< / a >
< / p >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > defadvice< / span > < span class = "org-function-name" > org-archive-subtree< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > around fix-hierarchy activate< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > let*< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > fix-archive-p < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > and< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > not< / span > < span class = "org-variable-name" > current-prefix-arg< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > not< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > use-region-p< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > location < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > org-archive--compute-location< / span > < span class = "org-variable-name" > org-archive-location< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > afile < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > car< / span > location< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > offset < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > if< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > =< / span > < span class = "org-highlight-numbers-number" > 0< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > length< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > cdr< / span > location< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-highlight-numbers-number" > 1< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > 1+< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > string-match< / span > < span class = "org-string" > "[< / span > < span class = "org-string" > < span class = "org-negation-char" > ^< / span > < / span > < span class = "org-string" > *]"< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > cdr< / span > location< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > buffer < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > or< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > find-buffer-visiting< / span > afile< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > find-file-noselect< / span > afile< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
ad-do-it
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > when< / span > fix-archive-p
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > with-current-buffer< / span > buffer
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > goto-char< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > point-max< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > while< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > > < / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > org-current-level< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > offset< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > org-up-heading-safe< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > let*< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > olpath < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > org-entry-get< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > point< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-string" > "ARCHIVE_OLPATH"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > path < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > and< / span > olpath < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > split-string< / span > olpath < span class = "org-string" > "/"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > level offset< span class = "org-rainbow-delimiters-depth-1" > )< / span >
tree-text< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > when< / span > olpath
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > org-mark-subtree< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > tree-text < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > buffer-substring< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > region-beginning< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > region-end< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > let< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-variable-name" > this-command< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > org-cut-subtree< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > goto-char< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > point-min< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > save-restriction< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > widen< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > -each< / span > path
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > lambda< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > heading< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > if< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > re-search-forward< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > rx-to-string< / span >
< span class = "org-highlight-quoted-quote" > `< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > : bol < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > repeat< / span > ,level < span class = "org-string" > "*"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > 1+< / span > < span class = "org-string" > " "< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > ,heading< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-warning" > nil t< / span > < span class = "org-warning" > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > org-narrow-to-subtree< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > goto-char< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > point-max< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > unless< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > looking-at< / span > < span class = "org-string" > "^"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > insert< / span > < span class = "org-string" > "\n"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > insert< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > make-string< / span > level ?*< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-string" > " "< / span >
heading
< span class = "org-string" > "\n"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > cl-incf< / span > level< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > widen< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > org-end-of-subtree< / span > t t< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > org-paste-subtree< / span > level tree-text< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org019071c" class = "outline-4" >
< h4 id = "org019071c" > Org Agenda< / h4 >
< div class = "outline-text-4" id = "text-org019071c" >
< / div >
< div id = "outline-container-orged65137" class = "outline-5" >
< h5 id = "orged65137" > General configuration< / h5 >
< div class = "outline-text-5" id = "text-orged65137" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > File to save todo items< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-agenda-files< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > list< / span > < span class = "org-string" > "~/Cloud/org/"< / span > < span class = "org-string" > "~/.config/literate-dotfiles/dotfiles"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Include archived files< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-agenda-archives-mode< / span > t< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Set priority range from A to C with default A< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-highest-priority< / span > ?A< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-lowest-priority< / span > ?C< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-default-priority< / span > ?C< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Set colours for priorities< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-priority-faces< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > ?A . < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-builtin" > :foreground< / span > < span class = "org-string" > "#CC241D"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > ?B . < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-builtin" > :foreground< / span > < span class = "org-string" > "#D65D0E"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > ?C . < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-builtin" > :foreground< / span > < span class = "org-string" > "#D79921"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Open agenda in current window< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-agenda-window-setup< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > current-window< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-agenda-prefix-format< / span >
< span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > agenda . < span class = "org-string" > " %-12:c %?-12t% s"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > todo . < span class = "org-string" > ""< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Don't show the filename for reading agenda< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > tags . < span class = "org-string" > " %-12:c"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > search< / span > . < span class = "org-string" > " %-12:c"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org7dd3102" class = "outline-5" >
< h5 id = "org7dd3102" > Org Agenda Custom Views< / h5 >
< div class = "outline-text-5" id = "text-org7dd3102" >
< p >
< a href = "https://blog.aaronbieber.com/2016/09/24/an-agenda-for-life-with-org-mode.html" > https://blog.aaronbieber.com/2016/09/24/an-agenda-for-life-with-org-mode.html< / a >
< / p >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > tdh/org-agenda-skip-scheduled< / span > < span class = "org-rainbow-delimiters-depth-3" > ()< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > org-agenda-skip-entry-if< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > scheduled< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > deadline< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > regexp< / span > < span class = "org-string" > "\n]+> "< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-agenda-custom-commands< / span >
< span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "w"< / span > < span class = "org-string" > "Work"< / span > tags-todo < span class = "org-string" > "@work"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > All todos related to work< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "h"< / span > < span class = "org-string" > "Home"< / span > tags-todo < span class = "org-string" > "@home"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > All todos not related to work< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "q"< / span > . < span class = "org-string" > "Questions to ask"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "qc"< / span > < span class = "org-string" > "Questions to Cristophe"< / span > tags < span class = "org-string" > "@christophe/QUES"< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-variable-name" > org-agenda-overriding-header< / span > < span class = "org-string" > "Questions to Christophe"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "qm"< / span > < span class = "org-string" > "Questions to Muriel"< / span > tags < span class = "org-string" > "@muriel/QUES"< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-variable-name" > org-agenda-overriding-header< / span > < span class = "org-string" > "Questions to Muriel"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "qo"< / span > < span class = "org-string" > "Questions to Olivier"< / span > tags < span class = "org-string" > "@olivier/QUES"< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-variable-name" > org-agenda-overriding-header< / span > < span class = "org-string" > "Questions to Olivier"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "qq"< / span > < span class = "org-string" > "All questions"< / span > tags < span class = "org-string" > "/QUES"< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-variable-name" > org-agenda-overriding-header< / span > < span class = "org-string" > "Other questions"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "n"< / span > < span class = "org-string" > "Next things to do"< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > tags < span class = "org-string" > "+PRIORITY+\"A\""< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-variable-name" > org-agenda-skip-function< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > org-agenda-skip-entry-if < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > todo< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > done< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-variable-name" > org-agenda-overriding-header< / span > < span class = "org-string" > "High-priority unfinished tasks:"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > agenda < span class = "org-string" > ""< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > todo < span class = "org-string" > "NEXT"< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-variable-name" > org-agenda-skip-function< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > tdh/org-agenda-skip-scheduled< / span > < span class = "org-rainbow-delimiters-depth-2" > )(< / span > < span class = "org-variable-name" > org-agenda-overriding-header< / span > < span class = "org-string" > "Next thing to do that are not scheduled"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > todo < span class = "org-string" > "MAIL"< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-variable-name" > org-agenda-overriding-header< / span > < span class = "org-string" > "Email to write/reply"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > todo < span class = "org-string" > "WAIT"< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-variable-name" > org-agenda-overriding-header< / span > < span class = "org-string" > "Things Waiting"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "u"< / span > < span class = "org-string" > "Unscheduled tasks"< / span > todo < span class = "org-string" > "< / span > < span class = "org-bold" > < span class = "org-warning" > TODO< / span > < / span > < span class = "org-string" > "< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-variable-name" > org-agenda-skip-function< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > tdh/org-agenda-skip-scheduled< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-variable-name" > org-agenda-overriding-header< / span > < span class = "org-string" > "Unscheduled < / span > < span class = "org-bold" > < span class = "org-warning" > TODO< / span > < / span > < span class = "org-string" > entries: "< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "r"< / span > < span class = "org-string" > "Things to read"< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > todo < span class = "org-string" > "READ"< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-variable-name" > org-agenda-overriding-header< / span > < span class = "org-string" > "Things to read"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-variable-name" > org-agenda-files< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "~/Cloud/thesis/ressources/notes/"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< / div >
< div id = "outline-container-org7c24812" class = "outline-4" >
< h4 id = "org7c24812" > Org Notification based on calendar event< / h4 >
< div class = "outline-text-4" id = "text-org7c24812" >
< p >
< a href = "https://emacs.stackexchange.com/questions/3844/good-methods-for-setting-up-alarms-audio-visual-triggered-by-org-mode-events" > https://emacs.stackexchange.com/questions/3844/good-methods-for-setting-up-alarms-audio-visual-triggered-by-org-mode-events< / a >
< / p >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > appt-message-warning-time < span class = "org-highlight-numbers-number" > 5< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > my-org-agenda-to-appt< / span > < span class = "org-rainbow-delimiters-depth-3" > ()< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > interactive< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > setq< / span > appt-time-msg-list nil< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > org-agenda-to-appt< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > my-org-agenda-to-appt< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-comment-delimiter" > ; < / span > < span class = "org-comment" > Display appointments as a window manager notification< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > appt-disp-window-function < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > my-appt-display< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > appt-delete-window-function < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > lambda< / span > < span class = "org-rainbow-delimiters-depth-1" > ()< / span > t< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > my-appt-notification-app < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > concat< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > getenv< / span > < span class = "org-string" > "HOME"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-string" > "/bin/appt-notification"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > my-appt-display< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > min-to-app new-time msg< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > if< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > atom< / span > min-to-app< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > start-process< / span > < span class = "org-string" > "my-appt-notification-app"< / span > nil my-appt-notification-app min-to-app msg< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > dolist< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > i < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > number-sequence< / span > < span class = "org-highlight-numbers-number" > 0< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > 1-< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > length< / span > min-to-app< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > start-process< / span > < span class = "org-string" > "my-appt-notification-app"< / span > nil my-appt-notification-app < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > nth< / span > i min-to-app< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > nth< / span > i msg< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< div id = "outline-container-orgdf39198" class = "outline-5" >
< h5 id = "orgdf39198" > appt-notification script< / h5 >
< div class = "outline-text-5" id = "text-orgdf39198" >
< div class = "org-src-container" >
< pre class = "src src-bash" > < span class = "org-variable-name" > TIME< / span > =< span class = "org-string" > "< / span > < span class = "org-string" > < span class = "org-constant" > $< / span > < / span > < span class = "org-string" > < span class = "org-variable-name" > 1< / span > < / span > < span class = "org-string" > "< / span > TODO
< span class = "org-variable-name" > MSG< / span > =< span class = "org-string" > "< / span > < span class = "org-string" > < span class = "org-constant" > $< / span > < / span > < span class = "org-string" > < span class = "org-variable-name" > 2< / span > < / span > < span class = "org-string" > "< / span >
dunstify --replace=< span class = "org-highlight-numbers-number" > 85401< / span > < span class = "org-string" > "Event in < / span > < span class = "org-string" > < span class = "org-constant" > $< / span > < / span > < span class = "org-string" > < span class = "org-variable-name" > TIME< / span > < / span > < span class = "org-string" > minutes"< / span > < span class = "org-string" > "< / span > < span class = "org-string" > < span class = "org-constant" > $< / span > < / span > < span class = "org-string" > < span class = "org-variable-name" > MSG< / span > < / span > < span class = "org-string" > "< / span >
< / pre >
< / div >
< / div >
< / div >
< / div >
< div id = "outline-container-orge92c628" class = "outline-4" >
< h4 id = "orge92c628" > Org Structure Template< / h4 >
< div class = "outline-text-4" id = "text-orge92c628" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-structure-template-alist< / span >
< span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "c"< / span > . < span class = "org-string" > "center"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "C"< / span > . < span class = "org-string" > "comment"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "i"< / span > . < span class = "org-string" > "important"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "e"< / span > . < span class = "org-string" > "example"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "q"< / span > . < span class = "org-string" > "quote"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "s"< / span > . < span class = "org-string" > "src"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgfd9f2c8" class = "outline-4" >
< h4 id = "orgfd9f2c8" > Org Capture< / h4 >
< div class = "outline-text-4" id = "text-orgfd9f2c8" >
< p >
Documentation:
< / p >
< ul class = "org-ul" >
< li > Template elements: < a href = "https://orgmode.org/manual/Template-elements.html#Template-elements" > https://orgmode.org/manual/Template-elements.html#Template-elements< / a > < / li >
< li > Template expansion: < a href = "https://orgmode.org/manual/Template-expansion.html#Template-expansion" > https://orgmode.org/manual/Template-expansion.html#Template-expansion< / a > < / li >
< li > Capture protocol: < a href = "https://orgmode.org/manual/capture-protocol.html" > https://orgmode.org/manual/capture-protocol.html< / a > < / li >
< / ul >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-capture-templates< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > quote< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "t"< / span > < span class = "org-comment-delimiter" > ; < / span > < span class = "org-comment" > key< / span >
< span class = "org-string" > "todo"< / span > < span class = "org-comment-delimiter" > ; < / span > < span class = "org-comment" > name< / span >
entry < span class = "org-comment-delimiter" > ; < / span > < span class = "org-comment" > type< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > file+headline < span class = "org-string" > "~/Cloud/org/work-notebook.org"< / span > < span class = "org-string" > "Inbox"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-comment-delimiter" > ; < / span > < span class = "org-comment" > target< / span >
< span class = "org-string" > "** < / span > < span class = "org-bold" > < span class = "org-warning" > TODO< / span > < / span > < span class = "org-string" > %?\n%U\n"< / span > < span class = "org-comment-delimiter" > ; < / span > < span class = "org-comment" > template< / span >
< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "M"< / span > < span class = "org-comment-delimiter" > ; < / span > < span class = "org-comment" > key< / span >
< span class = "org-string" > "Meeting"< / span > < span class = "org-comment-delimiter" > ; < / span > < span class = "org-comment" > name< / span >
entry < span class = "org-comment-delimiter" > ; < / span > < span class = "org-comment" > type< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > file+headline < span class = "org-string" > "~/Cloud/org/work-notebook.org"< / span > < span class = "org-string" > "Meetings"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-comment-delimiter" > ; < / span > < span class = "org-comment" > target< / span >
< span class = "org-string" > "** %?\n%(org-insert-time-stamp (org-read-date nil t \"+0d\"))\n"< / span > < span class = "org-comment-delimiter" > ; < / span > < span class = "org-comment" > template< / span >
< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "m"< / span > < span class = "org-comment-delimiter" > ; < / span > < span class = "org-comment" > key< / span >
< span class = "org-string" > "mail"< / span > < span class = "org-comment-delimiter" > ; < / span > < span class = "org-comment" > name< / span >
entry < span class = "org-comment-delimiter" > ; < / span > < span class = "org-comment" > type< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > file+headline < span class = "org-string" > "~/Cloud/org/work-notebook.org"< / span > < span class = "org-string" > "Mails"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-comment-delimiter" > ; < / span > < span class = "org-comment" > target< / span >
< span class = "org-string" > "** < / span > < span class = "org-bold" > < span class = "org-warning" > TODO< / span > < / span > < span class = "org-string" > [#A] %?\nSCHEDULED: %(org-insert-time-stamp (org-read-date nil t \"+0d\"))\n%a\n"< / span > < span class = "org-comment-delimiter" > ; < / span > < span class = "org-comment" > template< / span >
< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "pm"< / span >
< span class = "org-string" > "Org-Protocol Mail"< / span >
entry
< span class = "org-rainbow-delimiters-depth-3" > (< / span > file+headline < span class = "org-string" > "~/Cloud/org/work-notebook.org"< / span > < span class = "org-string" > "Mails"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-string" > "* MAIL %:description [[message:%:link][link]]\nSCHEDULED: %(org-insert-time-stamp (org-read-date nil t \"+0d\"))\n\n"< / span >
< span class = "org-builtin" > :immediate-finish< / span > t
< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "pu"< / span >
< span class = "org-string" > "Org-Protocol Url"< / span >
entry
< span class = "org-rainbow-delimiters-depth-3" > (< / span > file+headline < span class = "org-string" > "~/Cloud/org/work-notebook.org"< / span > < span class = "org-string" > "Inbox"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-string" > "* [[%:link][%:description]]\nCaptured On: %U\n\n"< / span >
< span class = "org-builtin" > :immediate-finish< / span > t
< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "pt"< / span >
< span class = "org-string" > "Org-Protocol text"< / span >
entry
< span class = "org-rainbow-delimiters-depth-3" > (< / span > file+headline < span class = "org-string" > "~/Cloud/org/work-notebook.org"< / span > < span class = "org-string" > "Inbox"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-string" > "* %:description\nSource: %:link\nCaptured On: %U\n\n#+BEGIN_QUOTE\n%i\n#+END_QUOTE\n\n"< / span >
< span class = "org-builtin" > :immediate-finish< / span > t
< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org6a76c73" class = "outline-4" >
< h4 id = "org6a76c73" > Org Babel< / h4 >
< div class = "outline-text-4" id = "text-org6a76c73" >
< / div >
< div id = "outline-container-orgd389e37" class = "outline-5" >
< h5 id = "orgd389e37" > Main configuration< / h5 >
< div class = "outline-text-5" id = "text-orgd389e37" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Don't ask for confirmation when evalutating latex blocs< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > my-org-confirm-babel-evaluate< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > lang body< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > not< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > member< / span > lang < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "emacs-lisp"< / span > < span class = "org-string" > "latex"< / span > < span class = "org-string" > "matlab"< / span > < span class = "org-string" > "sh"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-confirm-babel-evaluate< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > my-org-confirm-babel-evaluate< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Enable Babel evalutation< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > org-babel-do-load-languages< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-variable-name" > org-babel-load-languages< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > latex . t< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > shell< / span > . t< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > matlab . t< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > python . t< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > emacs-lisp . t< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org403aa60" class = "outline-5" >
< h5 id = "org403aa60" > Library of Babel< / h5 >
< div class = "outline-text-5" id = "text-org403aa60" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > org-babel-lob-ingest< / span > < span class = "org-string" > "~/Cloud/thesis/org-mode/org-babel-tutorial/org-babel-library.org"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgfc07a24" class = "outline-5" >
< h5 id = "orgfc07a24" > Org-Babel Matlab< / h5 >
< div class = "outline-text-5" id = "text-orgfc07a24" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > org-babel-matlab-shell-command < span class = "org-string" > "/home/thomas/bin/matlab -nodesktop -nosplash"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > org-babel-matlab-emacs-link-wrapper-method
< span class = "org-string" > "%s< / span >
< span class = "org-string" > if ischar(ans);< / span >
< span class = "org-string" > echo('test');< / span >
< span class = "org-string" > fid = fopen('%s', 'w');< / span >
< span class = "org-string" > fprintf(fid, '%s', ans);< / span >
< span class = "org-string" > fclose(fid);< / span >
< span class = "org-string" > else;< / span >
< span class = "org-string" > save -ascii %s ans;< / span >
< span class = "org-string" > end< / span >
< span class = "org-string" > delete('%s');< / span >
< span class = "org-string" > "< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org3ee617a" class = "outline-5" >
< h5 id = "org3ee617a" > Default options< / h5 >
< div class = "outline-text-5" id = "text-org3ee617a" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > org-babel-default-header-args:matlab
< span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-builtin" > :results< / span > . < span class = "org-string" > "none"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-builtin" > :session< / span > . < span class = "org-string" > "*MATLAB*"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-builtin" > :comments< / span > . < span class = "org-string" > "org"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-builtin" > :exports< / span > . < span class = "org-string" > "both"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-builtin" > :cache< / span > . < span class = "org-string" > "no"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-builtin" > :noweb< / span > . < span class = "org-string" > "no"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-builtin" > :hlines< / span > . < span class = "org-string" > "no"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-builtin" > :tangle< / span > . < span class = "org-string" > "no"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-builtin" > :mkdir< / span > . < span class = "org-string" > "yes"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-builtin" > :eval< / span > . < span class = "org-string" > "no-export"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgd8bef89" class = "outline-5" >
< h5 id = "orgd8bef89" > < span class = "todo TODO" > TODO< / span > Asynchronous execution< / h5 >
< div class = "outline-text-5" id = "text-orgd8bef89" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > push< / span > < span class = "org-string" > "~/.emacs.d/private/ob-session-async/lisp/"< / span > < span class = "org-variable-name" > load-path< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > require< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-constant" > ob-session-async< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > (with-eval-after-load "ob"< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > (require 'org-babel-eval-in-repl))< / span >
< / pre >
< / div >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > (with-eval-after-load "eval-in-repl"< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > (setq eir-jump-after-eval nil))< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org1d44037" class = "outline-5" >
< h5 id = "org1d44037" > < span class = "todo TODO" > TODO< / span > Theme< / h5 >
< div class = "outline-text-5" id = "text-org1d44037" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > require< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-constant" > color< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > set-face-attribute< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org-block< / span > nil < span class = "org-builtin" > :background< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > color-darken-name< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > face-attribute< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > default< / span > < span class = "org-builtin" > :background< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-highlight-numbers-number" > 3< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org4761b55" class = "outline-5" >
< h5 id = "org4761b55" > Indentation< / h5 >
< div class = "outline-text-5" id = "text-org4761b55" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-edit-src-content-indentation< / span > < span class = "org-highlight-numbers-number" > 2< / span >
< span class = "org-variable-name" > org-src-tab-acts-natively< / span > nil
< span class = "org-variable-name" > org-src-preserve-indentation< / span > nil< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgae68753" class = "outline-5" >
< h5 id = "orgae68753" > Org-Babel Tangle Subtree< / h5 >
< div class = "outline-text-5" id = "text-orgae68753" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > tdh/org-babel-tangle-subtree< / span > < span class = "org-rainbow-delimiters-depth-2" > ()< / span >
< span class = "org-doc" > "Tangle the current subtree"< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > interactive< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > progn< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > org-narrow-to-subtree< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > org-babel-tangle< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > widen< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > evil-define-key< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > normal< / span > < span class = "org-variable-name" > org-mode-map< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > kbd< / span > < span class = "org-string" > ", b T"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > tdh/org-babel-tangle-subtree< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orga3797e1" class = "outline-5" >
< h5 id = "orga3797e1" > < span class = "todo TODO" > TODO< / span > Org-Babel Jump to Tangle File< / h5 >
< div class = "outline-text-5" id = "text-orga3797e1" >
< p >
Actually this tangle the file and then go to the file. Maybe I would like to ignore the tangling phase.
< / p >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > tdh/org-babel-jump-to-tangle-file< / span > < span class = "org-rainbow-delimiters-depth-2" > ()< / span >
< span class = "org-doc" > "Jump to tangle file for the source block at point."< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > interactive< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > let< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > file < span class = "org-variable-name" > org-babel-pre-tangle-hook< / span > < span class = "org-variable-name" > org-babel-post-tangle-hook< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > cl-letf< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > symbol-function< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > write-region< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > lambda< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > start end filename < span class = "org-type" > & rest< / span > _ignore< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > file filename< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > symbol-function< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > delete-file< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-highlight-quoted-quote" > #'< / span > < span class = "org-highlight-quoted-symbol" > ignore< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > org-babel-tangle< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-highlight-numbers-number" > 4< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > when< / span > file
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > file < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > expand-file-name< / span > file< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > if< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > file-readable-p< / span > file< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > find-file< / span > file< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > error< / span > < span class = "org-string" > "Cannot open tangle file %S"< / span > file< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > evil-define-key< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > normal< / span > < span class = "org-variable-name" > org-mode-map< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > kbd< / span > < span class = "org-string" > ", b F"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > tdh/org-babel-jump-to-tangle-file< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< / div >
< div id = "outline-container-org5a7414f" class = "outline-4" >
< h4 id = "org5a7414f" > Org Export< / h4 >
< div class = "outline-text-4" id = "text-org5a7414f" >
< / div >
2020-01-11 22:22:46 +01:00
< div id = "outline-container-org71536ca" class = "outline-5" >
< h5 id = "org71536ca" > Basic< / h5 >
< div class = "outline-text-5" id = "text-org71536ca" >
2020-01-11 22:04:45 +01:00
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > How many levels of headline to export< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-export-headline-levels< / span > < span class = "org-highlight-numbers-number" > 4< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Authorize BIND to set local variables< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-export-allow-bind-keywords< / span > t< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-odt-preferred-output-format< / span > < span class = "org-string" > "doc"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Used to not export headings with :ignore: tag< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > require< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-constant" > ox-extra< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > ox-extras-activate< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > ignore-headlines< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org4c31132" class = "outline-5" >
< h5 id = "org4c31132" > Ox Latex Subfigure package< / h5 >
< div class = "outline-text-5" id = "text-org4c31132" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > use-package< / span > ox-latex-subfigure
< span class = "org-builtin" > :config< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > require< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-constant" > ox-latex-subfigure< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org803270e" class = "outline-5" >
< h5 id = "org803270e" > Clear page before heading< / h5 >
< div class = "outline-text-5" id = "text-org803270e" >
< p >
< a href = "https://emacs.stackexchange.com/questions/30575/adding-latex-newpage-before-a-heading/30892" > https://emacs.stackexchange.com/questions/30575/adding-latex-newpage-before-a-heading/30892< / a >
< / p >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > ox-latex< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > org/get-headline-string-element< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > headline backend info< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > let< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > prop-point < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > next-property-change< / span > < span class = "org-highlight-numbers-number" > 0< / span > headline< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > if< / span > prop-point < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > plist-get< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > text-properties-at< / span > prop-point headline< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-builtin" > :parent< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > org/ensure-latex-clearpage< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > headline backend info< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > when< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > org-export-derived-backend-p< / span > backend < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > latex< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > let< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > elmnt < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > org/get-headline-string-element< / span > headline backend info< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > when< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > and< / span > elmnt < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > org-element-property< / span > < span class = "org-builtin" > :CLEARPAGE< / span > elmnt< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > concat< / span > < span class = "org-string" > "\\clearpage\n"< / span > headline< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > add-to-list< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-variable-name" > org-export-filter-headline-functions< / span >
< span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org/ensure-latex-clearpage< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org92509f9" class = "outline-5" >
< h5 id = "org92509f9" > < span class = "todo TODO" > TODO< / span > HTML Export< / h5 >
< div class = "outline-text-5" id = "text-org92509f9" >
< / div >
< ul class = "org-ul" >
< li > < a id = "orgb55869f" > < / a > MathJax< br / >
< div class = "outline-text-6" id = "text-orgb55869f" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-html-mathjax-template< / span >
< span class = "org-string" > "< script type=\"text/x-mathjax-config\"> < / span >
< span class = "org-string" > MathJax.Hub.Config({< / span >
< span class = "org-string" > displayAlign: \"%ALIGN\",< / span >
< span class = "org-string" > displayIndent: \"%INDENT\",< / span >
< span class = "org-string" > \"HTML-CSS\": { scale: %SCALE,< / span >
< span class = "org-string" > linebreaks: { automatic: \"%LINEBREAKS\" },< / span >
< span class = "org-string" > webFont: \"%FONT\"< / span >
< span class = "org-string" > },< / span >
< span class = "org-string" > SVG: {scale: %SCALE,< / span >
< span class = "org-string" > linebreaks: { automatic: \"%LINEBREAKS\" },< / span >
< span class = "org-string" > font: \"%FONT\"},< / span >
< span class = "org-string" > NativeMML: {scale: %SCALE},< / span >
< span class = "org-string" > TeX: { equationNumbers: {autoNumber: \"%AUTONUMBER\"},< / span >
< span class = "org-string" > MultLineWidth: \"%MULTLINEWIDTH\",< / span >
< span class = "org-string" > TagSide: \"%TAGSIDE\",< / span >
< span class = "org-string" > TagIndent: \"%TAGINDENT\",< / span >
< span class = "org-string" > Macros: {< / span >
< span class = "org-string" > bm: [\"{\\\\boldsymbol #1}\",1],< / span >
< span class = "org-string" > }< / span >
< span class = "org-string" > }< / span >
< span class = "org-string" > });< / span >
< span class = "org-string" > < /script> < / span >
< span class = "org-string" > < script type=\"text/javascript\"< / span >
< span class = "org-string" > src=\"%PATH\"> < /script> "< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / li >
< li > < a id = "orgaf9553d" > < / a > Export with css class instead of inline css< br / >
< div class = "outline-text-6" id = "text-orgaf9553d" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-html-htmlize-output-type< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > css< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / li >
< li > < a id = "org1f4ba88" > < / a > < span class = "todo TODO" > TODO< / span > MP4 movies< br / >
< div class = "outline-text-6" id = "text-org1f4ba88" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-html-html5-fancy< / span > t< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-html-doctype< / span > < span class = "org-string" > "xhtml-strict"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / li >
< li > < a id = "orgac0a775" > < / a > < span class = "todo TODO" > TODO< / span > MathJax with SIunix< br / >
< div class = "outline-text-6" id = "text-orgac0a775" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-html-mathjax-template< / span >
< span class = "org-string" > "< script type=\"text/x-mathjax-config\"> < / span >
< span class = "org-string" > MathJax.Hub.Config({< / span >
< span class = "org-string" > extensions: [\"tex2jax.js\", \"[siunitx]/siunitx.js\"],< / span >
< span class = "org-string" > jax: [\"input/TeX\",\"output/HTML-CSS\"],< / span >
< span class = "org-string" > tex2jax: {inlineMath: [[\"$\",\"$\"],[\"< / span > < span class = "org-string" > < span class = "org-regexp-grouping-backslash" > \\< / span > < / span > < span class = "org-string" > < span class = "org-regexp-grouping-construct" > (< / span > < / span > < span class = "org-string" > \",\"< / span > < span class = "org-string" > < span class = "org-regexp-grouping-backslash" > \\< / span > < / span > < span class = "org-string" > < span class = "org-regexp-grouping-construct" > )< / span > < / span > < span class = "org-string" > \"]]},< / span >
< span class = "org-string" > displayAlign: \"%ALIGN\",< / span >
< span class = "org-string" > displayIndent: \"%INDENT\",< / span >
< span class = "org-string" > \"HTML-CSS\": { scale: %SCALE,< / span >
< span class = "org-string" > linebreaks: { automatic: \"%LINEBREAKS\" },< / span >
< span class = "org-string" > webFont: \"%FONT\"< / span >
< span class = "org-string" > },< / span >
< span class = "org-string" > SVG: {scale: %SCALE,< / span >
< span class = "org-string" > linebreaks: { automatic: \"%LINEBREAKS\" },< / span >
< span class = "org-string" > font: \"%FONT\"},< / span >
< span class = "org-string" > NativeMML: {scale: %SCALE},< / span >
< span class = "org-string" > TeX: { equationNumbers: {autoNumber: \"%AUTONUMBER\"},< / span >
< span class = "org-string" > extensions: [\"AMSmath.js\",\"AMSsymbols.js\", \"sinuitx.js\"],< / span >
< span class = "org-string" > MultLineWidth: \"%MULTLINEWIDTH\",< / span >
< span class = "org-string" > TagSide: \"%TAGSIDE\",< / span >
< span class = "org-string" > TagIndent: \"%TAGINDENT\"< / span >
< span class = "org-string" > }< / span >
< span class = "org-string" > });< / span >
< span class = "org-string" > MathJax.Ajax.config.path['siunitx'] = '../js';< / span >
< span class = "org-string" > < /script> < / span >
< span class = "org-string" > < script type=\"text/javascript\"< / span >
< span class = "org-string" > src=\"%PATH\"> < /script> "< / span >
< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / li >
< / ul >
< / div >
< / div >
< div id = "outline-container-orgc3be821" class = "outline-4" >
< h4 id = "orgc3be821" > Org LaTeX< / h4 >
< div class = "outline-text-4" id = "text-orgc3be821" >
< / div >
< div id = "outline-container-org4a4cb6e" class = "outline-5" >
< h5 id = "org4a4cb6e" > Org CdLatex< / h5 >
< div class = "outline-text-5" id = "text-org4a4cb6e" >
< p >
< a href = "https://orgmode.org/manual/CDLaTeX-mode.html#CDLaTeX-mode" > https://orgmode.org/manual/CDLaTeX-mode.html#CDLaTeX-mode< / a >
< / p >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > push< / span > < span class = "org-string" > "~/.spacemacs.d/local/"< / span > < span class = "org-variable-name" > load-path< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > require< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-constant" > cdlatex< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > add-hook< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-variable-name" > org-mode-hook< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > turn-on-org-cdlatex< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgc6af411" class = "outline-5" >
< h5 id = "orgc6af411" > LaTeX Classes< / h5 >
< div class = "outline-text-5" id = "text-orgc6af411" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > ox-latex< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Custom classes to use when exporting to latex< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > add-to-list< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-variable-name" > org-latex-classes< / span >
< span class = "org-highlight-quoted-quote" > `< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "beamer"< / span >
,< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > concat< / span > < span class = "org-string" > "\\documentclass[presentation]{beamer}\n"< / span >
< span class = "org-string" > "[DEFAULT-PACKAGES]"< / span >
< span class = "org-string" > "[PACKAGES]"< / span >
< span class = "org-string" > "[EXTRA]\n"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "\\section{%s}"< / span > . < span class = "org-string" > "\\section*{%s}"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "\\subsection{%s}"< / span > . < span class = "org-string" > "\\subsection*{%s}"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "\\subsubsection{%s}"< / span > . < span class = "org-string" > "\\subsubsection*{%s}"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > add-to-list< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-variable-name" > org-latex-classes< / span >
< span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "clean-cheatsheet"< / span >
< span class = "org-string" > "\\documentclass{clean-cheatsheet}"< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "\\section{%s}"< / span > . < span class = "org-string" > "\\section*{%s}"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "\\subsection{%s}"< / span > . < span class = "org-string" > "\\subsection*{%s}"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "\\subsubsection{%s}"< / span > . < span class = "org-string" > "\\subsubsection*{%s}"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "\\paragraph{%s}"< / span > . < span class = "org-string" > "\\paragraph*{%s}"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "\\subparagraph{%s}"< / span > . < span class = "org-string" > "\\subparagraph*{%s}"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > add-to-list< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-variable-name" > org-latex-classes< / span >
< span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "clean-beamer"< / span >
< span class = "org-string" > "\\documentclass{clean-beamer}"< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "\\section{%s}"< / span > . < span class = "org-string" > "\\section*{%s}"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "\\subsection{%s}"< / span > . < span class = "org-string" > "\\subsection*{%s}"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "\\subsubsection{%s}"< / span > . < span class = "org-string" > "\\subsubsection*{%s}"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "\\paragraph{%s}"< / span > . < span class = "org-string" > "\\paragraph*{%s}"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "\\subparagraph{%s}"< / span > . < span class = "org-string" > "\\subparagraph*{%s}"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > add-to-list< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-variable-name" > org-latex-classes< / span >
< span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "cleanreport"< / span >
< span class = "org-string" > "\\documentclass{cleanreport}"< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "\\section{%s}"< / span > . < span class = "org-string" > "\\section*{%s}"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "\\subsection{%s}"< / span > . < span class = "org-string" > "\\subsection*{%s}"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "\\subsubsection{%s}"< / span > . < span class = "org-string" > "\\subsubsection*{%s}"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "\\paragraph{%s}"< / span > . < span class = "org-string" > "\\paragraph*{%s}"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "\\subparagraph{%s}"< / span > . < span class = "org-string" > "\\subparagraph*{%s}"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > add-to-list< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-variable-name" > org-latex-classes< / span >
< span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "scrreprt"< / span >
< span class = "org-string" > "\\documentclass{scrreprt}"< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "\\section{%s}"< / span > . < span class = "org-string" > "\\section*{%s}"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "\\subsection{%s}"< / span > . < span class = "org-string" > "\\subsection*{%s}"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "\\subsubsection{%s}"< / span > . < span class = "org-string" > "\\subsubsection*{%s}"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "\\paragraph{%s}"< / span > . < span class = "org-string" > "\\paragraph*{%s}"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "\\subparagraph{%s}"< / span > . < span class = "org-string" > "\\subparagraph*{%s}"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > add-to-list< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-variable-name" > org-latex-classes< / span >
< span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "biblioreport"< / span >
< span class = "org-string" > "\\documentclass{biblioreport}"< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "\\section{%s}"< / span > . < span class = "org-string" > "\\section*{%s}"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "\\subsection{%s}"< / span > . < span class = "org-string" > "\\subsection*{%s}"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "\\subsubsection{%s}"< / span > . < span class = "org-string" > "\\subsubsection*{%s}"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "\\paragraph{%s}"< / span > . < span class = "org-string" > "\\paragraph*{%s}"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "\\subparagraph{%s}"< / span > . < span class = "org-string" > "\\subparagraph*{%s}"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
2020-01-11 22:22:46 +01:00
< div id = "outline-container-orgaa935e3" class = "outline-5" >
< h5 id = "orgaa935e3" > Basic< / h5 >
< div class = "outline-text-5" id = "text-orgaa935e3" >
2020-01-11 22:04:45 +01:00
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > ox-latex< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Add packages by default< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > add-to-list< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-variable-name" > org-latex-packages-alist< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > ""< / span > < span class = "org-string" > "siunitx"< / span > t< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > add-to-list< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-variable-name" > org-latex-packages-alist< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > ""< / span > < span class = "org-string" > "array"< / span > t< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > add-to-list< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-variable-name" > org-latex-packages-alist< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > ""< / span > < span class = "org-string" > "tabularx"< / span > t< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > add-to-list< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-variable-name" > org-latex-packages-alist< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > ""< / span > < span class = "org-string" > "booktabs"< / span > t< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > add-to-list< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-variable-name" > org-latex-packages-alist< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > ""< / span > < span class = "org-string" > "bm"< / span > t< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > add-to-list< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-variable-name" > org-latex-packages-alist< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "most"< / span > < span class = "org-string" > "tcolorbox"< / span > t< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Setup default option for image size when exporting to LaTeX< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-latex-image-default-option< / span > < span class = "org-string" > "scale=1"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-latex-image-default-width< / span > nil< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Use define labels instead of automatic generated ones< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-latex-prefer-user-labels< / span > t< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Captions above the table< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-latex-caption-above< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > table< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Settings to export code with `< / span > < span class = "org-comment" > < span class = "org-constant" > minted< / span > < / span > < span class = "org-comment" > ' instead of `< / span > < span class = "org-comment" > < span class = "org-constant" > verbatim< / span > < / span > < span class = "org-comment" > '.< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-latex-listings< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > minted< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Command used when exporting to pdf< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-latex-pdf-process< / span >
< span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "latexmk -cd -pdflatex=\"pdflatex -synctex=1 -shell-escape -interaction nonstopmode -output-directory %o\" -pdf -bibtex -f %f"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org929e3b2" class = "outline-5" >
< h5 id = "org929e3b2" > Beamer< / h5 >
< div class = "outline-text-5" id = "text-org929e3b2" >
< / div >
< ul class = "org-ul" >
< li > < a id = "org17c9d1a" > < / a > Bold Text< br / >
< div class = "outline-text-6" id = "text-org17c9d1a" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > my-beamer-bold< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > contents backend info< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > when< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > eq< / span > backend < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > beamer< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > replace-regexp-in-string< / span > < span class = "org-string" > "\\`\\\\[< / span > < span class = "org-string" > < span class = "org-constant" > A-Za-z0-9< / span > < / span > < span class = "org-string" > ]+"< / span > < span class = "org-string" > "\\\\textbf"< / span > contents< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > add-to-list< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-variable-name" > org-export-filter-bold-functions< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > my-beamer-bold< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / li >
< li > < a id = "orga3d7706" > < / a > < span class = "todo TODO" > TODO< / span > Make a custom environment for columns with title< br / >
< div class = "outline-text-6" id = "text-orga3d7706" >
< / div >
< / li >
< li > < a id = "org373e0c1" > < / a > < span class = "todo TODO" > TODO< / span > Custom Environments< br / >
< div class = "outline-text-6" id = "text-org373e0c1" >
< ul class = "org-ul" >
< li class = "off" > < code > [  ]< / code > Make some comment those special environments< / li >
< / ul >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > ox-beamer< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > add-to-list< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-variable-name" > org-beamer-environments-extra< / span >
< span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "cbox"< / span > < span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Name of environment< / span >
< span class = "org-string" > "m"< / span > < span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Selection key< / span >
< span class = "org-string" > "\\onslide%a{\\begin{cbox}[%h]%O"< / span >
< span class = "org-string" > "\\end{cbox}}\\vspace{0.5em}"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > add-to-list< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-variable-name" > org-beamer-environments-extra< / span >
< span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-string" > "csubbox"< / span > < span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Name of environment< / span >
< span class = "org-string" > "M"< / span > < span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Selection key< / span >
< span class = "org-string" > "\\onslide%a{\\tcbsubtitle{%h}"< / span >
< span class = "org-string" > "}"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / li >
< / ul >
< / div >
< div id = "outline-container-org1a268e5" class = "outline-5" >
< h5 id = "org1a268e5" > < span class = "todo TODO" > TODO< / span > Latex Fragments< / h5 >
< div class = "outline-text-5" id = "text-org1a268e5" >
< ul class = "org-ul" >
< li class = "off" > < code > [  ]< / code > The remove hook does not seems to work< / li >
< / ul >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > ox-latex< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Automatic toggle of latex fragments http://slumpy.org/blog/2017-02-01-automatic-latex-preview-in-org-mode/< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Activate Automatic LaTeX fragment< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > spacemacs/set-leader-keys < span class = "org-string" > "ol"< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > lambda < span class = "org-rainbow-delimiters-depth-2" > ()< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > interactive< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > add-hook< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-variable-name" > post-command-hook< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > tdh/org-latex-fragment-toggle< / span > t< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Disable Automatic LaTeX fragment< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > spacemacs/set-leader-keys < span class = "org-string" > "oL"< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > lambda < span class = "org-rainbow-delimiters-depth-2" > ()< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > interactive< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > remove-hook< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-variable-name" > post-command-hook< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > tdh/org-latex-fragment-toggle< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Use F9 to globally generate all the latex fragments< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > global-set-key< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > kbd< / span > < span class = "org-string" > "< f9> "< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > lambda< / span > < span class = "org-rainbow-delimiters-depth-2" > ()< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > interactive< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > org-preview-latex-fragment< / span > < span class = "org-highlight-numbers-number" > 16< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Put all the preview images in some directory< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-preview-latex-image-directory< / span > < span class = "org-string" > "~/.ltximg/"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Define backends to preview LaTeX fragments< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-preview-latex-process-alist< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > imagemagick
< span class = "org-builtin" > :programs< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-string" > "latex"< / span > < span class = "org-string" > "convert"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-builtin" > :description< / span > < span class = "org-string" > "pdf > png"< / span >
< span class = "org-builtin" > :message< / span > < span class = "org-string" > "you need to install the programs: latex and imagemagick."< / span >
< span class = "org-builtin" > :image-input-type< / span > < span class = "org-string" > "pdf"< / span >
< span class = "org-builtin" > :image-output-type< / span > < span class = "org-string" > "png"< / span >
< span class = "org-builtin" > :image-size-adjust< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-highlight-numbers-number" > 0.6< / span > . < span class = "org-highlight-numbers-number" > 0.6< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-builtin" > :latex-compiler< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-string" > "pdflatex -interaction nonstopmode -output-directory %o %f"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-builtin" > :image-converter< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-string" > "convert -density %D -trim -antialias %f -quality 100 %O"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > pdf2svg
< span class = "org-builtin" > :programs< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-string" > "latex"< / span > < span class = "org-string" > "pdf2svg"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-builtin" > :description< / span > < span class = "org-string" > "pdf > svg"< / span >
< span class = "org-builtin" > :message< / span > < span class = "org-string" > "you need to install the programs: pdflatex and pdf2svg."< / span >
< span class = "org-builtin" > :image-input-type< / span > < span class = "org-string" > "pdf"< / span >
< span class = "org-builtin" > :image-output-type< / span > < span class = "org-string" > "svg"< / span >
< span class = "org-builtin" > :image-size-adjust< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-highlight-numbers-number" > 1.0< / span > . < span class = "org-highlight-numbers-number" > 1.0< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-builtin" > :latex-compiler< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-string" > "pdflatex -interaction nonstopmode -output-directory %o %f"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-builtin" > :image-converter< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-string" > "pdfcrop %f %f & & pdftocairo -svg %f %O"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > :image-converter ("pdf2svg %f %O"))< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > dvisvgm
< span class = "org-builtin" > :programs< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-string" > "latex"< / span > < span class = "org-string" > "dvisvgm"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-builtin" > :description< / span > < span class = "org-string" > "dvi > svg"< / span >
< span class = "org-builtin" > :message< / span > < span class = "org-string" > "you need to install the programs: latex and dvisvgm."< / span >
< span class = "org-builtin" > :image-input-type< / span > < span class = "org-string" > "dvi"< / span >
< span class = "org-builtin" > :image-output-type< / span > < span class = "org-string" > "svg"< / span >
< span class = "org-builtin" > :image-size-adjust< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-highlight-numbers-number" > 1.0< / span > . < span class = "org-highlight-numbers-number" > 1.0< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-builtin" > :latex-compiler< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-string" > "latex -interaction nonstopmode -output-directory %o %f"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-builtin" > :image-converter< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-string" > "dvisvgm %f -n -b min -c %S -o %O"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Use imagemagick/dvisvgm to generate png from pdf< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-preview-latex-default-process< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > dvisvgm< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org5a4ebda" class = "outline-5" >
< h5 id = "org5a4ebda" > < span class = "todo TODO" > TODO< / span > Custom Export - Add Page and Label for LaTeX export< / h5 >
< div class = "outline-text-5" id = "text-org5a4ebda" >
< p >
< a href = "https://emacs.stackexchange.com/questions/156/emacs-function-to-convert-an-arbitrary-org-property-into-an-arbitrary-string-na?rq=1" > https://emacs.stackexchange.com/questions/156/emacs-function-to-convert-an-arbitrary-org-property-into-an-arbitrary-string-na?rq=1< / a >
< / p >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > defcustom< / span > < span class = "org-variable-name" > tdehaeze/org-property-mapping< / span >
< span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > latex < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "CUSTOM_PAGE"< / span > . tdehaeze/insert-org-page-latex< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "CUSTOM_LABEL"< / span > . tdehaeze/insert-org-label-latex< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-doc" > "List of mappings from org property to arbitrary strings.< / span >
< span class = "org-doc" > Each element is a list:< / span >
< span class = "org-doc" > (BACKEND (PROPERTY1 . FUNCTION1) (PROPERTY2 . FUNCTION2) ...)< / span >
< span class = "org-doc" > FUNCTION are functions which get called with a single< / span >
< span class = "org-doc" > argument (the value of PROPERTY) and are responsible for doing< / span >
< span class = "org-doc" > whatever should be done."< / span >
< span class = "org-builtin" > :type< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > repeat < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > cons< / span > symbol < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > repeat< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > cons< / span > string string< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > tdehaeze/replace-org-property< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > backend< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-doc" > "Convert org properties using `< / span > < span class = "org-doc" > < span class = "org-constant" > tdehaeze/org-property-mapping< / span > < / span > < span class = "org-doc" > '.< / span >
< span class = "org-doc" > Lookup BACKEND in `< / span > < span class = "org-doc" > < span class = "org-constant" > tdehaeze/org-property-mapping< / span > < / span > < span class = "org-doc" > ' for a list of< / span >
< span class = "org-doc" > (PROPERTY REPLACEMENT). For each healine being exported, if it has a< / span >
< span class = "org-doc" > PROPERTY listed insert a string immediately after the healine given by< / span >
< span class = "org-doc" > (format REPLACEMENT PROPERTY-VALUE)"< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > let< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > map< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > cdr< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > assoc< / span > backend tdehaeze/org-property-mapping< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
value replacement< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > when< / span > map
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > org-map-entries< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > lambda< / span > < span class = "org-rainbow-delimiters-depth-1" > ()< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > dolist< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > it map< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > save-excursion< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > when< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > value < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > org-entry-get< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > point< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > car< / span > it< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > funcall< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > cdr< / span > it< span class = "org-rainbow-delimiters-depth-2" > )< / span > value< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > add-hook< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-variable-name" > org-export-before-processing-hook< / span > < span class = "org-highlight-quoted-quote" > #'< / span > < span class = "org-highlight-quoted-symbol" > tdehaeze/replace-org-property< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > tdehaeze/insert-org-label-latex< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > label< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-doc" > "Insert \"\\\\label{LABEL}\\n\" after the :PROPERTY: drawer."< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > search-forward-regexp< / span > < span class = "org-variable-name" > org-property-end-re< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > forward-char< / span > < span class = "org-highlight-numbers-number" > 1< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > insert< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > format< / span > < span class = "org-string" > "\\label{%s}\n"< / span > label< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > tdehaeze/insert-org-page-latex< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > page< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-doc" > "Insert \"\\\\page{PAGE}\\n\" after the :PROPERTY: drawer."< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > search-forward-regexp< / span > < span class = "org-variable-name" > org-property-end-re< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > forward-char< / span > < span class = "org-highlight-numbers-number" > 1< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > insert< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > format< / span > < span class = "org-string" > "\\page{%s}\n"< / span > page< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > org-latex-format-headline-default-function< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > todo _todo-type priority text tags _info< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-doc" > "Default format function for a headline.< / span >
< span class = "org-doc" > See `< / span > < span class = "org-doc" > < span class = "org-constant" > org-latex-format-headline-function< / span > < / span > < span class = "org-doc" > ' for details."< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > concat< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > and< / span > todo < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > format< / span > < span class = "org-string" > "{\\bfseries\\sffamily %s} "< / span > todo< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > and< / span > priority < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > format< / span > < span class = "org-string" > "\\framebox{\\#%c} "< / span > priority< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
text
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > and< / span > tags
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > format< / span > < span class = "org-string" > "\\hfill{}\\textsc{%s}"< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > mapconcat< / span > < span class = "org-highlight-quoted-quote" > #'< / span > < span class = "org-highlight-quoted-symbol" > org-latex--protect-text< / span > tags < span class = "org-string" > ":"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > and< / span > todo < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > format< / span > < span class = "org-string" > "{\n\\page{%s} "< / span > todo< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org5fd154f" class = "outline-5" >
< h5 id = "org5fd154f" > Number Equations< / h5 >
< div class = "outline-text-5" id = "text-org5fd154f" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > org-renumber-environment< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > orig-func < span class = "org-type" > & rest< / span > args< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-doc" > "A function to inject numbers in LaTeX fragment previews."< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > let< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > results < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-2" > ()< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > counter < span class = "org-highlight-numbers-number" > -1< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > numberp< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > setq< / span > results < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > loop< / span > for < span class = "org-rainbow-delimiters-depth-2" > (< / span > begin . env< span class = "org-rainbow-delimiters-depth-2" > )< / span > in
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > org-element-map< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > org-element-parse-buffer< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > latex-environment< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > lambda< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > env< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > cons< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > org-element-property< / span > < span class = "org-builtin" > :begin< / span > env< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > org-element-property< / span > < span class = "org-builtin" > :value< / span > env< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
collect
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > cond< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > and< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > string-match< / span > < span class = "org-string" > "\\\\begin{equation}"< / span > env< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > not< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > string-match< / span > < span class = "org-string" > "\\\\tag{"< / span > env< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > incf< / span > counter< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > cons< / span > begin counter< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > string-match< / span > < span class = "org-string" > "\\\\begin{align}"< / span > env< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > prog2< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > incf< / span > counter< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > cons< / span > begin counter< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > with-temp-buffer< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > insert< / span > env< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > goto-char< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > point-min< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > \\ is used for a new line. Each one leads to a number< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > incf< / span > counter < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > count-matches< / span > < span class = "org-string" > "\\\\$"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > unless there are nonumbers.< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > goto-char< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > point-min< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > decf< / span > counter < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > count-matches< / span > < span class = "org-string" > "\\nonumber"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > t
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > cons< / span > begin nil< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > when< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > numberp < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > cdr< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > assoc< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > point< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > results< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setf< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > car< / span > args< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > concat< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > format< / span > < span class = "org-string" > "\\setcounter{equation}{%s}\n"< / span > numberp< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > car< / span > args< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > apply< / span > orig-func args< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > advice-add< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org-create-formula-image< / span > < span class = "org-builtin" > :around< / span > < span class = "org-highlight-quoted-quote" > #'< / span > < span class = "org-highlight-quoted-symbol" > org-renumber-environment< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< / div >
< div id = "outline-container-org2f53c57" class = "outline-4" >
< h4 id = "org2f53c57" > < span class = "todo TODO" > TODO< / span > View PDF in org mode< / h4 >
< div class = "outline-text-4" id = "text-org2f53c57" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > tdh/org-include-img-from-pdf< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-type" > & rest< / span > _< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-doc" > "Convert pdf files to image files in org-mode bracket links.< / span >
< span class = "org-doc" > # ()convertfrompdf:t # This is a special comment; tells that the upcoming< / span >
< span class = "org-doc" > # link points to the to-be-converted-to file.< / span >
< span class = "org-doc" > # If you have a foo.pdf that you need to convert to foo.png, use the< / span >
< span class = "org-doc" > # foo.png file name in the link.< / span >
< span class = "org-doc" > [[./foo.png]]< / span >
< span class = "org-doc" > "< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > interactive< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > if< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > executable-find< / span > < span class = "org-string" > "convert"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > save-excursion< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > goto-char< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > point-min< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > while< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > re-search-forward< / span > < span class = "org-string" > "^[ \t]*#\\s-+()convertfrompdf\\s-*:\\s-*t"< / span >
nil < span class = "org-builtin" > :noerror< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Keep on going to the next line till it finds a line with bracketed< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > file link.< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > while< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > progn< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > forward-line< / span > < span class = "org-highlight-numbers-number" > 1< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > not< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > looking-at< / span > < span class = "org-variable-name" > org-bracket-link-regexp< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Get the sub-group 1 match, the link, from `< / span > < span class = "org-comment" > < span class = "org-constant" > org-bracket-link-regexp< / span > < / span > < span class = "org-comment" > '< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > let< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > link < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > match-string-no-properties< / span > < span class = "org-highlight-numbers-number" > 1< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > when< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > stringp< / span > link< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > let*< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > imgfile < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > expand-file-name< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > file-name-sans-extension< / span > link< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > pdffile < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > expand-file-name< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > concat< / span > imgfile
< span class = "org-string" > "."< / span > < span class = "org-string" > "pdf"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > cmd < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > concat< / span > < span class = "org-string" > "pdftocairo -png -transp -singlefile "< / span >
pdffile < span class = "org-string" > " "< / span > imgfile< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > message< / span > < span class = "org-string" > "%s"< / span > imgfile< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > when< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > and< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > file-readable-p< / span > pdffile< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > file-newer-than-file-p< / span > pdffile imgfile< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > This block is executed only if pdffile is newer than< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > imgfile or if imgfile does not exist.< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > shell-command< / span > cmd< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > message< / span > < span class = "org-string" > "%s"< / span > cmd< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > user-error< / span > < span class = "org-string" > "`< / span > < span class = "org-string" > < span class = "org-constant" > convert< / span > < / span > < span class = "org-string" > ' executable (part of Imagemagick) is not found"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > add-hook< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-variable-name" > org-export-before-processing-hook< / span > < span class = "org-highlight-quoted-quote" > #'< / span > < span class = "org-highlight-quoted-symbol" > tdh/org-include-img-from-pdf< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > add-to-list< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-variable-name" > image-type-file-name-regexps< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "\\.pdf\\'"< / span > . imagemagick< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > add-to-list< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-variable-name" > image-file-name-extensions< / span > < span class = "org-string" > "pdf"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > imagemagick-types-inhibit< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > remove< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > PDF< / span > < span class = "org-variable-name" > imagemagick-types-inhibit< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-image-actual-width< / span > < span class = "org-highlight-numbers-number" > 600< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > my-latex-filter-nobreaks< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > text backend info< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-doc" > "Ensure \" \" are properly handled in LaTeX export."< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > when< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > org-export-derived-backend-p< / span > backend < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > latex< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > replace-regexp-in-string< / span > < span class = "org-string" > " "< / span > < span class = "org-string" > "~"< / span > text< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > add-to-list< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-variable-name" > org-export-filter-plain-text-functions< / span >
< span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > my-latex-filter-nobreaks< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > image-file-name-extensions< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > quote< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-string" > "png"< / span > < span class = "org-string" > "jpeg"< / span > < span class = "org-string" > "jpg"< / span > < span class = "org-string" > "gif"< / span > < span class = "org-string" > "tiff"< / span > < span class = "org-string" > "tif"< / span > < span class = "org-string" > "xbm"< / span > < span class = "org-string" > "xpm"< / span > < span class = "org-string" > "pbm"< / span > < span class = "org-string" > "pgm"< / span > < span class = "org-string" > "ppm"< / span > < span class = "org-string" > "pnm"< / span > < span class = "org-string" > "svg"< / span > < span class = "org-string" > "pdf"< / span > < span class = "org-string" > "bmp"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > org-image-actual-width< / span > < span class = "org-highlight-numbers-number" > 600< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > org-imagemagick-display-command < span class = "org-string" > "convert -density 600 \"%s\" -thumbnail \"%sx%s> \" \"%s\""< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > org-display-inline-images< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-type" > & optional< / span > include-linked refresh beg end< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-doc" > "Display inline images.< / span >
< span class = "org-doc" > Normally only links without a description part are inlined, because this< / span >
< span class = "org-doc" > is how it will work for export. When INCLUDE-LINKED is set, also links< / span >
< span class = "org-doc" > with a description part will be inlined. This< / span >
< span class = "org-doc" > can be nice for a quick< / span >
< span class = "org-doc" > look at those images, but it does not reflect what exported files will look< / span >
< span class = "org-doc" > like.< / span >
< span class = "org-doc" > When REFRESH is set, refresh existing images between BEG and END.< / span >
< span class = "org-doc" > This will create new image displays only if necessary.< / span >
< span class = "org-doc" > BEG and END default to the buffer boundaries."< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > interactive< / span > < span class = "org-string" > "P"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > unless< / span > refresh
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > org-remove-inline-images< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > if< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > fboundp< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > clear-image-cache< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > clear-image-cache< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > save-excursion< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > save-restriction< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > widen< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > beg < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > or< / span > beg < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > point-min< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > end < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > or< / span > end < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > point-max< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > goto-char< / span > beg< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > let< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > re < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > concat< / span > < span class = "org-string" > "\\[\\[< / span > < span class = "org-string" > < span class = "org-regexp-grouping-backslash" > \\< / span > < / span > < span class = "org-string" > < span class = "org-regexp-grouping-construct" > (< / span > < / span > < span class = "org-string" > < span class = "org-regexp-grouping-backslash" > \\< / span > < / span > < span class = "org-string" > < span class = "org-regexp-grouping-construct" > (< / span > < / span > < span class = "org-string" > file:< / span > < span class = "org-string" > < span class = "org-regexp-grouping-backslash" > \\< / span > < / span > < span class = "org-string" > < span class = "org-regexp-grouping-construct" > )< / span > < / span > < span class = "org-string" > < span class = "org-regexp-grouping-backslash" > \\< / span > < / span > < span class = "org-string" > < span class = "org-regexp-grouping-construct" > |< / span > < / span > < span class = "org-string" > < span class = "org-regexp-grouping-backslash" > \\< / span > < / span > < span class = "org-string" > < span class = "org-regexp-grouping-construct" > (< / span > < / span > < span class = "org-string" > [./~]< / span > < span class = "org-string" > < span class = "org-regexp-grouping-backslash" > \\< / span > < / span > < span class = "org-string" > < span class = "org-regexp-grouping-construct" > )< / span > < / span > < span class = "org-string" > < span class = "org-regexp-grouping-backslash" > \\< / span > < / span > < span class = "org-string" > < span class = "org-regexp-grouping-construct" > )< / span > < / span > < span class = "org-string" > < span class = "org-regexp-grouping-backslash" > \\< / span > < / span > < span class = "org-string" > < span class = "org-regexp-grouping-construct" > (< / span > < / span > < span class = "org-string" > [< / span > < span class = "org-string" > < span class = "org-negation-char" > ^< / span > < / span > < span class = "org-string" > ]\n]+?"< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > substring< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > org-image-file-name-regexp< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-highlight-numbers-number" > 0< / span > < span class = "org-highlight-numbers-number" > -2< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-string" > "< / span > < span class = "org-string" > < span class = "org-regexp-grouping-backslash" > \\< / span > < / span > < span class = "org-string" > < span class = "org-regexp-grouping-construct" > )< / span > < / span > < span class = "org-string" > \\]"< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > if< / span > include-linked < span class = "org-string" > ""< / span > < span class = "org-string" > "\\]"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
old file ov img< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > while< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > re-search-forward< / span > re end t< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > setq< / span > old < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > get-char-property-and-overlay< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > match-beginning< / span > < span class = "org-highlight-numbers-number" > 1< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org-image-overlay< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
file < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > expand-file-name< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > concat< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > or< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > match-string< / span > < span class = "org-highlight-numbers-number" > 3< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-string" > ""< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > match-string< / span > < span class = "org-highlight-numbers-number" > 4< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > when< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > file-exists-p< / span > file< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > let< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > file-thumb < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > format< / span > < span class = "org-string" > "%s%s_thumb.png"< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > file-name-directory< / span > file< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > file-name-base< / span > file< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > if< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > file-exists-p< / span > file-thumb< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > let< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > thumb-time < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > nth< / span > < span class = "org-highlight-numbers-number" > 5< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > file-attributes< / span > file-thumb < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > string< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > file-time < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > nth< / span > < span class = "org-highlight-numbers-number" > 5< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > file-attributes< / span > file < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > string< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > if< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > time-less-p< / span > thumb-time file-time< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > shell-command< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > format< / span > org-imagemagick-display-command
file < span class = "org-variable-name" > org-image-actual-width< / span > < span class = "org-variable-name" > org-image-actual-width< / span > file-thumb< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-warning" > nil nil< / span > < span class = "org-warning" > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < / span > < span class = "org-warning" > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < / span > < span class = "org-warning" > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > shell-command< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > format< / span > org-imagemagick-display-command
file < span class = "org-variable-name" > org-image-actual-width< / span > < span class = "org-variable-name" > org-image-actual-width< / span > file-thumb< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-warning" > nil nil< / span > < span class = "org-warning" > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < / span > < span class = "org-warning" > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > if< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > and< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > car-safe< / span > old< span class = "org-rainbow-delimiters-depth-1" > )< / span > refresh< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > image-refresh< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > overlay-get< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > cdr< / span > old< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > display< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > setq< / span > img < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > save-match-data< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > create-image< / span > file-thumb< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > when< / span > img
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > ov < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > make-overlay< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > match-beginning< / span > < span class = "org-highlight-numbers-number" > 0< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > match-end< / span > < span class = "org-highlight-numbers-number" > 0< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > overlay-put< / span > ov < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > display< / span > img< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > overlay-put< / span > ov < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > face< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > default< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > overlay-put< / span > ov < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org-image-overlay< / span > t< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > overlay-put< / span > ov < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > modification-hooks< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > list< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org-display-inline-remove-overlay< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > push< / span > ov < span class = "org-variable-name" > org-inline-image-overlays< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< p >
Two options:
< / p >
< ul class = "org-ul" >
< li > work with < code > .png< / code > file extension and only replace with < code > .pdf< / code > when exporting to LaTeX if the corresponding file exists< / li >
< li > work with < code > .pdf< / code > file, add a special function to display < code > .pdf< / code > files (using < code > convert< / code > or < code > pdftocairo< / code > ). Change to < code > .png< / code > when exporting to html< / li >
< / ul >
< p >
Let’ s try the first solution.
< / p >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > tdh/change-png-to-pdf< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > text backend info< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-doc" > "Change png images to pdf images when existing"< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > when< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > org-export-derived-backend-p< / span > backend < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > latex< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > let< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > text < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > replace-regexp-in-string< / span > < span class = "org-string" > "[< / span > < span class = "org-string" > < span class = "org-negation-char" > ^< / span > < / span > < span class = "org-string" > \\w]< / span > < span class = "org-string" > < span class = "org-regexp-grouping-backslash" > \\< / span > < / span > < span class = "org-string" > < span class = "org-regexp-grouping-construct" > (< / span > < / span > < span class = "org-string" > :< / span > < span class = "org-string" > < span class = "org-regexp-grouping-backslash" > \\< / span > < / span > < span class = "org-string" > < span class = "org-regexp-grouping-construct" > )< / span > < / span > < span class = "org-string" > [< / span > < span class = "org-string" > < span class = "org-negation-char" > ^< / span > < / span > < span class = "org-string" > \n\t\r]+< / span > < span class = "org-string" > < span class = "org-regexp-grouping-backslash" > \\< / span > < / span > < span class = "org-string" > < span class = "org-regexp-grouping-construct" > (< / span > < / span > < span class = "org-string" > :< / span > < span class = "org-string" > < span class = "org-regexp-grouping-backslash" > \\< / span > < / span > < span class = "org-string" > < span class = "org-regexp-grouping-construct" > )< / span > < / span > < span class = "org-string" > [< / span > < span class = "org-string" > < span class = "org-negation-char" > ^< / span > < / span > < span class = "org-string" > \\w]"< / span > < span class = "org-string" > "< mark> "< / span > text nil nil < span class = "org-highlight-numbers-number" > 1< / span > nil< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > replace-regexp-in-string< / span > < span class = "org-string" > "[< / span > < span class = "org-string" > < span class = "org-negation-char" > ^< / span > < / span > < span class = "org-string" > \\w]< / span > < span class = "org-string" > < span class = "org-regexp-grouping-backslash" > \\< / span > < / span > < span class = "org-string" > < span class = "org-regexp-grouping-construct" > (< / span > < / span > < span class = "org-string" > < mark> < / span > < span class = "org-string" > < span class = "org-regexp-grouping-backslash" > \\< / span > < / span > < span class = "org-string" > < span class = "org-regexp-grouping-construct" > )< / span > < / span > < span class = "org-string" > [< / span > < span class = "org-string" > < span class = "org-negation-char" > ^< / span > < / span > < span class = "org-string" > \n\t\r]+< / span > < span class = "org-string" > < span class = "org-regexp-grouping-backslash" > \\< / span > < / span > < span class = "org-string" > < span class = "org-regexp-grouping-construct" > (< / span > < / span > < span class = "org-string" > :< / span > < span class = "org-string" > < span class = "org-regexp-grouping-backslash" > \\< / span > < / span > < span class = "org-string" > < span class = "org-regexp-grouping-construct" > )< / span > < / span > < span class = "org-string" > [< / span > < span class = "org-string" > < span class = "org-negation-char" > ^< / span > < / span > < span class = "org-string" > \\w]"< / span > < span class = "org-string" > "< /mark> "< / span > text nil nil < span class = "org-highlight-numbers-number" > 2< / span > nil< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > add-to-list< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org-export-filter-plain-text-fucntions< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > my-html-mark-tag< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > save-excursion< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > goto-char< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > point-min< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > while< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > re-search-forward< / span > < span class = "org-string" > "^[ \t]*#\\s-+()convertfrompdf\\s-*:\\s-*t"< / span >
nil < span class = "org-builtin" > :noerror< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Keep on going to the next line till it finds a line with bracketed< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > file link.< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > while< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > progn< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > forward-line< / span > < span class = "org-highlight-numbers-number" > 1< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > not< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > looking-at< / span > < span class = "org-variable-name" > org-bracket-link-regexp< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Get the sub-group 1 match, the link, from `< / span > < span class = "org-comment" > < span class = "org-constant" > org-bracket-link-regexp< / span > < / span > < span class = "org-comment" > '< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > let< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > link < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > match-string-no-properties< / span > < span class = "org-highlight-numbers-number" > 1< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > when< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > stringp< / span > link< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > let*< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > imgfile < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > expand-file-name< / span > link< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > pdffile < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > expand-file-name< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > concat< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > file-name-sans-extension< / span > imgfile< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-string" > "."< / span > < span class = "org-string" > "pdf"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > cmd < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > concat< / span > < span class = "org-string" > "convert -density 96 -quality 85 "< / span >
pdffile < span class = "org-string" > " "< / span > imgfile< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > when< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > and< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > file-readable-p< / span > pdffile< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > file-newer-than-file-p< / span > pdffile imgfile< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > This block is executed only if pdffile is newer than< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > imgfile or if imgfile does not exist.< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > shell-command< / span > cmd< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > message< / span > < span class = "org-string" > "%s"< / span > cmd< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgc0c4b0e" class = "outline-4" >
< h4 id = "orgc0c4b0e" > Org Ref< / h4 >
< div class = "outline-text-4" id = "text-orgc0c4b0e" >
< p >
Ressources:
< / p >
< ul class = "org-ul" >
< li > < a href = "https://github.com/tmalsburg/helm-bibtex" > https://github.com/tmalsburg/helm-bibtex< / a > < / li >
< li > < a href = "https://github.com/jkitchin/org-ref" > https://github.com/jkitchin/org-ref< / a > < / li >
< li > < a href = "https://www.reddit.com/r/emacs/comments/4gudyw/help_me_with_my_orgmode_workflow_for_notetaking/" > https://www.reddit.com/r/emacs/comments/4gudyw/help_me_with_my_orgmode_workflow_for_notetaking/< / a > < / li >
< / ul >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Folder where the notes files are located (or file if just one Note file)< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > org-ref-notes-directory < span class = "org-string" > "~/Cloud/thesis/ressources/notes"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > org-ref-bibliography-notes < span class = "org-string" > "~/Cloud/thesis/ressources/notes"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Bibliography File< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > reftex-default-bibliography< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-string" > "~/Cloud/thesis/ressources/references.bib"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > org-ref-default-bibliography < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-string" > "~/Cloud/thesis/ressources/references.bib"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Folder where all the pdf are located< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > org-ref-pdf-directory < span class = "org-string" > "~/Cloud/thesis/ressources/pdfs"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Tell org-ref to let helm-bibtex find notes for it< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > org-ref-notes-function
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > lambda< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > thekey< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > let< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > bibtex-completion-bibliography < span class = "org-rainbow-delimiters-depth-1" > (< / span > org-ref-find-bibliography< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > bibtex-completion-edit-notes
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > list< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > car< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > org-ref-get-bibtex-key-and-file thekey< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Problem with speed: don't display broken links< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > org-ref-show-broken-links nil< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Display information on the citation< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > org-ref-show-citation-on-enter t< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgbd13130" class = "outline-4" >
< h4 id = "orgbd13130" > Org Noter< / h4 >
< div class = "outline-text-4" id = "text-orgbd13130" >
< ul class = "org-ul" >
< li > < a href = "https://github.com/weirdNox/org-noter" > https://github.com/weirdNox/org-noter< / a > < / li >
< / ul >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > org-noter-always-create-frame nil< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > org-noter-kill-frame-at-session-end nil< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Fraction of the frame that the document window will occupy when split< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > org-noter-doc-split-fraction < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-highlight-numbers-number" > 0.6< / span > . < span class = "org-highlight-numbers-number" > 0.6< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Save the last visited location automatically; when starting a new session, go to that location< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > org-noter-auto-save-last-location t< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Add an empty line between each note's heading and content< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > org-noter-separate-notes-from-heading t< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > List of paths to check (non recursively) when searching for a notes file< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > org-noter-notes-search-path < span class = "org-string" > "~/Cloud/thesis/ressources/notes"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org25ce8f9" class = "outline-4" >
< h4 id = "org25ce8f9" > Custom key bindings< / h4 >
< div class = "outline-text-4" id = "text-org25ce8f9" >
< p >
Export to LaTeX
< / p >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > evil-define-key< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > normal< / span > < span class = "org-variable-name" > org-mode-map< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > kbd< / span > < span class = "org-string" > ", l"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org-latex-export-to-latex< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< p >
Open pdf externally.
< / p >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > tdh/open-org-pdf-externally< / span > < span class = "org-rainbow-delimiters-depth-2" > ()< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > interactive< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > call-process< / span > < span class = "org-string" > "xdg-open"< / span > nil < span class = "org-highlight-numbers-number" > 0< / span > nil < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > concat< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > file-name-sans-extension< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-variable-name" > buffer-file-name< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-string" > ".pdf"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > evil-define-key< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > normal< / span > < span class = "org-variable-name" > org-mode-map< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > kbd< / span > < span class = "org-string" > ", v p"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > tdh/open-org-pdf-externally< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< p >
Open HTML externally.
< / p >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > tdh/open-org-html-externally< / span > < span class = "org-rainbow-delimiters-depth-2" > ()< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > interactive< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > call-process< / span > < span class = "org-string" > "xdg-open"< / span > nil < span class = "org-highlight-numbers-number" > 0< / span > nil < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > concat< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > file-name-sans-extension< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-variable-name" > buffer-file-name< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-string" > ".html"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > evil-define-key< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > normal< / span > < span class = "org-variable-name" > org-mode-map< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > kbd< / span > < span class = "org-string" > ", v h"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > tdh/open-org-html-externally< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org8349681" class = "outline-4" >
< h4 id = "org8349681" > < span class = "todo TODO" > TODO< / span > Org-Contacts< / h4 >
< div class = "outline-text-4" id = "text-org8349681" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > setq< / span > org-contacts-files < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > list< / span > < span class = "org-string" > "~/Cloud/org/contacts.org"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org9039909" class = "outline-4" >
< h4 id = "org9039909" > < span class = "todo TODO" > TODO< / span > Org-Wunderlist< / h4 >
< div class = "outline-text-4" id = "text-org9039909" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > require< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-constant" > org-wunderlist< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > org-wunderlist-client-id < span class = "org-string" > "6799d9caeb2f5d8bd641"< / span >
org-wunderlist-token < span class = "org-string" > "fd5965cde436c2587850a7c517d366561d8a1cbf7b6d96ab62f3fc8c9930"< / span >
org-wunderlist-file < span class = "org-string" > "~/Cloud/thesis/todos/wunderlist.org"< / span >
org-wunderlist-dir < span class = "org-string" > "~/.emacs.d/org-wunderlist/"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org7f23e20" class = "outline-4" >
< h4 id = "org7f23e20" > < span class = "todo TODO" > TODO< / span > ox-hugo< / h4 >
< / div >
< div id = "outline-container-org497699d" class = "outline-4" >
< h4 id = "org497699d" > Automatically run < code > startblock< / code > when opening org-mode files< / h4 >
< div class = "outline-text-4" id = "text-org497699d" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > org< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > tdh/eval-startblock< / span > < span class = "org-rainbow-delimiters-depth-3" > ()< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > if< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > member< / span > < span class = "org-string" > "startblock"< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > org-babel-src-block-names< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > save-excursion< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > org-babel-goto-named-src-block< / span > < span class = "org-string" > "startblock"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > org-babel-execute-src-block< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
nil
< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > add-hook< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-variable-name" > org-mode-hook< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > tdh/eval-startblock< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org9971b9a" class = "outline-4" >
< h4 id = "org9971b9a" > < span class = "todo TODO" > TODO< / span > Insert ScreenShot or Picture from Phone< / h4 >
< div class = "outline-text-4" id = "text-org9971b9a" >
< p >
< a href = "http://pragmaticemacs.com/emacs/a-workflow-to-quickly-add-photos-to-org-mode-notes/" > http://pragmaticemacs.com/emacs/a-workflow-to-quickly-add-photos-to-org-mode-notes/< / a >
< / p >
< ul class = "org-ul" >
< li class = "off" > < code > [  ]< / code > One function to move file from < code > ~/Picture/< / code > folder (where the screenshots are taken) to current directory and then insert and org link to the picture. Maybe ask if it should be copied in a sub directory (figs folder for instance).< / li >
< li class = "off" > < code > [  ]< / code > One function to copy file from < code > ~/Cloud/Photos/< / code > folder (where the pictures from phone are taken) to current directory (and ask for the new name of the picture) and insert org link.< / li >
< / ul >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > required libraries< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > require< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-constant" > dash< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > (require 'swiper)< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > require< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-constant" > s< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > start directory< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > defvar< / span > < span class = "org-variable-name" > tdh/image-dir< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > expand-file-name< / span > < span class = "org-string" > "/home/thomas/Pictures"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > tdh/insert-conference-image< / span > < span class = "org-rainbow-delimiters-depth-2" > ()< / span >
< span class = "org-doc" > "Insert image from conference directory, rename and add link in current file.< / span >
< span class = "org-doc" > The file is taken from a start directory set by `< / span > < span class = "org-doc" > < span class = "org-constant" > tdh/image-dir< / span > < / span > < span class = "org-doc" > ' and moved to the current directory, renamed and embedded at the point as an org-mode link. The user is presented with a list of files in the start directory, from which to select the file to move, sorted by most recent first."< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > interactive< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > let< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > file-list target-dir file-list-sorted start-file start-file-full file-ext end-file end-file-base end-file-full file-number< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Clean directories from list but keep times< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > setq< / span > file-list
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > -remove< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > lambda< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > x< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > nth< / span > < span class = "org-highlight-numbers-number" > 1< / span > x< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > directory-files-and-attributes< / span > tdh/image-dir< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Get target directory< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > setq< / span > target-dir < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > file-name-directory< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-variable-name" > buffer-file-name< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Sort list by most recent< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > setq< / span > file-list-sorted
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > mapcar< / span > < span class = "org-highlight-quoted-quote" > #'< / span > < span class = "org-highlight-quoted-symbol" > car< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > sort< / span > file-list
< span class = "org-highlight-quoted-quote" > #'< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > lambda < span class = "org-rainbow-delimiters-depth-1" > (< / span > x y< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > time-less-p< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > nth< / span > < span class = "org-highlight-numbers-number" > 6< / span > y< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > nth< / span > < span class = "org-highlight-numbers-number" > 6< / span > x< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Use ivy to select start-file< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > setq< / span > start-file < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > ivy-read< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > concat< / span > < span class = "org-string" > "Move selected file to "< / span > target-dir < span class = "org-string" > ":"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
file-list-sorted
< span class = "org-builtin" > :re-builder< / span > < span class = "org-highlight-quoted-quote" > #'< / span > < span class = "org-highlight-quoted-symbol" > ivy--regex< / span >
< span class = "org-builtin" > :sort< / span > nil
< span class = "org-builtin" > :initial-input< / span > nil< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > add full path to start file and end-file< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > setq< / span > start-file-full
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > expand-file-name< / span > start-file tdh/image-dir< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > final file name including path< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > setq< / span > end-file-full
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > expand-file-name< / span > start-file target-dir< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > rename file< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > rename-file< / span > start-file-full end-file-full< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > message< / span > < span class = "org-string" > "moved %s to %s"< / span > start-file-full start-file< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > insert link< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > insert< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > org-make-link-string< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > format< / span > < span class = "org-string" > "file:%s"< / span > start-file< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > display image< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > org-display-inline-images< / span > t t< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgab69e6c" class = "outline-4" >
< h4 id = "orgab69e6c" > < span class = "todo TODO" > TODO< / span > Render Tables< / h4 >
< div class = "outline-text-4" id = "text-orgab69e6c" >
< p >
< a href = "https://www.reddit.com/r/emacs/comments/d3a8or/pretty_org_tables_in_the_buffer_chapter_2_it/" > https://www.reddit.com/r/emacs/comments/d3a8or/pretty_org_tables_in_the_buffer_chapter_2_it/< / a >
< / p >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > my-render-org-table-at-point< / span > < span class = "org-rainbow-delimiters-depth-2" > ()< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > interactive< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > save-excursion< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > beginning-of-line< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > removes the overlay is already there< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > if< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > overlays-at< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > point< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > delete-overlay< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > car< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > overlays-at< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > point< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > let*< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > element-type < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > org-element-type< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > org-element-at-point< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > if< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > and< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > not< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > eq< / span > element-type < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > table< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > not< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > eq< / span > element-type < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > table-row< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > error< / span > < span class = "org-string" > "not at an org table"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > while< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > not< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > eq< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > table< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > org-element-type< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > org-element-at-point< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > forward-line< / span > < span class = "org-highlight-numbers-number" > -1< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > my-render-org-table< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > org-element-at-point< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > my-render-org-table< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > table< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > interactive< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > let*< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > begin < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > org-element-property< / span > < span class = "org-builtin" > :begin< / span > table< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > end < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > let< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > pos < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > org-element-property< / span > < span class = "org-builtin" > :end< / span > table< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > goto-char< / span > pos< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > beginning-of-line< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > skip possible space after table< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > while< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > not< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > looking-at< / span > < span class = "org-string" > " *[|#]"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > pos < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > point< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > forward-line< / span > < span class = "org-highlight-numbers-number" > -1< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
pos< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > tabletxt < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > buffer-substring-no-properties< / span > begin end< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > img < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > with-temp-buffer< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > insert< / span > tabletxt< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > mark-whole-buffer< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > org-latex-convert-region-to-latex< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > org-latex-preview< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > goto-char< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > point-min< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > overlay-get< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > car< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > overlays-at< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > point< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > display< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > overlay < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > make-overlay< / span > begin end< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > overlay-put< / span > overlay < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > display< / span > img< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > forward-line< / span > < span class = "org-highlight-numbers-number" > -1< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > my-render-org-tables-in-buffer< / span > < span class = "org-rainbow-delimiters-depth-2" > ()< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > save-excursion< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > org-element-map< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > org-element-parse-buffer< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > table< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > my-render-org-table< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Use F9 to globally generate tables< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > global-set-key< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > kbd< / span > < span class = "org-string" > "< f8> "< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > lambda< / span > < span class = "org-rainbow-delimiters-depth-3" > ()< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > interactive< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > my-render-org-table-at-point< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< / div >
< div id = "outline-container-org2b197b7" class = "outline-3" >
< h3 id = "org2b197b7" > Projectile< / h3 >
< div class = "outline-text-3" id = "text-org2b197b7" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > projectile-generic-command< / span > < span class = "org-string" > "fd -H --ignore-file .projectile -t f -0"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
2020-01-11 22:22:46 +01:00
< div id = "outline-container-orgbe6e4b6" class = "outline-3" >
< h3 id = "orgbe6e4b6" > < span class = "todo TODO" > TODO< / span > Matlab< / h3 >
< div class = "outline-text-3" id = "text-orgbe6e4b6" >
2020-01-11 22:04:45 +01:00
< ul class = "org-ul" >
< li > < a href = "https://github.com/yuhonglin/matlab-mode" > https://github.com/yuhonglin/matlab-mode< / a > < / li >
< li > < a href = "https://github.com/pronobis/matlab-mode" > https://github.com/pronobis/matlab-mode< / a > < / li >
< / ul >
< / div >
< div id = "outline-container-org56c47c1" class = "outline-4" >
< h4 id = "org56c47c1" > < span class = "todo TODO" > TODO< / span > Test with Org Babel< / h4 >
< div class = "outline-text-4" id = "text-org56c47c1" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > let*< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > session
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > funcall< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > intern< / span > < span class = "org-string" > "org-babel-matlab-initiate-session"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-string" > "*MATLAB*"< / span > params< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > result < span class = "org-rainbow-delimiters-depth-1" > (< / span > org-babel-octave-evaluate session < span class = "org-string" > "ls"< / span > < span class = "org-string" > "output"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgf564a04" class = "outline-4" >
< h4 id = "orgf564a04" > Setup Matlab Mode< / h4 >
< div class = "outline-text-4" id = "text-orgf564a04" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > matlab-shell-command < span class = "org-string" > "/home/thomas/bin/matlab"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > matlab-shell-command-switches < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > list< / span > < span class = "org-string" > "-nodesktop -nosplash"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > mlint-programs < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "mlint"< / span > < span class = "org-string" > "/home/thomas/bin/mlint"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgfccd918" class = "outline-4" >
< h4 id = "orgfccd918" > Setup Flycheck< / h4 >
< div class = "outline-text-4" id = "text-orgfccd918" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > defvar< / span > < span class = "org-variable-name" > mlint-executable< / span > < span class = "org-string" > "/home/thomas/bin/mlint"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > flycheck-define-command-checker< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > matlab-mlint< / span >
< span class = "org-doc" > "A Matlab checker based on mlint."< / span >
< span class = "org-builtin" > :command< / span > < span class = "org-highlight-quoted-quote" > `< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > ,< span class = "org-variable-name" > mlint-executable< / span > source< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-builtin" > :error-patterns< / span >
< span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > warning line-start < span class = "org-string" > "L "< / span > line < span class = "org-string" > " (C "< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > 1+< / span > digit< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-string" > "): "< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > message< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > line-end< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-builtin" > :modes< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > matlab-mode< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > add-to-list< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-variable-name" > flycheck-checkers< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > matlab-mlint< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Automatic startup of flycheck for matlab< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > add-hook< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-variable-name" > matlab-mode-hook< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-variable-name" > flycheck-mode< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > defadvice< / span > < span class = "org-function-name" > org-edit-src-code< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > around set-buffer-file-name activate compile< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > let< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > file-name < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-variable-name" > buffer-file-name< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > (1)< / span >
ad-do-it < span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > (2)< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > buffer-file-name< / span > file-name< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > (3)< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgc6fe2cd" class = "outline-4" >
< h4 id = "orgc6fe2cd" > < span class = "todo TODO" > TODO< / span > Setup Company - not working< / h4 >
< div class = "outline-text-4" id = "text-orgc6fe2cd" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > (add-to-list 'company-backends 'company-matlab)< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org3d6805e" class = "outline-4" >
< h4 id = "org3d6805e" > < span class = "todo TODO" > TODO< / span > Beautify code< / h4 >
< div class = "outline-text-4" id = "text-org3d6805e" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > matlab-beautify-buffer< / span > < span class = "org-rainbow-delimiters-depth-2" > ()< / span >
< span class = "org-doc" > "Beautify Current Buffer"< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > interactive< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > save-buffer< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > matlab-shell-run-command < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > concat< / span > < span class = "org-string" > "MBeautify.formatFile(\""< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-variable-name" > buffer-file-name< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-string" > "\")"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > (global-set-key [C-f1] 'show-file-name)< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org57e0784" class = "outline-4" >
< h4 id = "org57e0784" > Key Bindings< / h4 >
< div class = "outline-text-4" id = "text-org57e0784" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > matlab-add-breakpoint< / span > < span class = "org-rainbow-delimiters-depth-2" > ()< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > interactive< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > matlab-shell-run-command < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > concat< / span > < span class = "org-string" > "dbstop in "< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > buffer-name< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-string" > " at "< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > number-to-string< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > line-number-at-pos< / span > nil< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > matlab-remove-breakpoint< / span > < span class = "org-rainbow-delimiters-depth-2" > ()< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > interactive< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > matlab-shell-run-command < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > concat< / span > < span class = "org-string" > "dbclear in "< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > buffer-name< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-string" > " at "< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > number-to-string< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > line-number-at-pos< / span > nil< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > matlab-list-breakpoints< / span > < span class = "org-rainbow-delimiters-depth-2" > ()< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > interactive< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > matlab-shell-run-command < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > concat< / span > < span class = "org-string" > "dbstatus "< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > buffer-name< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > matlab-clear-breakpoints< / span > < span class = "org-rainbow-delimiters-depth-2" > ()< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > interactive< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > matlab-shell-run-command < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > concat< / span > < span class = "org-string" > "dbclear in "< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > buffer-name< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > matlab-go-to-file-directory< / span > < span class = "org-rainbow-delimiters-depth-2" > ()< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > interactive< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > matlab-shell-run-command < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > concat< / span > < span class = "org-string" > "cd "< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > file-name-directory< / span > < span class = "org-variable-name" > buffer-file-name< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > evil-define-key< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > normal< / span > < span class = "org-variable-name" > matlab-mode-map< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > kbd< / span > < span class = "org-string" > ", g"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > matlab-go-to-file-directory< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > evil-define-key< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > normal< / span > < span class = "org-variable-name" > matlab-mode-map< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > kbd< / span > < span class = "org-string" > ", d a"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > matlab-add-breakpoint< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > evil-define-key< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > normal< / span > < span class = "org-variable-name" > matlab-mode-map< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > kbd< / span > < span class = "org-string" > ", d r"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > matlab-remove-breakpoint< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > evil-define-key< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > normal< / span > < span class = "org-variable-name" > matlab-mode-map< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > kbd< / span > < span class = "org-string" > ", d L"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > matlab-list-breakpoints< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > evil-define-key< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > normal< / span > < span class = "org-variable-name" > matlab-mode-map< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > kbd< / span > < span class = "org-string" > ", d c"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > matlab-clear-breakpoints< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > evil-define-key< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > normal< / span > < span class = "org-variable-name" > matlab-mode-map< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > kbd< / span > < span class = "org-string" > ", d l"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > gud-cont< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > evil-define-key< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > normal< / span > < span class = "org-variable-name" > matlab-mode-map< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > kbd< / span > < span class = "org-string" > ", d s"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > gud-step< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > evil-define-key< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > normal< / span > < span class = "org-variable-name" > matlab-mode-map< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > kbd< / span > < span class = "org-string" > ", d n"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > gud-next< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > evil-define-key< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > normal< / span > < span class = "org-variable-name" > matlab-mode-map< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > kbd< / span > < span class = "org-string" > ", d q"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > gud-finish< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgfd19516" class = "outline-4" >
< h4 id = "orgfd19516" > Wrong highlight of comments< / h4 >
< div class = "outline-text-4" id = "text-orgfd19516" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > add-hook< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-variable-name" > matlab-mode-hook< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > `< / span > < span class = "org-comment" > < span class = "org-constant" > highlight-numbers-mode< / span > < / span > < span class = "org-comment" > ' breaks MATLAB comment coloring --< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > `< / span > < span class = "org-comment" > < span class = "org-constant" > highlight-numbers-mode< / span > < / span > < span class = "org-comment" > ' is mostly redundant with< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > `< / span > < span class = "org-comment" > < span class = "org-constant" > rainbow-identifiers-mode< / span > < / span > < span class = "org-comment" > ' anyway< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > lambda< / span > < span class = "org-rainbow-delimiters-depth-3" > ()< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-variable-name" > highlight-numbers-mode< / span > < span class = "org-highlight-numbers-number" > -1< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > We must append the above *after* `< / span > < span class = "org-comment" > < span class = "org-constant" > spacemacs/run-prog-mode-hooks< / span > < / span > < span class = "org-comment" > '< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > in `< / span > < span class = "org-comment" > < span class = "org-constant" > matlab-mode-hook< / span > < / span > < span class = "org-comment" > ', since the former hook enables< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > `< / span > < span class = "org-comment" > < span class = "org-constant" > highlight-numbers-mode< / span > < / span > < span class = "org-comment" > '. Note that< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > `< / span > < span class = "org-comment" > < span class = "org-constant" > spacemacs/run-prog-mode-hooks< / span > < / span > < span class = "org-comment" > ' is manually added to< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > `< / span > < span class = "org-comment" > < span class = "org-constant" > matlab-mode-hook< / span > < / span > < span class = "org-comment" > ' by Spacemacs since the upstream `< / span > < span class = "org-comment" > < span class = "org-constant" > matlab-mode< / span > < / span > < span class = "org-comment" > '< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > package does not derive `< / span > < span class = "org-comment" > < span class = "org-constant" > matlab-mode< / span > < / span > < span class = "org-comment" > ' from `< / span > < span class = "org-comment" > < span class = "org-constant" > prog-mode< / span > < / span > < span class = "org-comment" > ' (oddly --< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > IIRC the author refused to do so for compatibility with XEmacs).< / span >
< span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > append< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< / div >
< div id = "outline-container-org59fa123" class = "outline-3" >
< h3 id = "org59fa123" > < span class = "todo TODO" > TODO< / span > Mails With Mu4e< / h3 >
< div class = "outline-text-3" id = "text-org59fa123" >
< ul class = "org-ul" >
< li > < a href = "https://github.com/kzar/davemail" > https://github.com/kzar/davemail< / a > < / li >
< li > < a href = "http://cachestocaches.com/2017/3/complete-guide-email-emacs-using-mu-and-/" > http://cachestocaches.com/2017/3/complete-guide-email-emacs-using-mu-and-/< / a > < / li >
< li > < a href = "http://spacemacs.org/layers/+email/mu4e/README.html" > http://spacemacs.org/layers/+email/mu4e/README.html< / a > < / li >
< li > < a href = "http://www.djcbsoftware.nl/code/mu/mu4e/index.html#Top" > http://www.djcbsoftware.nl/code/mu/mu4e/index.html#Top< / a > < / li >
< li > < a href = "https://notanumber.io/2016-10-03/better-email-with-mu4e/" > https://notanumber.io/2016-10-03/better-email-with-mu4e/< / a > < / li >
< li > < a href = "https://vxlabs.com/2017/02/07/mu4e-0-9-18-e-mailing-with-emacs-now-even-better/" > https://vxlabs.com/2017/02/07/mu4e-0-9-18-e-mailing-with-emacs-now-even-better/< / a > < / li >
< li > < a href = "http://www.brool.com/post/using-mu4e/" > http://www.brool.com/post/using-mu4e/< / a > < / li >
< li > < a href = "https://www.reddit.com/r/emacs/comments/8q84dl/tip_how_to_easily_manage_your_emails_with_mu4e/" > https://www.reddit.com/r/emacs/comments/8q84dl/tip_how_to_easily_manage_your_emails_with_mu4e/< / a > < / li >
< li > < a href = "https://vxlabs.com/2017/02/07/mu4e-0-9-18-e-mailing-with-emacs-now-even-better/" > https://vxlabs.com/2017/02/07/mu4e-0-9-18-e-mailing-with-emacs-now-even-better/< / a > < / li >
< / ul >
< / div >
< div id = "outline-container-org40504f2" class = "outline-4" >
< h4 id = "org40504f2" > Set default mail user agent to mu4e< / h4 >
< div class = "outline-text-4" id = "text-org40504f2" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > mail-user-agent< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > mu4e-user-agent< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org7f9eea0" class = "outline-4" >
< h4 id = "org7f9eea0" > Default config< / h4 >
< div class = "outline-text-4" id = "text-org7f9eea0" >
< / div >
< div id = "outline-container-orgbd2561e" class = "outline-5" >
< h5 id = "orgbd2561e" > Default behavior< / h5 >
< div class = "outline-text-5" id = "text-orgbd2561e" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > mu4e-maildir < span class = "org-string" > "~/.mail"< / span >
mu4e-update-interval nil
mu4e-compose-signature-auto-include t
mu4e-view-show-images t
mu4e-view-show-addresses t< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgb49e14c" class = "outline-5" >
< h5 id = "orgb49e14c" > Default folders< / h5 >
< div class = "outline-text-5" id = "text-orgb49e14c" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > mu4e-sent-folder < span class = "org-string" > "/gmail/Sent"< / span >
mu4e-drafts-folder < span class = "org-string" > "/gmail/Drafts"< / span >
mu4e-trash-folder < span class = "org-string" > "/gmail/Trash"< / span >
mu4e-refile-folder < span class = "org-string" > "/gmail/Archive"< / span >
mu4e-compose-signature < span class = "org-string" > "Thomas Dehaeze\n"< / span >
< span class = "org-variable-name" > user-mail-address< / span > < span class = "org-string" > "dehaeze.thomas@gmail.com"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org57ed366" class = "outline-5" >
< h5 id = "org57ed366" > Default signature and email address< / h5 >
< div class = "outline-text-5" id = "text-org57ed366" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > mu4e-compose-signature < span class = "org-string" > "Thomas Dehaeze\n"< / span >
< span class = "org-variable-name" > user-mail-address< / span > < span class = "org-string" > "dehaeze.thomas@gmail.com"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgfb8ac3d" class = "outline-5" >
< h5 id = "orgfb8ac3d" > Saving the attachment to Downloads directory< / h5 >
< div class = "outline-text-5" id = "text-orgfb8ac3d" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > mu4e-attachment-dir < span class = "org-string" > "~/Downloads"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org4679d12" class = "outline-5" >
< h5 id = "org4679d12" > A list of user’ s e-mail addresses< / h5 >
< div class = "outline-text-5" id = "text-org4679d12" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > mu4e-user-mail-address-list < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-string" > "dehaeze.thomas@gmail.com"< / span > < span class = "org-string" > "thomas.dehaeze@esrf.fr"< / span > < span class = "org-string" > "thomas.dehaeze@doct.ulg.ac.be"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org93f7372" class = "outline-5" >
< h5 id = "org93f7372" > Mail directory shortcuts< / h5 >
< div class = "outline-text-5" id = "text-org93f7372" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > mu4e-maildir-shortcuts
< span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-string" > "/gmail/Inbox"< / span > . ?g< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-string" > "/esrf/Inbox"< / span > . ?e< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-string" > "/ulg/Inbox"< / span > . ?u< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< / div >
< div id = "outline-container-org3485936" class = "outline-4" >
< h4 id = "org3485936" > < span class = "todo TODO" > TODO< / span > Contexts - Email accounts< / h4 >
< div class = "outline-text-4" id = "text-org3485936" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > mu4e-contexts
< span class = "org-highlight-quoted-quote" > `< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > ,< span class = "org-rainbow-delimiters-depth-3" > (< / span > make-mu4e-context
< span class = "org-builtin" > :name< / span > < span class = "org-string" > "gmail"< / span >
< span class = "org-builtin" > :enter-func< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > lambda< / span > < span class = "org-rainbow-delimiters-depth-2" > ()< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > mu4e-message < span class = "org-string" > "Entering Gmail context"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-builtin" > :leave-func< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > lambda< / span > < span class = "org-rainbow-delimiters-depth-2" > ()< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > mu4e-message < span class = "org-string" > "Leaving Gmail context"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-builtin" > :match-func< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > lambda< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > msg< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > when< / span > msg
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > string-match-p< / span > < span class = "org-string" > "^/gmail"< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > mu4e-message-field msg < span class = "org-builtin" > :maildir< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-builtin" > :vars< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > mu4e-sent-messages-behavior . < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > delete< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-variable-name" > user-mail-address< / span > . < span class = "org-string" > "dehaeze.thomas@gmail.com"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > mu4e-sent-folder . < span class = "org-string" > "/gmail/Sent"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > mu4e-trash-folder . < span class = "org-string" > "/gmail/Trash"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > mu4e-drafts-folder . < span class = "org-string" > "/gmail/Drafts"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > mu4e-refile-folder . < span class = "org-string" > "/gmail/Archive"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > mu4e-compose-signature .
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > concat< / span >
< span class = "org-string" > "Thomas Dehaeze\n"< / span >
< span class = "org-string" > "\n"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
,< span class = "org-rainbow-delimiters-depth-3" > (< / span > make-mu4e-context
< span class = "org-builtin" > :name< / span > < span class = "org-string" > "esrf"< / span >
< span class = "org-builtin" > :enter-func< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > lambda< / span > < span class = "org-rainbow-delimiters-depth-2" > ()< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > mu4e-message < span class = "org-string" > "Entering ESRF context"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-builtin" > :leave-func< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > lambda< / span > < span class = "org-rainbow-delimiters-depth-2" > ()< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > mu4e-message < span class = "org-string" > "Leaving ESRF context"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-builtin" > :match-func< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > lambda< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > msg< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > when< / span > msg
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > string-match-p< / span > < span class = "org-string" > "^/esrf"< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > mu4e-message-field msg < span class = "org-builtin" > :maildir< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-builtin" > :vars< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-variable-name" > user-mail-address< / span > . < span class = "org-string" > "thomas.dehaeze@esrf.fr"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > mu4e-sent-folder . < span class = "org-string" > "/esrf/Sent"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > mu4e-trash-folder . < span class = "org-string" > "/esrf/Trash"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > mu4e-drafts-folder . < span class = "org-string" > "/esrf/Drafts"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > mu4e-refile-folder . < span class = "org-string" > "/esrf/Archive"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > mu4e-compose-signature .
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > concat< / span >
< span class = "org-string" > "Thomas Dehaeze\n"< / span >
< span class = "org-string" > "\n"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
,< span class = "org-rainbow-delimiters-depth-3" > (< / span > make-mu4e-context
< span class = "org-builtin" > :name< / span > < span class = "org-string" > "ulg"< / span >
< span class = "org-builtin" > :enter-func< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > lambda< / span > < span class = "org-rainbow-delimiters-depth-2" > ()< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > mu4e-message < span class = "org-string" > "Entering ULG context"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-builtin" > :leave-func< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > lambda< / span > < span class = "org-rainbow-delimiters-depth-2" > ()< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > mu4e-message < span class = "org-string" > "Leaving ULG context"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-builtin" > :match-func< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > lambda< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > msg< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > when< / span > msg
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > string-match-p< / span > < span class = "org-string" > "^/ulg"< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > mu4e-message-field msg < span class = "org-builtin" > :maildir< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-builtin" > :vars< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-variable-name" > user-mail-address< / span > . < span class = "org-string" > "thomas.dehaeze@doct.ulg.ac.be"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > mu4e-sent-folder . < span class = "org-string" > "/ulg/Sent"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > mu4e-trash-folder . < span class = "org-string" > "/ulg/Trash"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > mu4e-drafts-folder . < span class = "org-string" > "/ulg/Drafts"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > mu4e-refile-folder . < span class = "org-string" > "/ulg/Archive"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > mu4e-compose-signature .
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > concat< / span >
< span class = "org-string" > "Thomas Dehaeze\n"< / span >
< span class = "org-string" > "\n"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > mu4e-context-policy < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > pick-first< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org15a91bc" class = "outline-4" >
< h4 id = "org15a91bc" > Receiving emails - Mbsync< / h4 >
< div class = "outline-text-4" id = "text-org15a91bc" >
< p >
Let systemd get the mail, then pressing < code > U< / code > will just run < code > mu< / code > to reindex everything.
< / p >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > mu4e-get-mail-command < span class = "org-string" > "true"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< p >
Fix for mbsync found < a href = "http://pragmaticemacs.com/emacs/fixing-duplicate-uid-errors-when-using-mbsync-and-mu4e/" > here< / a > .
< / p >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > mu4e-change-filenames-when-moving t< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org7eedfca" class = "outline-4" >
< h4 id = "org7eedfca" > Sending emails - Msmtp< / h4 >
< div class = "outline-text-4" id = "text-org7eedfca" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > smtpmail-default-smtp-server < span class = "org-string" > "smtp.gmail.com"< / span >
smtpmail-smtp-server < span class = "org-string" > "smtp.gmail.com"< / span >
smtpmail-smtp-service < span class = "org-highlight-numbers-number" > 587< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > message-send-mail-function< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > message-send-mail-with-sendmail< / span >
sendmail-program < span class = "org-string" > "msmtp"< / span >
< span class = "org-variable-name" > user-full-name< / span > < span class = "org-string" > "Thomas Dehaeze"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org622172a" class = "outline-4" >
< h4 id = "org622172a" > Bookmarks< / h4 >
< div class = "outline-text-4" id = "text-org622172a" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > mu4e-bookmarks
< span class = "org-highlight-quoted-quote" > `< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-string" > "flag:unread AND NOT flag:trashed"< / span > < span class = "org-string" > "Unread messages"< / span > ?u< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-string" > "date:today..now"< / span > < span class = "org-string" > "Today's messages"< / span > ?t< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-string" > "date:7d..now"< / span > < span class = "org-string" > "Last 7 days"< / span > ?w< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-string" > "mime:image/*"< / span > < span class = "org-string" > "Messages with images"< / span > ?p< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > ,< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > mapconcat< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > identity< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > mapcar< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-keyword" > lambda< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > maildir< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > concat< / span > < span class = "org-string" > "maildir:"< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > car< / span > maildir< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
mu4e-maildir-shortcuts< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-string" > " OR "< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-string" > "All inboxes"< / span > ?i< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgb211f73" class = "outline-4" >
< h4 id = "orgb211f73" > < span class = "todo TODO" > TODO< / span > Notifications< / h4 >
< div class = "outline-text-4" id = "text-orgb211f73" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > with-eval-after-load< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > mu4e-alert< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > mu4e-alert-set-default-style < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > libnotify< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > mu4e-alert-enable-notifications< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< p >
Mode-line notifications
< / p >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > mu4e-enable-mode-line t< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orga748eb6" class = "outline-4" >
< h4 id = "orga748eb6" > Use Org-Mode Tables In Emails< / h4 >
< div class = "outline-text-4" id = "text-orga748eb6" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > add-hook< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-variable-name" > message-mode-hook< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > turn-on-orgtbl< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > add-hook< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-variable-name" > message-mode-hook< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > turn-on-orgstruct++< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org77e75d8" class = "outline-4" >
< h4 id = "org77e75d8" > < span class = "todo TODO" > TODO< / span > Integration with Org-Mode< / h4 >
< div class = "outline-text-4" id = "text-org77e75d8" >
< p >
Store link to message if in header view, not to header query
< / p >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > org-mu4e-link-query-in-headers-mode nil< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgcb6f181" class = "outline-4" >
< h4 id = "orgcb6f181" > < span class = "todo TODO" > TODO< / span > When putting something on the Trash, it will be in the archive folder on gmail< / h4 >
< div class = "outline-text-4" id = "text-orgcb6f181" >
< p >
Even when totally deleting it. It will stay on gmail. How to fix that?
< / p >
< / div >
< / div >
< div id = "outline-container-org623cb98" class = "outline-4" >
< h4 id = "org623cb98" > < span class = "todo TODO" > TODO< / span > Verify that sending mails with gmail account works and that there is no duplicate< / h4 >
< div class = "outline-text-4" id = "text-org623cb98" >
< p >
Should check this variable: mu4e-sent-messages-behavior
< / p >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > mu4e-sent-messages-behavior < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > delete< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< p >
And < a href = "https://www.djcbsoftware.nl/code/mu/mu4e/Gmail-configuration.html" > here< / a > .
If I put it to delete, it works for gmail but not for the other ones…
Check < a href = "https://github.com/djcb/mu/issues/179" > here< / a > .
< / p >
< / div >
< / div >
< div id = "outline-container-org6663aec" class = "outline-4" >
< h4 id = "org6663aec" > < span class = "todo TODO" > TODO< / span > Cheatsheet< / h4 >
< div class = "outline-text-4" id = "text-org6663aec" >
< table border = "2" cellspacing = "0" cellpadding = "6" rules = "groups" frame = "hsides" >
< colgroup >
< col class = "org-left" / >
< col class = "org-left" / >
< / colgroup >
< thead >
< tr >
< th scope = "col" class = "org-left" > Command< / th >
< th scope = "col" class = "org-left" > Usage< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "org-left" > < code > C-j< / code > < / td >
< td class = "org-left" > Next mail< / td >
< / tr >
< tr >
< td class = "org-left" > < code > C-k< / code > < / td >
< td class = "org-left" > Previous mail< / td >
< / tr >
< tr >
< td class = "org-left" > < code > R/C/F< / code > < / td >
< td class = "org-left" > Reply/Compose/Forward< / td >
< / tr >
< tr >
< td class = "org-left" > < code > t< / code > < / td >
< td class = "org-left" > Move to Archive< / td >
< / tr >
< tr >
< td class = "org-left" > < code > d< / code > < / td >
< td class = "org-left" > Move to Trash< / td >
< / tr >
< / tbody >
< / table >
< / div >
< / div >
< / div >
< div id = "outline-container-org1f70b16" class = "outline-3" >
< h3 id = "org1f70b16" > PDF-Tools< / h3 >
< div class = "outline-text-3" id = "text-org1f70b16" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > add-hook< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > pdf-view-mode-hook< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > lambda< / span > < span class = "org-rainbow-delimiters-depth-3" > ()< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > linum-mode< / span > < span class = "org-highlight-numbers-number" > -1< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgf7f8943" class = "outline-3" >
< h3 id = "orgf7f8943" > Custom command and leader keys< / h3 >
< div class = "outline-text-3" id = "text-orgf7f8943" >
< / div >
< div id = "outline-container-org52ee497" class = "outline-4" >
< h4 id = "org52ee497" > Watch LaTeX file using latexmk< / h4 >
< div class = "outline-text-4" id = "text-org52ee497" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > latex/watch< / span > < span class = "org-rainbow-delimiters-depth-2" > ()< / span >
< span class = "org-doc" > "Watch LaTeX file using latexmk"< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > interactive< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > start-process-shell-command< / span > < span class = "org-string" > "latexmk-watch"< / span > < span class = "org-string" > "*latexmk-watch-output*"< / span >
< span class = "org-string" > "latexmk"< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > format< / span > < span class = "org-string" > "-pdflatex=\"xelatex -synctex=1 -shell-escape -interaction nonstopmode -output-directory='%s'\" -pdf -pvc -bibtex -f %s.tex"< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > file-name-directory< / span > < span class = "org-variable-name" > buffer-file-name< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > file-name-base< / span > < span class = "org-variable-name" > buffer-file-name< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > latex/watch/kill< / span > < span class = "org-rainbow-delimiters-depth-2" > ()< / span >
< span class = "org-doc" > "Kill the currently running TeX job."< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > interactive< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > delete-process< / span > < span class = "org-string" > "latexmk-watch"< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > spacemacs/set-leader-keys < span class = "org-string" > "ow"< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > latex/watch< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > spacemacs/set-leader-keys < span class = "org-string" > "ok"< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > latex/watch/kill< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
2020-01-11 22:22:46 +01:00
< div id = "outline-container-orgf88a671" class = "outline-4" >
< h4 id = "orgf88a671" > Helm-Bibtex< / h4 >
< div class = "outline-text-4" id = "text-orgf88a671" >
2020-01-11 22:04:45 +01:00
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > spacemacs/set-leader-keys < span class = "org-string" > "ob"< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > helm-bibtex< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > spacemacs/set-leader-keys < span class = "org-string" > "of"< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > helm-bibtex-favorites< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > spacemacs/set-leader-keys < span class = "org-string" > "or"< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > helm-resume< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgeb19a03" class = "outline-4" >
< h4 id = "orgeb19a03" > Eshell< / h4 >
< div class = "outline-text-4" id = "text-orgeb19a03" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > spacemacs/set-leader-keys < span class = "org-string" > "os"< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > eshell< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org3a2d62a" class = "outline-4" >
< h4 id = "org3a2d62a" > Open terminal in current directory< / h4 >
< div class = "outline-text-4" id = "text-org3a2d62a" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > open-terminal-in-workdir< / span > < span class = "org-rainbow-delimiters-depth-2" > ()< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > interactive< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > call-process-shell-command< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > concat< / span > < span class = "org-string" > "termite --directory="< / span > < span class = "org-variable-name" > default-directory< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > nil < span class = "org-highlight-numbers-number" > 0< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > spacemacs/set-leader-keys < span class = "org-string" > "ot"< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > open-terminal-in-workdir< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgfce1368" class = "outline-4" >
< h4 id = "orgfce1368" > Open ranger in current directory< / h4 >
< div class = "outline-text-4" id = "text-orgfce1368" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > open-ranger-in-workdir< / span > < span class = "org-rainbow-delimiters-depth-2" > ()< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > interactive< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > call-process-shell-command< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > concat< / span > < span class = "org-string" > "termite --directory="< / span > < span class = "org-variable-name" > default-directory< / span > < span class = "org-string" > " --exec=ranger"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > nil < span class = "org-highlight-numbers-number" > 0< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > spacemacs/set-leader-keys < span class = "org-string" > "oo"< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > open-ranger-in-workdir< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< / div >
< div id = "outline-container-org4668b54" class = "outline-3" >
< h3 id = "org4668b54" > Path for Shell< / h3 >
< div class = "outline-text-3" id = "text-org4668b54" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > when< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > memq< / span > < span class = "org-variable-name" > window-system< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > mac ns x< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > exec-path-from-shell-initialize< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org42a3b9d" class = "outline-3" >
< h3 id = "org42a3b9d" > Proxy< / h3 >
< div class = "outline-text-3" id = "text-org42a3b9d" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > url-proxy-services< / span >
< span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-string" > "http"< / span > . < span class = "org-string" > "proxy.esrf.fr:3128"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-string" > "https"< / span > . < span class = "org-string" > "proxy.esrf.fr:3128"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-string" > "no_proxy"< / span > . < span class = "org-string" > "^.*esrf.fr"< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgbc486b9" class = "outline-3" >
< h3 id = "orgbc486b9" > Remove the problem of recentf files< / h3 >
< div class = "outline-text-3" id = "text-orgbc486b9" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > cancel-timer< / span > recentf-auto-save-timer< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgd539b86" class = "outline-3" >
< h3 id = "orgd539b86" > < span class = "todo TODO" > TODO< / span > Slack< / h3 >
< div class = "outline-text-3" id = "text-orgd539b86" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > slack-register-team
< span class = "org-builtin" > :name< / span > < span class = "org-string" > "emacs-slack"< / span >
< span class = "org-builtin" > :default< / span > t
< span class = "org-builtin" > :client-id< / span > < span class = "org-string" > "299050134212.316863429523"< / span >
< span class = "org-builtin" > :client-secret< / span > < span class = "org-string" > "7168a660375090e517fe812ea2d136e5"< / span >
< span class = "org-builtin" > :token< / span > < span class = "org-string" > "xoxp-299050134212-299063259042-715794254097-7c319fdd63315620e86f1fad42c126a2"< / span >
< span class = "org-builtin" > :subscribed-channels< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-rainbow-delimiters-depth-2" > ()< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > advice-add< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > slack-counts-update< / span > < span class = "org-builtin" > :override< / span > < span class = "org-highlight-quoted-quote" > #'< / span > < span class = "org-highlight-quoted-symbol" > ignore< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > slack-prefer-current-team t< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgab665a0" class = "outline-3" >
< h3 id = "orgab665a0" > < span class = "todo TODO" > TODO< / span > Neomutt connection< / h3 >
< div class = "outline-text-3" id = "text-orgab665a0" >
< p >
< a href = "https://mentat.za.net/blog/2018/10/31/using-org-mode-with-neomutt/" > https://mentat.za.net/blog/2018/10/31/using-org-mode-with-neomutt/< / a >
< / p >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > require< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-constant" > org-protocol< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Call this function, which spawns neomutt, whenever org-mode< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > tries to open a link of the form mutt:message-id+goes_here@mail.gmail.com< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > defun< / span > < span class = "org-function-name" > tdehaeze/mutt-open-message< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > message-id< span class = "org-rainbow-delimiters-depth-2" > )< / span >
< span class = "org-doc" > "In neomutt, open the email with the the given Message-ID"< / span >
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-keyword" > let*< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-rainbow-delimiters-depth-1" > (< / span > message-id < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > replace-regexp-in-string< / span > < span class = "org-string" > "^/*"< / span > < span class = "org-string" > ""< / span > message-id< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > mail-file
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > replace-regexp-in-string< / span >
< span class = "org-string" > "\n$"< / span > < span class = "org-string" > ""< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > shell-command-to-string< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > format< / span > < span class = "org-string" > "mu find -n 1 -f l i:%s"< / span > message-id< span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > mail-dir < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-function-name" > replace-regexp-in-string< / span > < span class = "org-string" > "/< / span > < span class = "org-string" > < span class = "org-regexp-grouping-backslash" > \\< / span > < / span > < span class = "org-string" > < span class = "org-regexp-grouping-construct" > (< / span > < / span > < span class = "org-string" > cur< / span > < span class = "org-string" > < span class = "org-regexp-grouping-backslash" > \\< / span > < / span > < span class = "org-string" > < span class = "org-regexp-grouping-construct" > |< / span > < / span > < span class = "org-string" > new< / span > < span class = "org-string" > < span class = "org-regexp-grouping-backslash" > \\< / span > < / span > < span class = "org-string" > < span class = "org-regexp-grouping-construct" > |< / span > < / span > < span class = "org-string" > tmp< / span > < span class = "org-string" > < span class = "org-regexp-grouping-backslash" > \\< / span > < / span > < span class = "org-string" > < span class = "org-regexp-grouping-construct" > )< / span > < / span > < span class = "org-string" > /$"< / span > < span class = "org-string" > ""< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > file-name-directory< / span > mail-file< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > message-id-escaped < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > regexp-quote< / span > message-id< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > mutt-keystrokes
< span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > format< / span > < span class = "org-string" > "L~i %s\n\n"< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-function-name" > shell-quote-argument< / span > message-id-escaped< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > mutt-command < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > list< / span > < span class = "org-string" > "neomutt"< / span > < span class = "org-string" > "-R"< / span > < span class = "org-string" > "-f"< / span > mail-dir
< span class = "org-string" > "-e"< / span > < span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > format< / span > < span class = "org-string" > "push '%s'"< / span > mutt-keystrokes< span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > message< / span > < span class = "org-string" > "Launching neomutt for message %s"< / span > message-id< span class = "org-rainbow-delimiters-depth-3" > )< / span >
< span class = "org-rainbow-delimiters-depth-3" > (< / span > < span class = "org-constant" > call-process< / span > < span class = "org-string" > "setsid"< / span > nil nil
< span class = "org-string" > "-f"< / span > < span class = "org-string" > "termite"< / span > < span class = "org-string" > "-e"< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-constant" > concat< / span > < span class = "org-string" > "neomutt -R -f "< / span > mail-dir < span class = "org-string" > " -e \""< / span > < span class = "org-rainbow-delimiters-depth-2" > (< / span > < span class = "org-constant" > format< / span > < span class = "org-string" > "push '%s a l'\""< / span > mutt-keystrokes< span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span > < span class = "org-rainbow-delimiters-depth-3" > )< / span > < span class = "org-rainbow-delimiters-depth-2" > )< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > Hook up `message:...` style URLs< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > org-add-link-type< / span > < span class = "org-string" > "message"< / span > < span class = "org-highlight-quoted-quote" > '< / span > < span class = "org-highlight-quoted-symbol" > tdehaeze/mutt-open-message< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgef730c1" class = "outline-3" >
< h3 id = "orgef730c1" > Abbreviations< / h3 >
< div class = "outline-text-3" id = "text-orgef730c1" >
< p >
Type the abbreviation and use < code > C-x a -< / code > to create a new abbreviation.
< / p >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq-default< / span > < span class = "org-variable-name" > abbrev-mode< / span > t< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > save abbreviations upon exiting xemacs< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > save-abbrevs< / span > t< span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > set the file storing the abbreviations< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-keyword" > setq< / span > < span class = "org-variable-name" > abbrev-file-name< / span > < span class = "org-string" > "~/.spacemacs.d/my-abbreviations.el"< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< span class = "org-comment-delimiter" > ;; < / span > < span class = "org-comment" > reads the abbreviations file on startup< / span >
< span class = "org-rainbow-delimiters-depth-1" > (< / span > < span class = "org-function-name" > quietly-read-abbrev-file< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org507ae01" class = "outline-3" >
< h3 id = "org507ae01" > Elfeed< / h3 >
< / div >
< div id = "outline-container-org87ed6a5" class = "outline-3" >
< h3 id = "org87ed6a5" > Telegram< / h3 >
< div class = "outline-text-3" id = "text-org87ed6a5" >
< div class = "org-src-container" >
< pre class = "src src-emacs-lisp" > < span class = "org-rainbow-delimiters-depth-1" > (< / span > telega-notifications-mode < span class = "org-highlight-numbers-number" > 1< / span > < span class = "org-rainbow-delimiters-depth-1" > )< / span >
< / pre >
< / div >
< / div >
< / div >
< / div >
< div id = "outline-container-orgd21e412" class = "outline-2" >
< h2 id = "orgd21e412" > Snippets< / h2 >
< div class = "outline-text-2" id = "text-orgd21e412" >
< / div >
2020-01-11 22:22:46 +01:00
< div id = "outline-container-org5310d2a" class = "outline-3" >
< h3 id = "org5310d2a" > LaTeX< / h3 >
< div class = "outline-text-3" id = "text-org5310d2a" >
2020-01-11 22:04:45 +01:00
< / div >
< div id = "outline-container-orgcb7f0d3" class = "outline-4" >
< h4 id = "orgcb7f0d3" > Coordinate< / h4 >
< div class = "outline-text-4" id = "text-orgcb7f0d3" >
< div class = "org-src-container" >
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > contributor : Thomas Dehaeze < a href = "mailto:dehaeze.thomas%40gmail.com" > < dehaeze.thomas@gmail.com> < / a > < / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > name :coordinate< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > --< / span >
\coordinate[${< span class = "org-highlight-numbers-number" > 1< / span > :-> }] (${< span class = "org-highlight-numbers-number" > 2< / span > :name}) at (${< span class = "org-highlight-numbers-number" > 3< / span > :pointcoordinate});
$0
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org4b859a9" class = "outline-4" >
< h4 id = "org4b859a9" > Draw< / h4 >
< div class = "outline-text-4" id = "text-org4b859a9" >
< div class = "org-src-container" >
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > contributor : Thomas Dehaeze < a href = "mailto:dehaeze.thomas%40gmail.com" > < dehaeze.thomas@gmail.com> < / a > < / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > name :draw< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > --< / span >
\draw[${< span class = "org-highlight-numbers-number" > 1< / span > :-> }] (${< span class = "org-highlight-numbers-number" > 2< / span > :point1}) -- (${< span class = "org-highlight-numbers-number" > 3< / span > :point2});
$0
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org7c0805a" class = "outline-4" >
< h4 id = "org7c0805a" > Node< / h4 >
< div class = "outline-text-4" id = "text-org7c0805a" >
< div class = "org-src-container" >
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > contributor : Thomas Dehaeze < a href = "mailto:dehaeze.thomas%40gmail.com" > < dehaeze.thomas@gmail.com> < / a > < / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > name :node< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > --< / span >
node[${< span class = "org-highlight-numbers-number" > 1< / span > :below right}] (${< span class = "org-highlight-numbers-number" > 2< / span > :name}) {${< span class = "org-highlight-numbers-number" > 3< / span > :label}};
$0
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org766e950" class = "outline-4" >
< h4 id = "org766e950" > Path< / h4 >
< div class = "outline-text-4" id = "text-org766e950" >
< div class = "org-src-container" >
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > contributor : Thomas Dehaeze < a href = "mailto:dehaeze.thomas%40gmail.com" > < dehaeze.thomas@gmail.com> < / a > < / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > name :path< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > --< / span >
\path[${< span class = "org-highlight-numbers-number" > 1< / span > }] (${< span class = "org-highlight-numbers-number" > 2< / span > :point1}) -- (${< span class = "org-highlight-numbers-number" > 3< / span > :point2});
$0
< / pre >
< / div >
< / div >
< / div >
< / div >
2020-01-11 22:22:46 +01:00
< div id = "outline-container-orgfcd210d" class = "outline-3" >
< h3 id = "orgfcd210d" > Matlab< / h3 >
< div class = "outline-text-3" id = "text-orgfcd210d" >
2020-01-11 22:04:45 +01:00
< / div >
< div id = "outline-container-orgbda2ff6" class = "outline-4" >
< h4 id = "orgbda2ff6" > Clear< / h4 >
< div class = "outline-text-4" id = "text-orgbda2ff6" >
< div class = "org-src-container" >
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > contributor : Thomas Dehaeze < a href = "mailto:dehaeze.thomas%40gmail.com" > < dehaeze.thomas@gmail.com> < / a > < / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > name :clear and close all< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > --< / span >
clear; close all; clc;
$0
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org5885f15" class = "outline-4" >
< h4 id = "org5885f15" > Function< / h4 >
< div class = "outline-text-4" id = "text-org5885f15" >
< div class = "org-src-container" >
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > contributor : Thomas Dehaeze < a href = "mailto:dehaeze.thomas%40gmail.com" > < dehaeze.thomas@gmail.com> < / a > < / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > name :function< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > --< / span >
< span class = "org-variable-name" > function < / span > [${< span class = "org-highlight-numbers-number" > 4< / span > :outputs}] = ${< span class = "org-highlight-numbers-number" > 1< / span > :functionName}(${< span class = "org-highlight-numbers-number" > 2< / span > :inputs}, ${< span class = "org-highlight-numbers-number" > 3< / span > :opts_param})
% $1 - Description
%
% Syntax: $1($2, $3)
%
% Inputs:
% - $2 -
% - $3 - Optionals parameters: structure with the following fields:
% -
%
% Outputs:
% - $4 -
%% Default value for opts
< span class = "org-variable-name" > opts< / span > = struct(...
< span class = "org-string" > '${5:outputs}'< / span > , ${< span class = "org-highlight-numbers-number" > 6< / span > :default_value} ...
);
if exist(< span class = "org-string" > 'opts_param'< / span > ,< span class = "org-string" > 'var'< / span > )
< span class = "org-variable-name" > for opt< / span > = fieldnames($3)< span class = "org-string" > '< / span >
< span class = "org-string" > if sum(strcmp(fieldnames(opts), opt{1})) == 1< / span >
< span class = "org-string" > opts.(opt{1}) = $3.(opt{1});< / span >
< span class = "org-string" > else< / span >
< span class = "org-string" > warning(sprintf('< / span > %s is not a valid option.< span class = "org-string" > ', opt{1}));< / span >
< span class = "org-string" > end< / span >
< span class = "org-string" > end< / span >
< span class = "org-string" > end< / span >
< span class = "org-string" > $0< / span >
< / pre >
< / div >
< / div >
< / div >
< / div >
< div id = "outline-container-org4572f67" class = "outline-3" >
< h3 id = "org4572f67" > Org Mode< / h3 >
< div class = "outline-text-3" id = "text-org4572f67" >
< / div >
< div id = "outline-container-org3d32e8f" class = "outline-4" >
< h4 id = "org3d32e8f" > Begin< / h4 >
< div class = "outline-text-4" id = "text-org3d32e8f" >
< div class = "org-src-container" >
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > contributor : Thomas Dehaeze < a href = "mailto:dehaeze.thomas%40gmail.com" > < dehaeze.thomas@gmail.com> < / a > < / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > name :LaTeX Environment< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > --< / span >
\begin{${< span class = "org-highlight-numbers-number" > 1< / span > :equation}}
$0
\end{$1}
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org0e30758" class = "outline-4" >
< h4 id = "org0e30758" > Block< / h4 >
< div class = "outline-text-4" id = "text-org0e30758" >
< div class = "org-src-container" >
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > contributor : Thomas Dehaeze < a href = "mailto:dehaeze.thomas%40gmail.com" > < dehaeze.thomas@gmail.com> < / a > < / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > name :Org-Mode Block< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > key: block< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > --< / span >
< span class = "org-comment-delimiter" > < span class = "org-type" > #< / span > < / span > < span class = "org-comment" > < span class = "org-type" > +begin_$< / span > < / span > < span class = "org-comment" > {1:$$(let ((type (yas-choose-value '("src" "example" "quote" "verse" "center" "latex" "html" "ascii"))))< / span >
(if type (concat type (if (equal type < span class = "org-string" > "src"< / span > )
(concat < span class = "org-string" > " "< / span > (yas-choose-value < span class = "org-string" > '("emacs-lisp" "latex" "python" "sh" "matlab")))))))}< / span >
< span class = "org-string" > $0< / span >
< span class = "org-string" > #+end_${1:$(car (split-string yas-text))}< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org3fc82d3" class = "outline-4" >
< h4 id = "org3fc82d3" > Custom Box< / h4 >
< div class = "outline-text-4" id = "text-org3fc82d3" >
< div class = "org-src-container" >
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > contributor : Thomas Dehaeze < a href = "mailto:dehaeze.thomas%40gmail.com" > < dehaeze.thomas@gmail.com> < / a > < / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > name :Custom Box< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > --< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +attr_latex: :options [$1]{${2:blue}}{${3:ams nodisplayskip}}< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +begin_cbox< / span >
$0
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +end_cbox< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org618fd27" class = "outline-4" >
< h4 id = "org618fd27" > Latex Class< / h4 >
< div class = "outline-text-4" id = "text-org618fd27" >
< div class = "org-src-container" >
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > name: latex-class< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > key: lc< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > expand-env: ((classes (mapcar 'car org-latex-classes)))< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > --< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +latex_class: ${1:$$(yas-choose-value classes)}< / span >
$0
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgb6cd02a" class = "outline-4" >
< h4 id = "orgb6cd02a" > Name Caption Figure< / h4 >
< div class = "outline-text-4" id = "text-orgb6cd02a" >
< div class = "org-src-container" >
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > name: name-caption-figure< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > key: ncf< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > --< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +name: fig:${1:name}< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +caption: ${2:Caption}< / span >
[[${< span class = "org-highlight-numbers-number" > 3< / span > :`(read-file-name < span class = "org-string" > "File: "< / span > )`}]]
$0
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orga42e8c4" class = "outline-4" >
< h4 id = "orga42e8c4" > Bibliography with completion< / h4 >
< div class = "outline-text-4" id = "text-orga42e8c4" >
< div class = "org-src-container" >
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > name: bibliography with completion< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > key: bib< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > --< / span >
bibliography:${< span class = "org-highlight-numbers-number" > 1< / span > :$$(yas-choose-value (org-ref-find-bibliography))}
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orga731ed1" class = "outline-4" >
< h4 id = "orga731ed1" > Cite< / h4 >
< div class = "outline-text-4" id = "text-orga731ed1" >
< div class = "org-src-container" >
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > name: org-ref cite link< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > key: cite< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > --< / span >
cite:${< span class = "org-highlight-numbers-number" > 1< / span > :$$(completing-read
< span class = "org-string" > "bibtex key: "< / span >
(let ((bibtex-files (org-ref-find-bibliography)))(bibtex-global-key-alist)))}
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orga4816e1" class = "outline-4" >
< h4 id = "orga4816e1" > Ref< / h4 >
< div class = "outline-text-4" id = "text-orga4816e1" >
< div class = "org-src-container" >
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > name: org-ref ref link with completion< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > key: ref< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > --< / span >
ref:${< span class = "org-highlight-numbers-number" > 1< / span > :$$(completing-read < span class = "org-string" > "label: "< / span > (org-ref-get-labels))}
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org1a784a4" class = "outline-4" >
< h4 id = "org1a784a4" > Beamer - CBOX< / h4 >
< div class = "outline-text-4" id = "text-org1a784a4" >
< div class = "org-src-container" >
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > contributor : Thomas Dehaeze < a href = "mailto:dehaeze.thomas%40gmail.com" > < dehaeze.thomas@gmail.com> < / a > < / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > name :Beamer Custom Box< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > --< / span >
*** ${< span class = "org-highlight-numbers-number" > 1< / span > :@@latex:@@} :B_cbox:
,:PROPERTIES:
:BEAMER_env: cbox
:BEAMER_opt: {${< span class = "org-highlight-numbers-number" > 2< / span > :blue}}{${< span class = "org-highlight-numbers-number" > 3< / span > :ams nodisplayskip}}
:END:
$0
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orge84d02d" class = "outline-4" >
< h4 id = "orge84d02d" > Code< / h4 >
< div class = "outline-text-4" id = "text-orge84d02d" >
< div class = "org-src-container" >
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > contributor : Thomas Dehaeze < a href = "mailto:dehaeze.thomas%40gmail.com" > < dehaeze.thomas@gmail.com> < / a > < / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > name :Code< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > --< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +caption: ${1:Listing Caption}< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +label: lst:${2:listing_name}< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +begin_src ${3:listing_language}< / span >
$0
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +end_src< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgab97710" class = "outline-4" >
< h4 id = "orgab97710" > Equation< / h4 >
< div class = "outline-text-4" id = "text-orgab97710" >
< div class = "org-src-container" >
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > contributor : Thomas Dehaeze < a href = "mailto:dehaeze.thomas%40gmail.com" > < dehaeze.thomas@gmail.com> < / a > < / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > name :Equation< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > --< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +name: eq:${1:equation_name}< / span >
\begin{equation}
$0
\end{equation}
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org941fb78" class = "outline-4" >
< h4 id = "org941fb78" > Figure< / h4 >
< div class = "outline-text-4" id = "text-org941fb78" >
< div class = "org-src-container" >
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > contributor : Thomas Dehaeze < a href = "mailto:dehaeze.thomas%40gmail.com" > < dehaeze.thomas@gmail.com> < / a > < / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > name :Figure< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > --< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +name: fig:${1:figure_name}< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +caption: ${2:Figure caption}< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +attr_latex: :${3:scale 1}< / span >
[[file:${< span class = "org-highlight-numbers-number" > 4< / span > :figs/}$1.${< span class = "org-highlight-numbers-number" > 5< / span > :pdf}]]
$0
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgf391122" class = "outline-4" >
< h4 id = "orgf391122" > Frac< / h4 >
< div class = "outline-text-4" id = "text-orgf391122" >
< div class = "org-src-container" >
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > contributor : Thomas Dehaeze < a href = "mailto:dehaeze.thomas%40gmail.com" > < dehaeze.thomas@gmail.com> < / a > < / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > name :LaTeX Fraction< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > --< / span >
\frac{$1}{$2} $0
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org3fa13c1" class = "outline-4" >
< h4 id = "org3fa13c1" > Left< / h4 >
< div class = "outline-text-4" id = "text-org3fa13c1" >
< div class = "org-src-container" >
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > contributor : Thomas Dehaeze < a href = "mailto:dehaeze.thomas%40gmail.com" > < dehaeze.thomas@gmail.com> < / a > < / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > name :Left Right mathematical delimitations< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > --< / span >
\left$1 $0 \right$2
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org9882fc9" class = "outline-4" >
< h4 id = "org9882fc9" > Mconfig< / h4 >
< div class = "outline-text-4" id = "text-org9882fc9" >
< div class = "org-src-container" >
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > contributor : Thomas Dehaeze < a href = "mailto:dehaeze.thomas%40gmail.com" > < dehaeze.thomas@gmail.com> < / a > < / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > name :Matlab-Configuration-Header< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > --< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +PROPERTY: header-args:matlab :session *MATLAB*< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +PROPERTY: header-args:matlab+ :tangle ${1:filename}.m< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +PROPERTY: header-args:matlab+ :comments org< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +PROPERTY: header-args:matlab+ :exports both< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +PROPERTY: header-args:matlab+ :results none< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +PROPERTY: header-args:matlab+ :eval no-export< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +PROPERTY: header-args:matlab+ :noweb yes< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +PROPERTY: header-args:matlab+ :mkdirp yes< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +PROPERTY: header-args:matlab+ :output-dir ${2:figs}< / span >
$0
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org4ffc14d" class = "outline-4" >
< h4 id = "org4ffc14d" > Mdescription< / h4 >
< div class = "outline-text-4" id = "text-org4ffc14d" >
< div class = "org-src-container" >
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > contributor : Thomas Dehaeze < a href = "mailto:dehaeze.thomas%40gmail.com" > < dehaeze.thomas@gmail.com> < / a > < / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > name :Measurement-Description< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > --< / span >
* Measurement description
** Setup :ignore:
*Setup*:
** Goal :ignore:
*Goal*:
** Measurements :ignore:
*Measurements*:
Three measurements are done:
| Measurement File | Description |
|-------------------------+------------------------------|
< span class = "org-variable-name" > |< / span > =mat/data_${< span class = "org-highlight-numbers-number" > 1< / span > :< span class = "org-highlight-numbers-number" > 001< / span > }.mat= | $2 |
< span class = "org-variable-name" > Each of the measurement< / span > =mat= file contains one =data= array with < span class = "org-highlight-numbers-number" > 3< / span > columns:
| Column number | Description |
|---------------+-------------------|
| < span class = "org-highlight-numbers-number" > 1< / span > | $3 |
| < span class = "org-highlight-numbers-number" > 2< / span > | $4 |
| < span class = "org-highlight-numbers-number" > 3< / span > | Time |
$0
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org76b9035" class = "outline-4" >
< h4 id = "org76b9035" > Mfigure< / h4 >
< div class = "outline-text-4" id = "text-org76b9035" >
< div class = "org-src-container" >
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > contributor : Thomas Dehaeze < a href = "mailto:dehaeze.thomas%40gmail.com" > < dehaeze.thomas@gmail.com> < / a > < / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > name :Matlab-Figure< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > --< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +HEADER: :tangle no :exports results :results none :noweb yes< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +begin_src matlab :var filepath="${2:figs}/$1.pdf" :var figsize="${3:full-tall}" :post pdf2svg(file=*this*, ext="png")< / span >
< < plt-matlab> > $0
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +end_src< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +NAME: fig:$1< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +CAPTION: ${4:caption}${5: ([[./figs/$1.png][png]], [[./figs/$1.pdf][pdf]])}< / span >
[< span class = "org-type" > [file:$2/$1.png]< / span > ]
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orga3ec641" class = "outline-4" >
< h4 id = "orga3ec641" > Mfunction< / h4 >
< div class = "outline-text-4" id = "text-orga3ec641" >
< div class = "org-src-container" >
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > contributor : Thomas Dehaeze < a href = "mailto:dehaeze.thomas%40gmail.com" > < dehaeze.thomas@gmail.com> < / a > < / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > name :Matlab-Function< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > --< / span >
* ${< span class = "org-highlight-numbers-number" > 1< / span > :Function Name}
:PROPERTIES:
:header-args:matlab+: :tangle src/${< span class = "org-highlight-numbers-number" > 2< / span > :matlab_file_name}.m
:header-args:matlab+: :comments none :mkdirp yes :eval no
:END:
< < sec:$2> >
This Matlab function is accessible [[file:src/$2.m][here]].
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +begin_src matlab< / span >
< span class = "org-variable-name" > function < / span > [${< span class = "org-highlight-numbers-number" > 4< / span > :in_data}] = $2(${< span class = "org-highlight-numbers-number" > 3< / span > :in_data})
% $2 - $0
%
< span class = "org-variable-name" > % Syntax: < / span > [< span class = "org-constant" > $4< / span > ] = $2($3)
%
% Inputs:
% - $3 -
%
% Outputs:
% - $4 -
end
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +end_src< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org3f8b9dd" class = "outline-4" >
< h4 id = "org3f8b9dd" > Mheader< / h4 >
< div class = "outline-text-4" id = "text-org3f8b9dd" >
< div class = "org-src-container" >
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > contributor : Thomas Dehaeze < a href = "mailto:dehaeze.thomas%40gmail.com" > < dehaeze.thomas@gmail.com> < / a > < / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > name :Matlab-Header< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > --< / span >
* ${< span class = "org-highlight-numbers-number" > 1< / span > :Heading Name}
:PROPERTIES:
:header-args:matlab+: :tangle matlab/${< span class = "org-highlight-numbers-number" > 2< / span > :matlab_file_name}.m
:header-args:matlab+: :comments org :mkdirp yes
:END:
< < sec:$2> >
** ZIP file containing the data and matlab files :ignore:
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +begin_src bash :exports none :results none< / span >
if [ matlab/$2.m -nt data/$2.zip ]; then
cp matlab/$2.m $2.m;
zip data/$2 \
mat/data.mat \
$2.m
rm $2.m;
fi
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +end_src< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +begin_note< / span >
All the files (data and Matlab scripts) are accessible [[file:data/$2.zip][here]].
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +end_note< / span >
$0
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orge6c8449" class = "outline-4" >
< h4 id = "orge6c8449" > Minipage< / h4 >
< div class = "outline-text-4" id = "text-orge6c8449" >
< div class = "org-src-container" >
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > contributor : Thomas Dehaeze < a href = "mailto:dehaeze.thomas%40gmail.com" > < dehaeze.thomas@gmail.com> < / a > < / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > name :minipage< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > --< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +BEGIN_EXPORT latex< / span >
\begin{figure}[htbp]
\centering
\begin{minipage}[t]{< span class = "org-highlight-numbers-number" > 0.49< / span > \linewidth}
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +END_EXPORT< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +attr_latex: :float nil :width 0.95\linewidth< / span >
$0
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +BEGIN_EXPORT latex< / span >
\end{minipage}%
\hfill%
\begin{minipage}[t]{< span class = "org-highlight-numbers-number" > 0.49< / span > \linewidth}
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +END_EXPORT< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +attr_latex: :float nil :width 0.95\linewidth< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +BEGIN_EXPORT latex< / span >
\end{minipage}
\end{figure}
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +END_EXPORT< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgb1c921d" class = "outline-4" >
< h4 id = "orgb1c921d" > Minit< / h4 >
< div class = "outline-text-4" id = "text-orgb1c921d" >
< div class = "org-src-container" >
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > contributor : Thomas Dehaeze < a href = "mailto:dehaeze.thomas%40gmail.com" > < dehaeze.thomas@gmail.com> < / a > < / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > name :Matlab-Init< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > --< / span >
** Matlab Init :noexport:ignore:
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +begin_src matlab :tangle no :exports none :results silent :noweb yes :var current_dir=(file-name-directory buffer-file-name)< / span >
< < matlab-dir> >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +end_src< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +begin_src matlab :exports none :results silent :noweb yes< / span >
< < matlab-init> >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +end_src< / span >
$0
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org4a3f77e" class = "outline-4" >
< h4 id = "org4a3f77e" > Mtable< / h4 >
< div class = "outline-text-4" id = "text-org4a3f77e" >
< div class = "org-src-container" >
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > contributor : Thomas Dehaeze < a href = "mailto:dehaeze.thomas%40gmail.com" > < dehaeze.thomas@gmail.com> < / a > < / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > name :Matlab-Table< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > --< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +begin_src matlab :exports results :results value table replace :tangle no :post addhdr(*this*)< / span >
data2orgtable(${< span class = "org-highlight-numbers-number" > 1< / span > :data}, {${< span class = "org-highlight-numbers-number" > 2< / span > :< span class = "org-string" > 'rowlabel'< / span > }}, {${< span class = "org-highlight-numbers-number" > 3< / span > :< span class = "org-string" > 'collabel'< / span > }}, < span class = "org-string" > ' %.1f '< / span > );
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +end_src< / span >
$0
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgc10b140" class = "outline-4" >
< h4 id = "orgc10b140" > Multicolumn< / h4 >
< div class = "outline-text-4" id = "text-orgc10b140" >
< div class = "org-src-container" >
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > contributor : Thomas Dehaeze < a href = "mailto:dehaeze.thomas%40gmail.com" > < dehaeze.thomas@gmail.com> < / a > < / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > name :Multcolumn< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > --< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +attr_latex: :float multicolumn< / span >
$0
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org9ba25d9" class = "outline-4" >
< h4 id = "org9ba25d9" > Subfigure< / h4 >
< div class = "outline-text-4" id = "text-org9ba25d9" >
< div class = "org-src-container" >
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > contributor : Thomas Dehaeze < a href = "mailto:dehaeze.thomas%40gmail.com" > < dehaeze.thomas@gmail.com> < / a > < / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > name :Subfigure< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > --< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +name: fig:${1:figure_name}< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +caption: ${2:figure caption}< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +attr_latex: :environment subfigure :width 0.49\linewidth :align c< / span >
| file:${< span class = "org-highlight-numbers-number" > 3< / span > :sub_fig_name}.${< span class = "org-highlight-numbers-number" > 4< / span > :pdf} | file:${< span class = "org-highlight-numbers-number" > 5< / span > :sub_fig_name}.${< span class = "org-highlight-numbers-number" > 6< / span > :pdf} |
| < < fig:$3> > ${< span class = "org-highlight-numbers-number" > 7< / span > :sub figure caption} | < < fig:$5> > ${< span class = "org-highlight-numbers-number" > 8< / span > :sub figure caption} |
$0
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org4eb43cc" class = "outline-4" >
< h4 id = "org4eb43cc" > Table< / h4 >
< div class = "outline-text-4" id = "text-org4eb43cc" >
< div class = "org-src-container" >
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > contributor : Thomas Dehaeze < a href = "mailto:dehaeze.thomas%40gmail.com" > < dehaeze.thomas@gmail.com> < / a > < / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > name :Table< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > --< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +name: tab:${1:table_name}< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +caption: ${2:Table caption}< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +attr_latex: :environment tabularx :width ${3:\linewidth} :align ${4:lXX}< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +attr_latex: :center t :booktabs t :float t< / span >
| $0 | | |
|---+---+---|
| | | |
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orge745847" class = "outline-4" >
< h4 id = "orge745847" > Tikz< / h4 >
< div class = "outline-text-4" id = "text-orge745847" >
< div class = "org-src-container" >
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > contributor : Thomas Dehaeze < a href = "mailto:dehaeze.thomas%40gmail.com" > < dehaeze.thomas@gmail.com> < / a > < / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > name :Tikz figure< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > --< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +begin_src latex :file ${1:figure_name}.pdf :post pdf2svg(file=*this*, ext="png") :exports both< / span >
\begin{tikzpicture}
$0
\end{tikzpicture}
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +end_src< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org377ed05" class = "outline-4" >
< h4 id = "org377ed05" > Tikzfig< / h4 >
< div class = "outline-text-4" id = "text-org377ed05" >
< div class = "org-src-container" >
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > contributor : Thomas Dehaeze < a href = "mailto:dehaeze.thomas%40gmail.com" > < dehaeze.thomas@gmail.com> < / a > < / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > name :Tikz Figure< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > --< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +NAME: fig:${1:figure_name}< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +HEADER: :headers '("\\\\usepackage{tikz}" "\\\\usepackage{import}" "\\\\import{$HOME/Cloud/thesis/LaTeX/}{config.tex}")< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +HEADER: :imagemagick t :fit yes :iminoptions -scale 100% -density 150 :imoutoptions -quality 100< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +HEADER: :results raw replace :buffer no :eval no-export :exports both :mkdirp yes< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +HEADER: :output-dir ${2:figs}< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +begin_src latex :file $1.pdf :post pdf2svg(file=*this*, ext="png") :exports both< / span >
\begin{tikzpicture}
$0
\end{tikzpicture}
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +end_src< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +NAME: fig:$1< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +CAPTION: ${3:Caption}< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +RESULTS: fig:$1< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgeab24ac" class = "outline-4" >
< h4 id = "orgeab24ac" > Tikzheader< / h4 >
< div class = "outline-text-4" id = "text-orgeab24ac" >
< div class = "org-src-container" >
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > contributor : Thomas Dehaeze < a href = "mailto:dehaeze.thomas%40gmail.com" > < dehaeze.thomas@gmail.com> < / a > < / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > name :Tikz Header< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > --< / span >
* ${< span class = "org-highlight-numbers-number" > 1< / span > :Title/Description of the figure}
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +begin_src latex :file ${2:figure_name}.pdf :tangle figs/$2.tex :exports ${3:both}< / span >
\begin{tikzpicture}
$0
\end{tikzpicture}
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +end_src< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +name: fig:$2< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +caption: $1 ([[./figs/$2.png][png]], [[./figs/$2.pdf][pdf]], [[./figs/$2.tex][tex]]).< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +RESULTS:< / span >
[< span class = "org-type" > [file:./figs/$2.png]< / span > ]
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-org1d4616f" class = "outline-4" >
< h4 id = "org1d4616f" > User-config< / h4 >
< div class = "outline-text-4" id = "text-org1d4616f" >
< div class = "org-src-container" >
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > -*- mode: snippet -*-< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > name: user-config< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > key: uc< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > --< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +begin_src emacs-lisp :tangle user-config.el< / span >
$1
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +end_src< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgd78aed7" class = "outline-4" >
< h4 id = "orgd78aed7" > User-init< / h4 >
< div class = "outline-text-4" id = "text-orgd78aed7" >
< div class = "org-src-container" >
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > -*- mode: snippet -*-< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > name: user-init< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > key: ui< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > --< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +begin_src emacs-lisp :tangle user-init.el< / span >
$1
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +end_src< / span >
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgeb0488e" class = "outline-4" >
< h4 id = "orgeb0488e" > Wrap< / h4 >
< div class = "outline-text-4" id = "text-orgeb0488e" >
< div class = "org-src-container" >
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > contributor : Thomas Dehaeze < a href = "mailto:dehaeze.thomas%40gmail.com" > < dehaeze.thomas@gmail.com> < / a > < / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > name :Wrap< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > --< / span >
< span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > +attr_latex: :float wrap< / span >
$0
< / pre >
< / div >
< / div >
< / div >
< div id = "outline-container-orgc8c111a" class = "outline-4" >
< h4 id = "orgc8c111a" > Latex< / h4 >
< div class = "outline-text-4" id = "text-orgc8c111a" >
< / div >
< div id = "outline-container-org4d9b01d" class = "outline-5" >
< h5 id = "org4d9b01d" > Integral< / h5 >
< div class = "outline-text-5" id = "text-org4d9b01d" >
< div class = "org-src-container" >
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > -*- mode: snippet -*-< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > name: latex integral< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > key: int< / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > contributor: John Kitchin < a href = "mailto:jkitchin%40andrew.cmu.edu" > < jkitchin@andrew.cmu.edu> < / a > < / span >
< span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > --< / span >
\int_{$1}^{$2} $3d$4$0
< / pre >
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< div id = "postamble" class = "status" >
< p class = "author" > Author: Dehaeze Thomas< / p >
2020-01-11 22:22:46 +01:00
< p class = "date" > Created: 2020-01-11 sam. 22:20< / p >
2020-01-11 22:04:45 +01:00
< / div >
< / body >
< / html >