bugtex4ht - Bugs: bug #349, xr-hyper

 
 
Show feedback again

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

bug #349: xr-hyper

Submitted by:  Michal Hoftich <michal_h21>
Submitted on:  Tue Dec 20 23:39:29 2016  
 
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Wed Dec 21 23:06:02 2016, comment #1:

committed to tl, r42768.

Karl Berry <karl>
Project Administrator
Tue Dec 20 23:39:29 2016, original submission:

Victor Ivrii reported on TeXhax issue with xr-hyper package. I've found that the tex4ht configuration is identical with xr package. There are two issues: \externalcommand has additional optional argument in xr-hyper, it ends in the document, causing compilation error, because it is before \begin{document}. The other issue is that \newlabels defined by hyperref the aux file have 5 arguments instead of two, but tex4ht macros read only these two, so the rest of them is executed at wrong place.

I think I've fixed these issues and commited the fixes to the repo.

Sample files:

%%%%%%%% sample.tex
\documentclass[12pt]{memoir}
\usepackage{xr-hyper}
\usepackage{hyperref}
\usepackage{bookmark}
\usepackage{nameref}
\externaldocument[Alpha-]{Alpha}[**some url**]
\begin{document}
\ref{Alpha-three}....\nameref{Alpha-three}
\end{document}
%%%%%%%

%%%%%% Alpha.tex
\documentclass{article}

\usepackage{xr-hyper}
\usepackage{hyperref}
% \usepackage[capitalise,noabbrev]{cleveref}
\usepackage{nameref}
% \crefname{equation}{}{}

\begin{document}

\section{MyTitle}\label{three}

\end{document}

%%%%%%

Michal Hoftich <michal_h21>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by karl (Posted a comment)
  • -unavailable- added by karl
  • -unavailable- added by michal_h21 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    2 latest changes follow.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed Dec 21 23:06:02 2016karlOpen/ClosedOpen=>Closed
      Carbon-Copy-=>Added -unavailable-
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray