bugLaTeX semantic checker - Bugs: bug #59024, chktek cause autoref links not to...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #59024: chktek cause autoref links not to work

Submitter:  Jenny <jfothergill>
Submitted:  Thu 27 Aug 2020 10:57:02 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Works For Me
Privacy:  Public Assigned to:  gvol
Open/Closed:  Closed

Fri 19 Mar 2021 12:24:56 AM UTC, comment #1: 

First off, I'm very sorry for not responding earlier.  I don't know how this one slipped through the cracks since I checked a few months ago and didn't notice it.

I'm not sure I follow the bug report, however.  I think the warning correct in this case.  If you don't like the warning, you can turn it off completely or suppress it for just the line as you have done.

That said, it seems like you're saying that the presence of the comment causes the link to not render.  Is that right?  If that's true (I couldn't reproduce it—I'm using TeX Live on a Mac), then it's not a ChkTeX bug, but rather a LaTeX bug.  Or, more accurately,  a bug in pdflatex, of lualatex, or whatever engine you use. 

Could you please provide me with more information about how to reproduce it?

Ivan Andrus <gvol>
Group administrator
Thu 27 Aug 2020 10:57:02 PM UTC, original submission:  

Removing `chktex 8` will fix the link in the following example:

```
\documentclass{article}

\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{hyperref}

\begin{document}
heck.

\begin{wrapfigure}{l}{0.5\linewidth}
    \centering
    \includegraphics[width=\linewidth]{images/dou-miller2018c-fig.pdf}
    \caption{Schematic showing (a) roll to roll printing process for OPVs, (b) example OPV device, (c) bulk heterojunction structure, and (d) OPV energy generation process. Part (a) adapted from ref. Parts (b -- d) adapted from ref.}\label{opv} % chktex 8
\end{wrapfigure}

Lets test this~\autoref{opv}
\end{document}
```

Jenny <jfothergill>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gvol (Posted a comment)
  • -email is unavailable- added by doryx
  • -email is unavailable- added by jfothergill (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-09-17 gvol Open/ClosedOpen Closed
    2021-03-19 gvol StatusNone Works For Me
        Assigned toNone gvol
    2020-08-27 doryx Carbon-Copy- Added doryx

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code