Document Classes ⇒ harvard vs hyperref
Re: harvard vs hyperref
If you have updated your system then I'm out of ideas. What does your log-file say?
site moderator & package author
NEW: TikZ book now 40% off at Amazon.com for a short time.

harvard vs hyperref
I have reinstalled MiKTeX 2.9, I don't know how I can update my system in other ways.cgnieder wrote:If you have updated your system then I'm out of ideas. What does your log-file say?
Best regards.
bkarpuz
Re: harvard vs hyperref
So what does the log-file of your example say? Maybe you could post it here?
site moderator & package author
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
harvard vs hyperref
Maybe by just selecting »Update (Admin)« from the »MiKTeX« folder in the »Start« menu?bkarpuz wrote:[…] I have reinstalled MiKTeX 2.9, I don't know how I can update my system in other ways. […]
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
harvard vs hyperref
Thank a lot Thorsten.localghost wrote:Maybe by just selecting »Update (Admin)« from the »MiKTeX« folder in the »Start« menu?bkarpuz wrote:[…] I have reinstalled MiKTeX 2.9, I don't know how I can update my system in other ways. […]
Thorsten
I have updated my files but I still have the same problem. I attached my log file.
Thank for your interest.
bkarpuz
- Attachments
-
- ws.log
- (11.14 KiB) Downloaded 538 times
harvard vs hyperref
The main difference I see between your log file and mine is that in your run »html.sty« from latey2html is loaded. Directly after it there is the option clash with »hyperref.sty«. »latex2html« is not in TeXlive so »html.sty« wasn't loaded when I compiled the example.
»html.sty« is loaded by »harvard.sty« (only if it exists).
Try to run the example without »harvard.sty«.
Regards
»html.sty« is loaded by »harvard.sty« (only if it exists).
Try to run the example without »harvard.sty«.
Regards
site moderator & package author
harvard vs hyperref
It works fine when »harvard.sty« is disabled but in my thesis I have »harvard.sty«.cgnieder wrote: Try to run the example without »harvard.sty«.
Regards
So what can be done?
Thanks for your interest once again.
bkarpuz
harvard vs hyperref
Lucky for you »harvard.sty« does not really need »html.sty«. You should open »harvard.sty«, change the lines 25--29
into
and save the modified file into the same directory as your thesis. That should do it.
Code: Select all
\IfFileExists{html.sty}{\RequirePackage{html}
\newcommand{\harvardurl}[1]{\htmladdnormallink*{\textbf{URL:} \textit{##1}}{##1}}
}{
\newcommand{\harvardurl}[1]{\textbf{URL:} \textit{##1}}
}
Code: Select all
% \IfFileExists{html.sty}{\RequirePackage{html}
% \newcommand{\harvardurl}[1]{\htmladdnormallink*{\textbf{URL:} \textit{##1}}{##1}}
% }{
\newcommand{\harvardurl}[1]{\textbf{URL:} \textit{##1}}
% }
site moderator & package author
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
harvard vs hyperref
You could remove
at the command prompt.
Or, place a dummy
Stefan
html.sty
on your system or rename it (html.sty.old
for example). You can find it by
Code: Select all
kpsewhich html.sty
Or, place a dummy
html.sty
in your document folder, this file would win in the file lookup, though in general I would not reuse a style file name - here it could be quick workaround though.Stefan
LaTeX.org admin
Re: harvard vs hyperref
Yes that's probably easier... I need more coffee to wake up 

site moderator & package author