Package: lyx
Version: 2.3.4.2-2
Severity: normal

Dear Maintainer,

Thank you very much for maintaining lyx!

It has been a venerable and trustworthy tool for
many years!

The main reason I'm writing is I may have
discovered a small bug.

Basically, some cross-references lead to the wrong
pages.

I'll attach 3 files that I hope you can use to
duplicate the problem:

1.) A very short .lyx file named "bug.lyx".

2.) A PDF of it, created with the following menu
    path

        File->Export->PDF (ps2pdf)

3.) A screen shot of the mismatched page numbers I
    see.

    Maybe you'll see them too.

I expected

    a.) hoovering the mouse's pointer over the page
        number "2" in the red cross-reference box
        to pop up a yellow tool tip that said

            "Go to page 2."

        But it says 

            "Go to page 1."


    b.) clicking on the page number "2" in the red
        cross-reference box to advance to page 2.

        But it stays on page 1.


Most cross-references in a bigger, real life, .lyx
file have correct page numbers.

I hope that helps,
Kingsley
    
-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 4.4.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages lyx depends on:
ii  libc6            2.29-9
ii  libenchant-2-2   2.2.7+repack1-1
ii  libgcc-s1        10-20200211-1
ii  libmagic1        1:5.37-6
ii  libmythes-1.2-0  2:1.2.4-3+b1
ii  libqt5core5a     5.12.5+dfsg-8
ii  libqt5gui5       5.12.5+dfsg-8
ii  libqt5svg5       5.12.5-2
ii  libqt5widgets5   5.12.5+dfsg-8
ii  libstdc++6       9.2.1-24
ii  lyx-common       2.3.4.2-2
ii  xdg-utils        1.1.3-1
ii  zlib1g           1:1.2.11.dfsg-1+b1

Versions of packages lyx recommends:
pn  dvipng                           <none>
ii  epdfview [pdf-viewer]            0.1.8-3
ii  evince [pdf-viewer]              3.32.0-3
ii  fonts-lyx                        2.1.4-2
ii  ghostscript                      9.50~dfsg-5
ii  gv [pdf-viewer]                  1:3.7.4-1
ii  imagemagick                      8:6.9.10.23+dfsg-2.1
ii  imagemagick-6.q16 [imagemagick]  8:6.9.10.23+dfsg-2.1
ii  mupdf [pdf-viewer]               1.15.0+ds1-1
ii  okular [pdf-viewer]              4:17.12.2-2.2
ii  poppler-utils                    0.71.0-5+b1
ii  preview-latex-style              11.88-1.1
ii  psutils                          1.17.dfsg-2
ii  qpdfview [pdf-viewer]            0.4.18-1+b1
ii  texlive-fonts-recommended        2019.20200210-1
ii  texlive-latex-extra              2019.202000210-1
ii  texlive-latex-recommended        2019.20200210-1
ii  texlive-plain-generic            2019.202000210-1
pn  texlive-science                  <none>
ii  xpdf [pdf-viewer]                3.03-17+b1

Versions of packages lyx suggests:
ii  chktex                          1.7.4-1
pn  gnuhtml2latex                   <none>
ii  groff                           1.22.4-3
ii  inkscape                        0.92.2-1+b1
pn  latex2rtf                       <none>
ii  librsvg2-bin                    2.46.4-1
ii  libtiff-tools                   4.0.10+git190818-1
pn  linuxdoc-tools                  <none>
pn  noweb                           <none>
ii  rcs                             5.9.4-3
pn  sgmltools-lite                  <none>
ii  texlive-plain-generic [tex4ht]  2019.202000210-1
pn  texlive-xetex                   <none>
pn  writer2latex                    <none>
pn  wv                              <none>

-- debconf information:
  lyx/upgrade-notice:
#LyX 2.3 created this file. For more info see http://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass article
\use_default_options false
\maintain_unincluded_children false
\language american
\language_package default
\inputencoding default
\fontencoding global
\font_roman "default" "default"
\font_sans "default" "default"
\font_typewriter "default" "default"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype false
\use_dash_ligatures true
\graphics dvips
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize 10
\spacing single
\use_hyperref true
\pdf_bookmarks true
\pdf_bookmarksnumbered false
\pdf_bookmarksopen false
\pdf_bookmarksopenlevel 1
\pdf_breaklinks false
\pdf_pdfborder false
\pdf_colorlinks false
\pdf_backref false
\pdf_pdfusetitle true
\papersize default
\use_geometry true
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 0
\use_package mathdots 1
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine basic
\cite_engine_type default
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 0
\use_minted 0
\index Index
\shortcut idx
\color #008000
\end_index
\leftmargin 0.5in
\topmargin 0.5in
\rightmargin 0.5in
\bottommargin 0.5in
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\is_math_indent 0
\math_numbering_side default
\quotes_style english
\dynamic_quotes 0
\papercolumns 1
\papersides 1
\paperpagestyle plain
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard
\noindent
\align center

\size large
\begin_inset CommandInset ref
LatexCommand pageref
reference "subsec:bug"
plural "false"
caps "false"
noprefix "false"

\end_inset

 
\end_layout

\begin_layout Standard
\begin_inset Newpage newpage
\end_inset


\end_layout

\begin_layout Standard
\noindent
\align center
\begin_inset CommandInset label
LatexCommand label
name "subsec:bug"

\end_inset


\end_layout

\end_body
\end_document

Attachment: bug.pdf
Description: Adobe PDF document

Reply via email to