Benjamin-Loison / latex2e

The LaTeX2e kernel
https://www.latex-project.org/
LaTeX Project Public License v1.3c
0 stars 0 forks source link

Draft compilation while keeping links #22

Open Benjamin-Loison opened 1 month ago

Benjamin-Loison commented 1 month ago

Not the case with Kile and PDFLaTeX.

While have links with Overleaf Compile Mode Fast [draft].

Related to Benjamin_Loison/overleaf/issues/31.

Brief outline of the enhancement

LaTeX2e generally cannot add new features without an extreme amount of care to accommodate backwards compatibility. Please do not be offended if your request is closed for being infeasible.

Minimal example showing the current behaviour

\RequirePackage{latexbug}       % <--should be always the first line (see CONTRIBUTING)!
\documentclass{article}

  % Any preamble code goes here

\begin{document}

  % Demonstration of issue here

\end{document}

Minimal example showing the desired new behaviour

\RequirePackage{latexbug}       % <--should be always the first line (see CONTRIBUTING)!
\documentclass{article}

  % Any preamble code goes here

\begin{document}

  % Demonstration of issue here

\end{document}
Benjamin-Loison commented 1 month ago

Using \usepackage[draft]{graphicx} instead of \usepackage{graphicx}, as suggested in the Tex Stack Exchange comment 560183 does not seem to make compilation faster in the context of Benjamin_Loison/overleaf/issues/31#issue-1334.

Benjamin-Loison commented 1 month ago

The Tex Stack Exchange answer 66063 solves this issue.

Benjamin-Loison commented 1 month ago

On Overleaf links work fine with \hypersetup{final} no matter [draft] in \documentclass[draft]{ipol} and Compile Mode.

Benjamin-Loison commented 1 month ago

What is the purpose of disabling links when in draft mode?