#36 latex writer insert hypertarget before section titles

closed-wont-fix
Felix Wiemann
None
5
2005-03-27
2005-03-27
moriwaka
No

Latex writer insert hypertarget before section titles.
When definition of \section macro contains \clearpage,
it causes blank pages before beginning section if the
last section is filled to end of a page.

I'll attach patch. please check it.

Discussion

  • Felix Wiemann
    Felix Wiemann
    2005-03-27

    Logged In: YES
    user_id=1014490

    No patch has been attached. Please upload the patch again,
    marking the "Check to Upload and Attach a File" checkbox.

     
  • moriwaka
    moriwaka
    2005-03-27

    patch for writer/latex2e.py

     
    Attachments
  • moriwaka
    moriwaka
    2005-03-27

    Logged In: YES
    user_id=1118272

    I'm sorry for missing it.

     
  • Felix Wiemann
    Felix Wiemann
    2005-03-27

    Logged In: YES
    user_id=1014490

    This causes the hypertarget and pdfbookmark to appear
    *behind* the section title, so that the the title isn't
    visible when clicking on a bookmark link in Acrobat Reader
    (to reproduce, select View -> Continuous).

    Moving \hyperref and \pdfbookmark *into* the section title
    doesn't help either (i.e. causes the same problem).

    See also
    http://groups.google.de/groups?selm=mc0elsgot0c9h1tam5jgebnkf6mpijmrsc%404ax.com

    So don't use documentclass "book" if you want correct targets.

    I'm going to do a rewrite of the LaTeX writer soon, and the
    new writer will probably include a possibility to insert a
    page break right in front of section titles without using
    \documentclass{book}, inserting targets at the right position.

     
  • Felix Wiemann
    Felix Wiemann
    2005-03-27

    • assigned_to: nobody --> felixwiemann
    • status: open --> closed-wont-fix