rolfn / xltabular

LaTeX package which combines longtable and tabularx.
Other
10 stars 3 forks source link

Regression on warnings #4

Closed krumeich closed 5 years ago

krumeich commented 5 years ago

Today I noticed that the warnings mentioned in #2 have reappeared. It seems that 414f8a75 has introduced a regression. When I check out the previous commit (002f16bb) everything works as expected. Could you kindly take a moment to look into this? Thank you!

rolfn commented 5 years ago

I will try to resolve the new/old problem in some days. It's not easy...

rolfn commented 5 years ago

Hello Alexander, I tried to resolve your Problem but I can't reproduce it. I call

lualatex mwe.tex

with the newest version of »xltabular« (2019/01/30 v0.2b) and I get no warnings. Please give me more hints. Add \listfiles before \begin{document} and show me the list of packages at the end of the .log file.

Rolf

krumeich commented 5 years ago

Sorry for keeping this open for so long. I've just installed TeXLive 2019.

The example below (sorry for renaming the file) shows the warning

warning (pdf backend): ignoring duplicate destination with the name 'table.1'

As requested, I've added \listfiles so you can see what files are loaded in the logfile.

Thanks for looking into this!

Alexander

test.tex.txt test.log

rolfn commented 5 years ago

I can confirm this issue. I will try to find out what happens.

krumeich commented 5 years ago

Any progress on this issue? Anything I can try to help?

rolfn commented 5 years ago

I think it's a matter of the order. The package xltabular should be loaded after hyperref in this case:

\listfiles
\documentclass[a4paper]{article}
\usepackage{hyperref}
\usepackage{xltabular}

\begin{document}

\begin{xltabular}[c]{\linewidth}{XXXX}
  Column 1 & Column 2 & Column 3 & Column 4 \\
  Column 1 & Column 2 & Column 3 & Column 4 \\
  \caption{4 beautiful columns}
\end{xltabular}

\end{document}
krumeich commented 5 years ago

Thank you! I can confirm that package order is the culprit here -- at least for the MWE. With my production code I still see loads of warnings. However there are many more packages involved, so I guess I need to analyze this a bit further with respect to implicit package loading. Thanks so far! Let's close this issue for now.