ul-fri / thesis-bdr Goto Github PK
View Code? Open in Web Editor NEWFRIteza - XeLaTeX template for doctoral dissertations at UL FRI
FRIteza - XeLaTeX template for doctoral dissertations at UL FRI
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.
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
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.
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):
Additional context
Same happens when trying to compile with Texmaker and TeXstudio.
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?
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?
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
}
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?).
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}
}
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.
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
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).
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.
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).
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
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|
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.