Code Monkey home page Code Monkey logo

thesis-template's Issues

LaTeX Error: File `silence.sty' not found.

I cloned the repository and ran make. I get following error message:

mac:praktikumsbericht selim$ make
This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./thesis.tex
LaTeX2e <2018-04-01> patch level 2
Babel <3.18> and hyphenation patterns for 22 language(s) loaded.

! LaTeX Error: File `silence.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Dead link in README

Hello and thank you for the fantastic template!

The link to Richtlinien zur Anfertigung der Bachelorarbeit on line 166 seems to be broken. Would be great to have this replaced.

Publish Dockerimages with and without ghostscript

I have bould a gitlab-ci pipeline which builds the project and keeps the pdf-artifact, so I have always the same build env. I will use only these pdfs to share them with others. Furthermore there is the git-tag included and the buildtime, so i always know which version the pdf has.

To do this I need the Dockerimage WITH ghostscript, I published that under https://hub.docker.com/r/aeimer/thesis-template-ghostsctipt. I would be great if you could also provide a second version on your repo like:

  • mbredel/thesis-template:2.0
  • mbredel/thesis-template:2.0-ghostscript
    and so on

Best regards
Alex

Problems compiling on recent TexLive version due to issue in hdathesis.sty

When compiling on a recent TexLive version registry.gitlab.com/islandoftex/images/texlive:TL2023-2024-02-04-full the compilation fails with the following error.

(/usr/local/texlive/2023/texmf-dist/tex/generic/intcalc/intcalc.sty
Package: intcalc 2019/12/15 v1.3 Expandable calculations with integers (HO)
)
\Hy@SavedSpaceFactor=\count458


! LaTeX socket Error: Sockets can only be declared at top-level!

For immediate help type H <return>.
 ...                                              
                                                  
l.2088  {\providecommand\UseSocket[2]{#2}}
                                          
? 
! Emergency stop.
 ...                                              
                                                  
l.2088  {\providecommand\UseSocket[2]{#2}}
                                          

It is not allowed to declare sockets inside a group. Move the declaration to
the top-level.

In comparison version TL2023-2023-03-27-full still works. I digged into the issue and found its roots in the hdathesis.sty file. Concretely in the following block:

\theoremstyle{plain} {{\theorembodyfont{\normalfont}
\newtheorem{Definition}{Definition}}
\newcommand{\qed}{\hfill \mbox{\raggedright \rule{.07in}{.1in}}}
\newenvironment{proof}{\vspace{1ex}\noindent{\textbf Proof}\hspace{0.5em}}
	{\hfill\qed\vspace{2ex}}

I guess there is a missing } somewhere which I solved by replacing the block with:

\theoremstyle{plain} {{\theorembodyfont{\normalfont}
      \newtheorem{Definition}{Definition}}}
\newcommand{\qed}{\hfill \mbox{\raggedright \rule{.07in}{.1in}}}
\newenvironment{proof}{\vspace{1ex}\noindent{\textbf Proof}\hspace{0.5em}}
{\hfill\qed\vspace{2ex}}

or as diff (maybe easier to spot the additional brace here)

diff --git a/hdathesis.sty b/hdathesis.sty
index 3128fc9..24ea445 100644
--- a/hdathesis.sty
+++ b/hdathesis.sty
@@ -54,8 +54,9 @@
   \newtheorem{Lemma}{Lemma}
   \newtheorem{Corollary}{Corollary}
 }
+
 \theoremstyle{plain} {{\theorembodyfont{\normalfont}
-    \newtheorem{Definition}{Definition}}
+    \newtheorem{Definition}{Definition}}}
 \newcommand{\qed}{\hfill \mbox{\raggedright \rule{.07in}{.1in}}}
 \newenvironment{proof}{\vspace{1ex}\noindent{\textbf Proof}\hspace{0.5em}}
 {\hfill\qed\vspace{2ex}}

However I'm not using this environment or theorems and therefore have not validated the correctness of my fix.

Unable to compile document using MacTex

I recently set up my local LaTeX environment on macOS (MacBook Pro M1) using the full installation of MacTeX. Following successful compilation of a sample .tex file to PDF, I proceeded to download and attempt to compile the "hda fbi" template using the make command.

However, I encountered the following error message during the compilation process:

sven@Svens-MacBook-Pro inventory_database_report % make
This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2024) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./thesis.tex
LaTeX2e <2023-11-01> patch level 1
L3 programming layer <2024-02-20>
(/usr/local/texlive/2024/texmf-dist/tex/latex/silence/silence.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/koma-script/scrreprt.cls
Document Class: scrreprt 2023/07/07 v3.41 KOMA-Script document class (report)
(/usr/local/texlive/2024/texmf-dist/tex/latex/koma-script/scrkbase.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/koma-script/scrbase.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/koma-script/scrlfile.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/koma-script/scrlfile-hook.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/koma-script/scrlogo.sty)))
(/usr/local/texlive/2024/texmf-dist/tex/latex/graphics/keyval.sty)))
(/usr/local/texlive/2024/texmf-dist/tex/latex/koma-script/tocbasic.sty)

Class scrreprt Warning: You've used deprecated option `abstractoff'.
(scrreprt)              Usage of this option indicates an old document
(scrreprt)              and changes compatibility level using
(scrreprt)              `abstract=false,version=first,
(scrreprt)              enabledeprecatedfontcommands' that may result
(scrreprt)              in further warnings.
(scrreprt)              If you don't want this, you should simply
(scrreprt)              replace option `abstractoff' by `abstract=false'.


Class scrreprt Warning: Switching back to an old KOMA-Script release does
(scrreprt)              not mean, that KOMA-Script is fully compatible with
(scrreprt)              the old release. If you need full compatibility
(scrreprt)              to an old KOMA-Script release, you should use that
(scrreprt)              old KOMA-Script release. However, in that case you
(scrreprt)              could also need old releases of other packages and
(scrreprt)              even of the LaTeX kernel.
(scrreprt)              You should also note, that the KOMA-Script developers
(scrreprt)              refuse support for documents using `version=first'.
(scrreprt)              We recommend to eliminate all deprecated options
(scrreprt)              and commands. We also recommend to not use option
(scrreprt)              `version', i.e., with other values than `last'.


Class scrreprt Warning: deprecated option `enabledeprecatedfontcommands'.
(scrreprt)              Note, that this option was already depreacted when
(scrreprt)              it has been defined. Support for old font commands
(scrreprt)              has been removed from KOMA-Script more than one
(scrreprt)              decade ago. It is not recommended to use them any
(scrreprt)              longer. Therefore usage of this class option also
(scrreprt)              is not recommended.

(/usr/local/texlive/2024/texmf-dist/tex/latex/koma-script/scrsize11pt.clo)
(/usr/local/texlive/2024/texmf-dist/tex/latex/koma-script/typearea.sty))
(./hdathesis-config.tex
(/usr/local/texlive/2024/texmf-dist/tex/generic/babel/babel.sty
(/usr/local/texlive/2024/texmf-dist/tex/generic/babel/txtbabel.def)
(/usr/local/texlive/2024/texmf-dist/tex/generic/babel-german/ngerman.ldf
(/usr/local/texlive/2024/texmf-dist/tex/generic/babel-german/ngermanb.ldf))
(/usr/local/texlive/2024/texmf-dist/tex/generic/babel-english/american.ldf
(/usr/local/texlive/2024/texmf-dist/tex/generic/babel-english/english.ldf)))
(/usr/local/texlive/2024/texmf-dist/tex/generic/babel/locale/en/babel-american.
tex)
(/usr/local/texlive/2024/texmf-dist/tex/generic/babel/locale/de/babel-ngerman.t
ex)) (./classicthesis-config.tex
(/usr/local/texlive/2024/texmf-dist/tex/latex/base/inputenc.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/csquotes/csquotes.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/etoolbox/etoolbox.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/csquotes/csquotes.def)
(/usr/local/texlive/2024/texmf-dist/tex/latex/csquotes/csquotes.cfg))
(/usr/local/texlive/2024/texmf-dist/tex/latex/biblatex/biblatex.sty
(/usr/local/texlive/2024/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty
(/usr/local/texlive/2024/texmf-dist/tex/generic/infwarerr/infwarerr.sty)
(/usr/local/texlive/2024/texmf-dist/tex/generic/iftex/iftex.sty)
(/usr/local/texlive/2024/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty))
(/usr/local/texlive/2024/texmf-dist/tex/latex/kvoptions/kvoptions.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/kvsetkeys/kvsetkeys.sty))
(/usr/local/texlive/2024/texmf-dist/tex/latex/logreq/logreq.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/logreq/logreq.def))
(/usr/local/texlive/2024/texmf-dist/tex/latex/base/ifthen.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/url/url.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/biblatex/blx-dm.def)
(/usr/local/texlive/2024/texmf-dist/tex/latex/biblatex/blx-compat.def)
(/usr/local/texlive/2024/texmf-dist/tex/latex/biblatex/blx-bibtex.def

Package biblatex Warning: Using fall-back bibtex backend:
(biblatex)                functionality may be reduced/unavailable.

) (/usr/local/texlive/2024/texmf-dist/tex/latex/biblatex/biblatex.def)
(/usr/local/texlive/2024/texmf-dist/tex/latex/biblatex/blx-natbib.def)
(/usr/local/texlive/2024/texmf-dist/tex/latex/biblatex/bbx/alphabetic.bbx
(/usr/local/texlive/2024/texmf-dist/tex/latex/biblatex/bbx/standard.bbx))
(/usr/local/texlive/2024/texmf-dist/tex/latex/biblatex/cbx/alphabetic.cbx)
(/usr/local/texlive/2024/texmf-dist/tex/latex/biblatex/biblatex.cfg)
(/usr/local/texlive/2024/texmf-dist/tex/latex/l3kernel/expl3.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def))
(/usr/local/texlive/2024/texmf-dist/tex/latex/biblatex/blx-case-expl3.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/l3packages/xparse/xparse.sty)))
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsmath/amsopn.sty))
(./hdathesis.sty
(/usr/local/texlive/2024/texmf-dist/tex/generic/oberdiek/iflang.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsfonts/amssymb.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
(/usr/local/texlive/2024/texmf-dist/tex/latex/tools/theorem.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/tools/thp.sty))
(/usr/local/texlive/2024/texmf-dist/tex/latex/setspace/setspace.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/tools/tabularx.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/tools/array.sty))
(/usr/local/texlive/2024/texmf-dist/tex/latex/graphics/color.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/graphics-cfg/color.cfg)
(/usr/local/texlive/2024/texmf-dist/tex/latex/graphics-def/pdftex.def)
(/usr/local/texlive/2024/texmf-dist/tex/latex/graphics/mathcolor.ltx))
(/usr/local/texlive/2024/texmf-dist/tex/latex/framed/framed.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/pdfpages/pdfpages.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/tools/calc.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/eso-pic/eso-pic.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)))
(/usr/local/texlive/2024/texmf-dist/tex/latex/pdfpages/pppdftex.def)))
(/usr/local/texlive/2024/texmf-dist/tex/latex/changepage/chngpage.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/base/fontenc.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/base/textcomp.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/koma-script/scrhack.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/xpatch/xpatch.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/koma-script/setspace.hak))
(/usr/local/texlive/2024/texmf-dist/tex/latex/tools/xspace.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/mparhack/mparhack.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/acronym/acronym.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/bigfoot/suffix.sty)
(/usr/local/texlive/2024/texmf-dist/tex/generic/xstring/xstring.sty
(/usr/local/texlive/2024/texmf-dist/tex/generic/xstring/xstring.tex))
(/usr/local/texlive/2024/texmf-dist/tex/latex/relsize/relsize.sty))
(/usr/local/texlive/2024/texmf-dist/tex/latex/caption/caption.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/caption/caption3.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/caption/caption-koma.sto)))
(/usr/local/texlive/2024/texmf-dist/tex/latex/subfig/subfig.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/listings/listings.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/listings/lstpatch.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/listings/lstmisc.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/listings/listings.cfg))
(/usr/local/texlive/2024/texmf-dist/tex/latex/koma-script/listings.hak

Package scrhack Warning: unknown \lstlistoflistings definition found!
(scrhack)                Maybe you are using a unsupported listings version.

) (/usr/local/texlive/2024/texmf-dist/tex/latex/listings/lstlang1.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/listings/lstlang2.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/listings/lstlang3.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/listings/lstlang1.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/listings/lstlang2.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/listings/lstlang3.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/listings/lstlang1.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/listings/lstlang2.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/listings/lstlang3.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/listings/lstmisc.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/hyperref/hyperref.sty
(/usr/local/texlive/2024/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty)
(/usr/local/texlive/2024/texmf-dist/tex/generic/pdfescape/pdfescape.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/hycolor/hycolor.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/auxhook/auxhook.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/hyperref/nameref.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/refcount/refcount.sty)
(/usr/local/texlive/2024/texmf-dist/tex/generic/gettitlestring/gettitlestring.s
ty)) (/usr/local/texlive/2024/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/usr/local/texlive/2024/texmf-dist/tex/generic/intcalc/intcalc.sty)

! LaTeX socket Error: Sockets can only be declared at top-level!

For immediate help type H <return>.
 ...                                              
                                                  
l.2088  {\providecommand\UseSocket[2]{#2}}
                                          
? 

Despite having installed the full version of MacTeX, I am unable to compile the template as expected. Could you kindly assist me in resolving this issue?

Twoside-openright print problem

I tried the twoside print option with openright. However, it adds less inner margin and more outer margin. In other words, the margin for every odd page is set to even pages and even page margin to odd pages.
Also played with the options like DIV openany but didn't work.

Just to verify that I that it's not my mistake, even on cloning this repo and building it also contain the same problem.

Can someone, help me with it.

Thank you!
Screenshot 2024-06-14 at 14 10 50

Docker container fails on Windows

I have tried to run the docker run command from the README under Windows, with the repository being on the latest master commit.
This results in the container failing with the following output:
make: *** /thesis-template/: No such file or directory. Stop.

This may require a fix or at least a hint in the README that the Docker container may not run properly under Windows.

Unable to change paragraph spacing | Successful build using MacTex and in container

Hello,

I could compile the project using the 'MacTex' compiler using vscode and docker container.
However, I would appreciate any help with paragraph spacing. I tried adding spacing in classic_thesis.tex but it didn't work. Adding space with \setlength{\parskip}{1em} works, but it also adds spacing for headings and disturbs the entire styling.

Incorrect chapter name in header when including ToC (with workaround)

Hello everyone! I would like to highlight a small issue and provide a workaround for it. The problem originates from the original classicthesis project and is described there in an issue.

Problem:
In my LaTeX project based on the classicthesis template, the header on each page incorrectly displays "Contents" instead of the actual chapter. This behavior occurs when the table of contents (\tableofcontents) is inserted but none of the lists of figures, listings, tables, or acronyms.

Solution:
Manually add \automark[section]{chapter} to thesis.tex. In my case, placing it here resolved the issue:

thesis.tex

...
\cleardoublepage\include{frontbackmatter/Contents}

% Uncomment these if not needed (i.e., less than 3-5, of figures, tables, listings, and acronyms.)
% \cleardoublepage\include{frontbackmatter/Figures}
% \cleardoublepage\include{frontbackmatter/Tables}
% \cleardoublepage\include{frontbackmatter/Listings}
% \cleardoublepage\include{frontbackmatter/Acronyms}
\automark[section]{chapter} % add this line
...

Umlauts in thesis title not working

My thesis title happens to have umlauts. I'm writing on MacOS and discovered that umlauts in the thesis title are not properly handled. In the text it's working fine.

I suppose that's because the hdathesis-config which includes the title is included before the classicthesis-config which contains the enconding definitions. Switching the includes in thesis.tex resolved my problem.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.