diff --git a/phd-thesis.org b/phd-thesis.org index 5ada1af..68fa9f4 100644 --- a/phd-thesis.org +++ b/phd-thesis.org @@ -68,13 +68,10 @@ ;; Do not include the subtitle inside the title (setq org-latex-subtitle-separate t) (setq org-latex-subtitle-format "\\subtitle{%s}") -#+END_SRC -#+begin_src emacs-lisp -(let ((org-export-before-parsing-hook '(org-ref-glossary-before-parsing - org-ref-acronyms-before-parsing))) - (org-latex-export-to-latex)) -#+end_src +(setq org-export-before-parsing-hook '(org-ref-glossary-before-parsing + org-ref-acronyms-before-parsing)) +#+END_SRC * Glossary and Acronyms - Tables :ignore: @@ -155,10 +152,15 @@ * Test \minitoc ** Test +A list: - acronyms acrshort:nass acrshort:mimo acrshort:lti [[acrfull:siso][Single-Input Single-Output (SISO)]] - glossary terms gls:ka, gls:phi. - Bibliography citations: [[cite:&dehaeze21_activ_dampin_rotat_platf_using;&dehaeze21_mechat_approac_devel_nano_activ_stabil_system]]. +A definition list: +- this :: means that +- that :: means this + Some Footnote[fn:1] ** blabla @@ -170,6 +172,7 @@ Some Footnote[fn:1] **** lksdfjasd ** blabla * Source Blocks +\minitoc ** Matlab Init :noexport:ignore: #+begin_src matlab :tangle no :exports none :results silent :noweb yes :var current_dir=(file-name-directory buffer-file-name) <> @@ -327,6 +330,7 @@ Numbering can be continued by using =+n= option as shown below. #+end_src * Images +\minitoc ** Normal Image Figure [[fig:general_control_names]] shows the results of the Tikz code of listing [[lst:tikz_test]]. @@ -371,6 +375,7 @@ Link to subfigure [[fig:general_control_names_1]]. | <> sub figure caption | <> sub figure caption | * Tables +\minitoc Table [[tab:table_with_equations]] shows a table with some mathematics inside. @@ -419,19 +424,36 @@ Table [[tab:table_with_equations]] shows a table with some mathematics inside. | | Only SISO | Difficult Rejection of Perturbations | Need a reasonably good model of the system | -* Bibliography :ignore: -#+latex: \printbibliography[heading=bibintoc,title={Bibliography}] - - -* Glossary :ignore: -#+latex: \printglossary[type=\acronymtype] -#+latex: \printglossary - * Appendix :ignore: #+latex: \appendix * Mathematical formulas * Comments on something +* Bibliography :ignore: +#+latex: \printbibliography[heading=bibintoc,title={Bibliography}] + +* List of Publications +:PROPERTIES: +:UNNUMBERED: notoc +:END: + +#+begin_export latex +\begin{refsection}[ref.bib] + % List all papers even if not cited + \nocite{*} + % Sort by year + \newrefcontext[sorting=ynt] + % Articles + \printbibliography[keyword={publication},heading={subbibliography},title={Articles},env=mypubs,type={article}] + % Proceedings + \printbibliography[keyword={publication},heading={subbibliography},title={In Proceedings},env=mypubs,type={inproceedings}] +\end{refsection} +#+end_export + +* Glossary :ignore: +#+latex: \printglossary[type=\acronymtype] +#+latex: \printglossary + * Footnotes [fn:1]this is a footnote with citation [[cite:&dehaeze21_mechat_approac_devel_nano_activ_stabil_system]]. diff --git a/readme.org b/readme.org index 25341c1..80bb8fc 100644 --- a/readme.org +++ b/readme.org @@ -10,7 +10,10 @@ - [ ] tables - [ ] Full horizontal table - [ ] example file with everything -- [ ] Appendix +- [X] Appendix +- [ ] Understand why =usepackage{biblatex}= is automatically aded +- [X] list of publications +- [ ] abstract for each chapter * Installation ** Fonts diff --git a/ref.bib b/ref.bib index 4c85671..7aab9b7 100644 --- a/ref.bib +++ b/ref.bib @@ -7,17 +7,19 @@ publisher = {JACoW Publishing}, series = {Mechanical Engineering Design of Synchrotron Radiation Equipment and Instrumentation}, venue = {Chicago, USA}, + keywords = {publication}, } @inproceedings{brumund21_multib_simul_reduc_order_flexib_bodies_fea, author = {Philipp Brumund and Thomas Dehaeze}, title = {Multibody Simulations with Reduced Order Flexible Bodies obtained by FEA}, booktitle = {MEDSI'20}, - year = {2021}, + year = {2020}, language = {english}, publisher = {JACoW Publishing}, series = {Mechanical Engineering Design of Synchrotron Radiation Equipment and Instrumentation}, venue = {Chicago, USA}, + keywords = {publication}, } @article{dehaeze21_activ_dampin_rotat_platf_using, @@ -27,7 +29,8 @@ year = {2021}, doi = {10.1088/2631-8695/abe803}, url = {https://doi.org/10.1088/2631-8695/abe803}, - month = {Feb}, + month = {2}, + keywords = {publication}, } @book{taghirad13_paral, @@ -37,5 +40,4 @@ publisher = {CRC Press}, address = {Boca Raton, FL}, isbn = {9781466555778}, - keywords = {favorite, parallel robot}, } diff --git a/setup.org b/setup.org index 0e3f31d..1164d36 100644 --- a/setup.org +++ b/setup.org @@ -183,6 +183,7 @@ This lets us change the "tree-navigation" associated with the generated pdf and * Bibliography #+begin_src latex +\usepackage{xpatch} % Recommanded for biblatex \usepackage[ % use biblatex for bibliography backend=biber, % use biber backend (bibtex replacement) or bibtex style=ieee, % bib style @@ -202,7 +203,15 @@ This lets us change the "tree-navigation" associated with the generated pdf and #+end_src #+begin_src latex -\addbibresource{ref.bib} +\defbibenvironment{mypubs} + {\list + {} + {\setlength{\leftmargin}{\bibhang}% + \setlength{\itemindent}{-\leftmargin}% + \setlength{\itemsep}{\bibitemsep}% + \setlength{\parsep}{\bibparsep}}} + {\endlist} + {\item} #+end_src Remove ISSN, DOI and URL to shorten the bibliography. @@ -233,7 +242,7 @@ Also reduce the font-size Note that this is marked as deprecated for koma-script. #+begin_src latex \usepackage{minitoc} -\usepackage[nottoc]{tocbibind} +% \usepackage[nottoc]{tocbibind} #+end_src * Fonts @@ -299,7 +308,6 @@ Note that org-ref links won't work here because the attr latex will be pasted as * Parskip Fine tuning of spacing between paragraphs. See [[https://tex.stackexchange.com/questions/161254/smaller-parskip-than-half-for-koma-script][thread here]]. - #+begin_src latex \setparsizes{0em}{0.1\baselineskip plus .1\baselineskip}{1em plus 1fil} #+end_src @@ -339,7 +347,6 @@ This package fixes some incompatibility errors between KOMAScript and other pack * Background cover page Add the cover image as background to the first page. Only do so when outputting a final version, because it significantly slows down the compilation times. - #+begin_src latex :tangle no \usepackage[pages=some]{background} \backgroundsetup{