Generalhyperref vs. verse

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
monamipierrot
Posts: 31
Joined: Sun Aug 10, 2008 12:01 pm

hyperref vs. verse

Post by monamipierrot »

Hello,
I can't use hyperref package AND verse package (old problem I read about in old forums, but none seem to post a solution):
this is the interested piece of output:

Code: Select all

)) ("C:\Programmi\MiKTeX 2.7\tex\latex\verse\verse.sty"
Package: verse 2007/01/10 v2.4 verse typesetting
\c@vslineno=\count185
\c@poemline=\count186
\c@fvsline=\count187
\c@modulo@vs=\count188
\c@verse@envctr=\count189

! LaTeX Error: Command \theHpoemline already defined.
               Or name \end... illegal, see p.192 of the manual.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.37 ...}{\arabic{verse@envctr}.\arabic{poemline}}
                                                  
Your command was ignored.
Type  I <command> <return>  to replace it with another command,
or  <return>  to continue without it.
Is there anyway to use both package at the same time?
Thanks.
H.
  • Windows XP professional sp3
    LyX 1.6.1
My current docs defaults:
Koma-script Book with package biblatex; LilyPond for music examples

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

hyperref vs. verse

Post by localghost »

monamipierrot wrote:[…] this is the interested piece of output: […]
A minimal working example (MWE) would be much more interesting and effective.


Best regards
Thorsten¹
monamipierrot
Posts: 31
Joined: Sun Aug 10, 2008 12:01 pm

hyperref vs. verse

Post by monamipierrot »

localghost wrote:A minimal working example (MWE) would be much more interesting and effective.
Uh...

Even this

Code: Select all

\documentclass[english,french,italian]{scrbook}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}

\usepackage{hyperref}
%%% VERSE
\usepackage{verse}

\begin{document}

\begin{verse}
This is a verse \\
This is a second \\
This is a third \\
\end{verse}

\end{document}
doesn't work...

thanks
H.
  • Windows XP professional sp3
    LyX 1.6.1
My current docs defaults:
Koma-script Book with package biblatex; LilyPond for music examples
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

hyperref vs. verse

Post by localghost »

Usually the hyperref package should is to be loaded as the very last one. There are only very few exceptions (like tabularx). So, just try another sequence.
monamipierrot
Posts: 31
Joined: Sun Aug 10, 2008 12:01 pm

hyperref vs. verse

Post by monamipierrot »

localghost wrote:Usually the hyperref package should is to be loaded as the very last one. There are only very few exceptions (like tabularx). So, just try another sequence.
Doh! thaks now everything works, although I was 99% sure I already tried and failed.... magics of computers?
H.
  • Windows XP professional sp3
    LyX 1.6.1
My current docs defaults:
Koma-script Book with package biblatex; LilyPond for music examples
Post Reply