Code Monkey home page Code Monkey logo

Comments (9)

imagingbook avatar imagingbook commented on June 16, 2024

This should be very easy: In file hgbthesis.cls (starting in line 578) simple remove the \@advisorpage line, i.e.,

\renewcommand{\@bachelortitlepages}{
	\@bachelortitle
%	\@advisorpage
	\@declarationpage
}

Not quite sure what you mean by "mixing up page numbering" ...

from hagenbergthesis.

student0815 avatar student0815 commented on June 16, 2024

Thanks for the quick response. I also tried commenting out the @advisorpage line. But when I build the document, I get the following warning (TeXstudio):

pdfTeX warning (ext4): destination with the same identifier (name{page.i}) has 
been already used, duplicate ignored
<to be read again> 
                   \relax 
l.96 \tableofcontents
                      [1

I'm not sure if this doesn't mix up something (page numbering etc.). Can I ignore this warning?

from hagenbergthesis.

imagingbook avatar imagingbook commented on June 16, 2024

I see. I can reproduce this problem on MikTeX, which appears to be unstable at the moment. The problem does not show on Overleaf. Do you see the ToC and the list of references?

from hagenbergthesis.

student0815 avatar student0815 commented on June 16, 2024

Yes, I see the ToC and the list of references/bibliography.

from hagenbergthesis.

imagingbook avatar imagingbook commented on June 16, 2024

OK, then I suggest to ignore the warning for now. I am not sure how soon I can find/fix the problem as long as MikTeX is unstable.

from hagenbergthesis.

student0815 avatar student0815 commented on June 16, 2024

Ok, I'll follow your suggestion. Thanks for support on weekend!

from hagenbergthesis.

imagingbook avatar imagingbook commented on June 16, 2024

Try the following: In file hgb.sty (line 67 ff) modify hypersetup to

\hypersetup{
	linktocpage = true,				% make page number, not text, be link on TOC, LOF and LOT 
	colorlinks = false,				% don't uses colored links (because this shows up in printing!) 
	pdfborder = {0 0 0.5},			% use a thinner (0.5pt) border around all PDF links
	allbordercolors = {0 0 0.8},	% dark blue border for all types of links
	breaklinks = true,				% allow links to break over lines by making links over multiple lines
	hypertexnames = false
}	%see https://www.tug.org/applications/hyperref/manual.html

Only hypertexnames=false was added. Let me know if the warning disappears.

from hagenbergthesis.

student0815 avatar student0815 commented on June 16, 2024

Don't forget to mention the comma one line above.
I added:

breaklinks = true,				% allow links to break over lines by making links over multiple lines
hypertexnames = false

in hgb.sty file and comment out the \@advisorpage line in hgbthesis.cls.
No warnings anymore.
Huge thanks!

from hagenbergthesis.

imagingbook avatar imagingbook commented on June 16, 2024

But the comma was there, no? ;-)
Brought MikTeX back to life with a fresh 64-bit install (32-bits not supported any longer?).

Unfortunately hypertexnames = false introduces another problem: page links may get confused (e.g., page "vi" is used instead of "6"). I will upload another fix today setting pageanchor=false for the title pages.

from hagenbergthesis.

Related Issues (20)

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.