-
Notifications
You must be signed in to change notification settings - Fork 0
Add apendix and biblio? #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
This is compiling just fine for me. Do you want me to add the PDF here? Otherwise paste the stack trace and I might be able to help |
|
I didn't try the arxiv format I mereley compiled it as it now. If you want me to try the arxiv format please give some pointers. |
|
@petobens i'm attaching the Arxiv traceback which uses a docker image (i suppose) to compile the .tex I seem to understand that it fails to compile |
|
Ok. Following this SO answer you should be able to avoid the option clash by passing the hyperref options before the begin document like: \PassOptionsToPackage{hyperfootnotes=false}{hyperref}
\documentclass[
... |
|
Does it actually work for you locally? plz do commit if so, it doesn't for me (check last commit) |
|
And from what I can understand there's only 1 call of |
tex/preamble.tex
Outdated
| % Hyperlinks, bookmarks, theorems and cross-references | | ||
| %------------------------------------------------------+ | ||
| \usepackage[hyperfootnotes=false]{hyperref} | ||
| \usepackage{hyperref} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mybibformat.sty also does his own '\usepackage{hyperref}
429 %---------------+
430: % Load hyperref |
431 %---------------+
432 % We need to do this here after patching
433 \makeatletter
434: % FIXME: This doesn't always work and we need to manually load hyperref when
435 % there are errors stating that it was not loaded
436: \AtEndPreamble{\@ifpackageloaded{hyperref}{}{\usepackage{hyperref}}}
437 \makeatother
438 ```There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed that line. Retry compile and... Undefined control sequence. \hypersetup
Which makes sense to me as it is imported and then setup.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair enough. The following works (at least locally):
\PassOptionsToPackage{hyperfootnotes=false, colorlinks=true, allcolors=blue,
linktoc=page,
pdfstartview={xyz null null 1}, pdfcreator={vim latex},
pdfsubject={machine learning},
pdftitle={tesis para la carrera de licenciatura en matematica aplicada},
pdfauthor={juan mateo de monasterio},
pdfcreator={juan mateo de monasterio},
pdfkeywords={machine learning}
}{hyperref}
|
Remove the extra hyperref call. Mmm how are you compiling locally? I thought (from a quick search) that I needed to do an arxiv submit to actually reproduce the errors. |
|
I compile with texstudio. But I can start using cmdline if you prefer just for the sake of reproducibility. Also, maybe it's better if you can submit your working version if it makes more sense to you. |
|
I'll be AFK until the night. Regarding compilation I use tool called arara (which you can install with texlive) and the followig config file: https://github.com/petobens/dotfiles/blob/master/arararc.yaml (it basically calls pdflatex and biber the necessary number of times) |
|
after dumping the contents of the |
|
@petobens thanks to @cs4rraute i've proceeded to copy his changes to update split the preface into 3 parts and stop using biblatex/biber but rather use natbib. See last changs reflecting that plz. |
|
any last comments @petobens ? The preamble is also split into 3 sub-files and other minor changes were made. |
So i'm still scratching my head over at what actually happened here. Given both of you guys' comments i'm opening up this PR.
Minor context
I've moven most of the .tex work from one repository to this actual repository under the /tex folder. In the manual movement i've forgotten to upload the appendi.tex file (thus this PR.)
You see the "out" commit here (removing files from the old repo ). And the "in" (adding files to this repo) commit here.
Actual behavior
At the same time Pedro has mentioned to me that the bibliography is not part of the the university's pdf is that right? I've might have missed some other files too doing the in/out movement.
Expected behavior
Have a working appendix and bibliography pdf and hopefully, have it compile in Arxiv's automatic tex compiler as we are trying to have that approved/uploaded.