LaTeX forum ⇒ Generalhyperref vs. verse

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

hyperref vs. verse

Postby monamipierrot » Sat Mar 28, 2009 11:42 am

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:
  1. )) ("C:\Programmi\MiKTeX 2.7\tex\latex\verse\verse.sty"
  2. Package: verse 2007/01/10 v2.4 verse typesetting
  3. \c@vslineno=\count185
  4. \c@poemline=\count186
  5. \c@fvsline=\count187
  6. \c@modulo@vs=\count188
  7. \c@verse@envctr=\count189
  8.  
  9. ! LaTeX Error: Command \theHpoemline already defined.
  10. Or name \end... illegal, see p.192 of the manual.
  11.  
  12. See the LaTeX manual or LaTeX Companion for explanation.
  13. Type H <return> for immediate help.
  14. ...
  15.  
  16. l.37 ...}{\arabic{verse@envctr}.\arabic{poemline}}
  17.  
  18. Your command was ignored.
  19. Type I <command> <return> to replace it with another command,
  20. 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

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

Postby localghost » Sat Mar 28, 2009 11:45 am

monamipierrot wrote:[…] this is the interested piece of output: […]

A minimal working example (MWE) would be much more interesting and effective.


Best regards
Thorsten¹
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

monamipierrot
Posts: 31
Joined: Sun Aug 10, 2008 12:01 pm

Postby monamipierrot » Sun Mar 29, 2009 11:30 am

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


Uh...

Even this

  1. \documentclass[english,french,italian]{scrbook}
  2. \usepackage[T1]{fontenc}
  3. \usepackage[latin9]{inputenc}
  4.  
  5. \usepackage{hyperref}
  6. %%% VERSE
  7. \usepackage{verse}
  8.  
  9. \begin{document}
  10.  
  11. \begin{verse}
  12. This is a verse \\
  13. This is a second \\
  14. This is a third \\
  15. \end{verse}
  16.  
  17. \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: 9204
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Sun Mar 29, 2009 11:45 am

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.
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

monamipierrot
Posts: 31
Joined: Sun Aug 10, 2008 12:01 pm

Postby monamipierrot » Sun Mar 29, 2009 2:54 pm

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


Return to “General”

Who is online

Users browsing this forum: No registered users and 10 guests