From b42a191c6cb33e8bebb067924a6428c558d27785 Mon Sep 17 00:00:00 2001 From: Marcus Kammer Date: Mon, 2 Dec 2024 12:03:07 +0100 Subject: [PATCH 1/4] Show blank header in exported pdf --- texmf/tex/latex/mycustomstyles/komageneral.sty | 2 -- 1 file changed, 2 deletions(-) diff --git a/texmf/tex/latex/mycustomstyles/komageneral.sty b/texmf/tex/latex/mycustomstyles/komageneral.sty index 88009ae4..34d81313 100644 --- a/texmf/tex/latex/mycustomstyles/komageneral.sty +++ b/texmf/tex/latex/mycustomstyles/komageneral.sty @@ -46,9 +46,7 @@ % Header and footer settings with scrlayer-scrpage instead of fancyhdr \pagestyle{scrheadings} \clearpairofpagestyles -\automark[section]{section} \ohead{\pagemark} -\ihead{\leftmark} \setkomafont{pageheadfoot}{\normalfont} \setkomafont{pagehead}{\normalfont} From 9fbff81c72a930dbc5c89afdeea7b2f2a05641f8 Mon Sep 17 00:00:00 2001 From: Marcus Kammer Date: Mon, 2 Dec 2024 12:03:34 +0100 Subject: [PATCH 2/4] Update plantuml settings --- init.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index 4ee9b58a..df4fcb1f 100755 --- a/init.el +++ b/init.el @@ -718,8 +718,8 @@ :custom (plantuml-default-exec-mode 'jar) (plantuml-jar-path "~/plantuml.jar") - (org-plantuml-jar-path "~/plantuml.jar") - (plantuml-java-args '("-DPLANTUML_DPI=300" "-Djava.awt.headless=true" "-jar" "--illegal-access=deny"))) + (plantuml-jar-args `("-charset" "UTF-8" "-config" ,(expand-file-name "~/.emacs.d/plantuml/plantuml.config"))) + (plantuml-java-args (list "-Dplantuml.include.path=\"~/.emacs.d/plantuml/\"" "-Djava.awt.headless=true" "-jar" "--illegal-access=deny"))) (use-package tex-mode :defer t @@ -1691,6 +1691,9 @@ Uses `mk/hyperspec-dir-locations' to find the directory." ;; Customize the appearance of listings (source code blocks) (org-latex-listings-options nil) (org-latex-inputenc-alist '((\"utf8\" . \"utf8x\"))) + (org-plantuml-exec-mode 'jar) + (org-plantuml-jar-path "~/plantuml.jar") + (org-plantuml-args `("-headless" "-charset" "UTF-8" "-config" ,(expand-file-name "~/.emacs.d/plantuml/plantuml.config"))) :config (add-to-list 'org-file-apps '("\\.pdf\\'" . emacs)) (if (eq system-type 'windows-nt) From 85f960541f264c18111d66ea1f079eccf0f26538 Mon Sep 17 00:00:00 2001 From: Marcus Kammer Date: Mon, 2 Dec 2024 12:03:49 +0100 Subject: [PATCH 3/4] Remove unused org-roam capture templates --- init.el | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/init.el b/init.el index df4fcb1f..384bd156 100755 --- a/init.el +++ b/init.el @@ -1799,26 +1799,6 @@ Uses `mk/hyperspec-dir-locations' to find the directory." '(("d" "default" plain "%?" :if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n") - :unnarrowed t) - ("r" "Research" plain - "* Hypothesis:\n%?\n* Methodology:\n* Results:\n* Conclusions:\n" - :if-new (file+head "research/%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n") - :unnarrowed t) - ("m" "Meeting" plain - "* Participants:\n%?\n* Discussion topics:\n* Action points:\n" - :if-new (file+head "meetings/%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n") - :unnarrowed t) - ("p" "Project" plain - "* Goals:\n%?\n* Milestones:\n* Resources:\n" - :if-new (file+head "projects/%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n") - :unnarrowed t) - ("l" "Literature" plain - "* Authors:\n%?\n* Main theses:\n* Own thoughts:\n" - :if-new (file+head "literature/%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n") - :unnarrowed t) - ("u" "user story" plain - "%?" - :if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n#+filetags: :user-story:\n#+created: %U\n#+last_modified: %U\n\n* Story Overview\n\n* Acceptance Criteria\n** Given [context]\n- When [action]\n- Then [expected outcome]\n\n** Given [context]\n- When [action]\n- Then [expected outcome]\n\n* Implementation Details\n** Technical Notes\n- [ ]\n\n** UI/UX Considerations\n- [ ]\n\n* Validation\n** Test Scenarios\n- [ ]\n\n** Definition of Done\n- [ ] Meets all acceptance criteria\n- [ ] Code reviewed\n- [ ] Tests written and passing\n- [ ] Documentation updated\n- [ ] UX review completed\n- [ ] Product owner sign-off\n\n* INVEST Checklist\n- [ ] Independent: Can this story be delivered independently?\n- [ ] Negotiable: Is there room for discussion about implementation?\n- [ ] Valuable: Does this deliver clear value to the user?\n- [ ] Estimable: Do we have enough information to estimate the work?\n- [ ] Small: Can this be completed in one sprint?\n- [ ] Testable: Do we have clear acceptance criteria?\n\n* References\n** Related Documents\n- Links: [[]]\n- Documentation: [[]]\n\n** Discussion Notes\n#+begin_quote\nRecord important discussions or decisions here\n#+end_quote\n\n") :unnarrowed t)))) (use-package org-roam-ui From 2d9b72002881aeb7aaa131c7e6eb7aa24e19eb5a Mon Sep 17 00:00:00 2001 From: Marcus Kammer Date: Mon, 2 Dec 2024 15:58:31 +0100 Subject: [PATCH 4/4] Decrease org-clock rounding minutes --- init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.el b/init.el index 384bd156..73159ea4 100755 --- a/init.el +++ b/init.el @@ -1619,7 +1619,7 @@ Uses `mk/hyperspec-dir-locations' to find the directory." (org-attach-use-inheritance nil) (org-clock-out-remove-zero-time-clocks t) (org-clock-persist t) - (org-clock-rounding-minutes 30) + (org-clock-rounding-minutes 5) (org-confirm-babel-evaluate nil) (org-duration-format (quote h:mm)) (org-export-dispatch-use-expert-ui nil)