Git Product home page Git Product logo

thesis-bdr's People

Contributors

itzsimpl avatar tomazc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

skokec donrax

thesis-bdr's Issues

Numbered pages in Approval

If Approval section is extended to two or more pages, the second page gets numbered (with the roman numeral in the left side of the header). This is a bug, as the approval pages should not be numbered.

demo-bypub fails due to missing font Anaktoria

Describe the bug
The demo-bypub example cannot be built.

To Reproduce
On a clean macOS installation, follow the [quick-start](url
https://github.com/UL-FRI/thesis-BDR#Quick-start) in the readme to install all the packages and initialize MiKTeX. Then instead of the suggested demo-asbook try to build the demo-bypub.

Expected behavior
A file out/thesis-gold.pdf should be generated.

Screenshots

[2] [3] [4] (thesis-dedication.tex [5] [6]Running miktex-makemf...

Sorry, but miktex-makemf did not succeed.

The log file hopefully contains the information to get MiKTeX going again:

/Users/.../Library/Application Support/MiKTeX/texmfs/data/miktex/log/miktex-makemf.log
Running miktex-hbf2gf...
Couldn't open `Anaktor.cfg'

hbf2gf (CJK ver. 4.8.4)

Sorry, but miktex-maketfm did not succeed.

The log file hopefully contains the information to get MiKTeX going again:

/Users/.../Library/Application Support/MiKTeX/texmfs/data/miktex/log/miktex-maketfm.log

! Package fontspec Error: The font "Anaktoria" cannot be found.

For immediate help type H .
...

l.20 ^^I^^I{

?

Desktop

  • OS: macOS
  • Editor: na
  • TeX edition and version: MiKTeX Package Manager 2.9.6888 (MiKTeX 2.9.6930)
  • template version: #3

Footnote 1 in README.md is redundant

Footnote 1: "Note that there is a minor bug in latexmk.pl specific to our use case...." is redundant as the version 4.63b 2019-03-17 that fixes this bug is now available in CTAN.

Undefined control sequence error in FRIteza.cls

Describe the bug
Compiler returns an "Undefined control sequence" error in line 123 of FRIteza.cls (\ExecuteOptionsX command) on Windows.

To Reproduce
Follow Quick start instructions on https://github.com/UL-FRI/thesis-BDR. The error occurs at:

cd demo-asbook
../editor-cfg/build alpha

Desktop (please complete the following information):

  • OS: Windows 10
  • TeX edition: MiKTeX 2.9

Additional context
Same happens when trying to compile with Texmaker and TeXstudio.

Several lists for references and mypreviouspublication

Is it possible to place several reference lists with different text description in \mypreviouspublication command?
For e.g.,
Journal publications
\bibliography{1}
Conference papers
\bibliography{2}
Other papers
\bibliography{3}

It can be easily done via \bibentry, but hacking your template was out of my current .cls knowledge...

Maybe any suggestions how to do this without update for template?

Funding page for MR from ARRS

FRIteza class contains instructions for inserting a title page for funding from EU projects and MR from industry. It would be nice to also have a prepared option for funding from MR from ARRS (without industry). Or is it not required?

Missing volume, number and pages of the journal in bibliography

Describe the bug
Using FRIteza bibliography style, if one specifies "doi" field (for the class article), the volume, number and pages are not shown in the bibliography. Same is true for other classes (inproceedings etc.).

To Reproduce
To reproduce, use FRIteza bibliography style and any bib entry with doi field.

Expected behavior
All fields should be shown in the bibliography.

Possible Solution
Modify FRIteza.bst. Example for the class article:

FUNCTION {article}
{ output.bibitem
  format.authors "author" output.check
  author format.key output
  format.date "year" output.check
  date.block
  format.title "title" output.check
  new.block
  crossref missing$
    {
      journal
      remove.dots
      "journal" bibinfo.check
      emphasize
      "journal" output.check
      add.blank
      doi missing$
        { format.vol.num.pages output }
        {
         format.vol.num.pages output     # ADD THIS LINE
         format.doi output 
        }
      if$
    }
    { format.article.crossref output.nonnull
      doi missing$
        { format.pages output }
        { format.doi output }
      if$
    }
  if$
  new.block
  format.note output
  format.eprint output
  format.url output
  format.cobiss output
  fin.entry
}

Magic comments instead of settings for VScode?

Currently examples contain .vscode/settings.json with configuration specific for LaTeX-Workshop for VScode. Recently they added support for additional magic commands (issue, docs) similar to what is supported by LaTeXTools for Sublime Text.

For VScode it is now sufficient to add the following magic comments in the header of thesis.tex:

% !TEX program = xelatex
% !TEX options = -aux-directory=./int -include-directory=./FRIteza -include-directory=./int -output-directory=./out -synctex=1 -interaction=nonstopmode -file-line-error "%DOC%"
% !BIB program = bibtex
% !BIB options = -include-directory=./FRIteza "./int/%DOCFILE%"

Unfortunately, the crucial !TEX options and !BIB options are not widely supported (!TEX program and !BIB program are). I am not sure how meaningful is it to replace current VScode configuration with these magic comments until support becomes wider (maybe we could send PRs or open issues for all major editors and tools?).

Dynamic chaptermark size

Is your feature request related to a problem? Please describe.
If \title is longer than approximately 80 charachters, then \title overflows the \author in the header.

Describe the solution you'd like
Chaptermark size should be dynamic. If \title > 80 size = \footnotesize, If \title > 100 size = \tiny, etc.

Describe alternatives you've considered
I have manually changed the size in FRIteza.cls, but this is not an elegant solution.

\renewcommand*{\chaptermark}[1]{
\markboth{\iflanguage{slovenian}{\scriptsize@title@slA}{\footnotesize@title@enA}}{##1}
}

Bibliography style is not compatible with `natbib`

Is your feature request related to a problem? Please describe.
For bibliography natbib in numerical mode is used, but features from that library can not be used (natbib docs). For example \citet{jon90} should result in Jones et al. [21], but instead (author?) [21] appears and a warning like:

Package natbib Warning: Author undefined for citation`jon90' 
(natbib)                on page 6 on input line 115.

Describe the solution you'd like
I would expect that \citet and \citep work as described for the natbib library.

Describe alternatives you've considered
The problem is that the FRIteza.bst bibliography style is based on unsrt.bst, which is NOT compatible with natbib. Instead it should be based upon unsrtnat.bst (link) or plainnat.bst.

There are no warnings when these bibliography styles are used, but the appearance changes:

\bibliographystyle{unsrtnat}

Additional context
MiKTeX 2.9.6980 on Debian 9.8.

Problems with building biliography

Sometimes when I try to build my thesis, the build fails:

Latexmk: Summary of warnings from last run of (pdf)latex:
Latex failed to resolve 58 reference(s)
Latex failed to resolve 186 citation(s)
Latexmk: Errors, so I did not complete making targets
Latexmk: Use the -f option to force complete processing,
unless error was exceeding maximum runs, or warnings treated as errors.

This problem is resolved if I run the build 2 additional times or if I run:

../editor-cfg/build; ../editor-cfg/build; ../editor-cfg/build

Problem with spaces in the build path

The build script doesn't work on Windows, if the build path includes "spaces"
(e.g. C:\Users\Martin Jakomin\Documents).

Furthermore, I can not properly build the thesis without Admin rights (This needs a confirmation, I am not sure if this is a bug or is this happening just to me).

TeX Live and MacTeX compatibility

Although I came to the conclusion that using MiKTeX is the best approach. I want to describe my findings for TeX Live (and MacTeX) in this issue, so that anyone interested can start from here.

  1. TeX Live does not support the -include-directory and -aux-directory parameters (it only supports -output-directory) (consequently it does not use the ./int directory).

  2. The only way to provide an include directory with classes, styles and fonts is to set the TEXMFHOME environment directory (TEXMFHOME=./texmf). This directory must follow directory structure from the TDS specification. It can be setup with symbolic links somehow like this:

cd ./demo-asbook
mkdir -p texmf/tex/latex/
ln -s ../../../../ texmf/tex/latex/FRIteza
mkdir -p texmf/fonts/opentype
ln -s ../../../../fonts/ texmf/fonts/opentype/fonts
mkdir -p texmf/bibtex/bst/
ln -s ../../../../ texmf/bibtex/bst/FRIteza
mkdir -p texmf/bibtex/bib/
ln -s ../../../ texmf/bibtex/bib/local
  1. The preferred way is therefore to either copy or create symbolic links to all classes, styles and fonts to your target thesis directory (similar outcome as script for Overleaf).

When building with TeX Live one should therefore remove the -aux-directory and -include-directory parameters. Following compilation errors are related to the \ProvidesClass directive. To fix it change it to \ProvidesClass{FRIteza}[].

./thesis.tex:12: Missing number, treated as zero.
<to be read again> 
                   v
l.12 
     
./thesis.tex:12: Missing = inserted for \ifnum.
<to be read again> 
                   v
l.12 
...
LaTeX Warning: You have requested, on input line 12, version
               `' of document class FRIteza,
               but only version
               `v2.20190108 XeLaTeX doctoral dissertation class'
               is available.

Overfull \hbox (49.94754pt too wide) in paragraph at lines 12--12
[]\TU/EBGaramond(0)/m/n/9.03374 v2.20190108|

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.