-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cross refs with memoir and beamerarticle broken #39
Comments
If you get a minimal working example, I'll have a look. Past experiences with |
Trying to make the MWE, I encountered this:
Compiling as follows: noweave -delay -n -x test.nw > test.tex
pdflatex test.tex
pdflatex test.tex Gives the following error:
This seems related. Probably I have another package that originally made it compile without errors, but with the malformed output. To be continued ... Edit: Checked if
|
Switching from
|
I've confirmed that the bug occurs using Running with tracing on, near as I can tell the Beamer package is taking over
As far as I can tell, noweb is using |
Great, thanks a lot! I should have a look at Beamer and check in with the Beamer maintainer. Did you also look at the pure The two cases to compare are \documentclass{article}
\usepackage{noweb}
\begin{document}
@
<<test>>=
print("Hello, world!")
@
\end{document} and \documentclass[oldfontcommands]{memoir}
\usepackage{noweb}
\begin{document}
@
<<test>>=
print("Hello, world!")
@
\end{document} |
I get the following broken output when using the
memoir
class with cross-refs enabled:Turning off cross-refs works, of course.
Adding
hyperref
to the preamble, makes it work as it should:Adding
cleveref
after that also works.I have no idea why it breaks with
memoir
without thehyperref
package, further investigation pending. I'll put this here for now, it might help someone in the meantime. (Took me a while to figure this out. I realized it must be related tohyperref
after recognizing thatnoweb.
prefix in section 2.11 Support for hypertext of/src/tex/support.nw
.)Final note: The code that is broken with
memoir
works whenarticle
is used instead ofmemoir
, i.e. without thehyperref
package and cross-refs enabled.The text was updated successfully, but these errors were encountered: