Re: [ww-users] oops
Status: Beta
Brought to you by:
worden
From: Lee W. <wor...@gm...> - 2011-06-17 01:03:01
|
I've looked in (my copy of) the WW makefiles. It does seem to be somewhat wrong, but I'm not sure about this followup issue. I don't think this line should have any effect on how latexml runs. WorkingWiki's makefiles handle dependencies in .tex files by making an auxiliary makefile "document.d" for each file "document.tex". There are three relevant lines there. If document.tex contains \includegraphics{figure} document.d will contain: document.pdf document.latex.pdf : figure.eps because if we run latex it will look for figure.eps [document.pdf is made using latex, the same as document.latex.pdf]. Next document.pdflatex.pdf document.xelatex.pdf : figure.pdf because pdflatex and xelatex will look for figure.pdf. Then for latexml: document.latexml.xhtml document.latexml.html : figure.pdf This seems to be the problem. As you say, latex is the default, so why not put figure.eps here? As far as I can see from the latexml source, it will accept eps, png, pdf, and various other file types here - I don't know in what order of precedence. I seem to have three options: make document.latexml.* depend on figure.pdf, as we have now This works when the document is written for pdflatex, and fails when it's written for latex. "Fails" means it refuses to run latexml because it can't make figure.pdf, even though figure.eps is provided and would work fine. make it depend on figure.eps instead This works on documents written for latex and fails if the document is written for pdflatex. make it not depend on either In this case, it won't refuse to run latexml outright when the guess is wrong about which file to look for. Unfortunately, there will be times when the figure is updated - or when the figure wasn't there but now you've uploaded it - and it won't rerun latexml. I'll change to not depending on either, but if anyone has a better idea I'm interested. Thank you for the report. If I've misunderstood and you are actually reporting a failure to make a .pdf file, not a .xhtml file, let me know. Lee On 06/15/11 09:12, Peter L. Ralph wrote: > OK, it is due to my not understanding something. Deleting a line in > the makefile made the problem dissappear. Now my question is why having > > debug-nup.pdf: debug-page.latex.pdf > pdfnup --nup 2x1 --outfile $@ $^ > > in the makefile should cause it to use pdflatex rather than latex? > > I'm still having the same problem in an actual project, and can't find > anything that might be telling it to use pdflatex. In fact the string > "pdf" doesn't appear in the page with the latex on it, or any of the > makefiles associated with the project. > > ???, peter. > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > workingwiki-users mailing list > wor...@li... > https://lists.sourceforge.net/lists/listinfo/workingwiki-users |