friendly / VCDR

Visualizing categorical data with R
0 stars 0 forks source link

testing VCDR.zip #71

Closed friendly closed 8 years ago

friendly commented 8 years ago

I just updated the VCDR.zip file to be sent to the publisher. Can someone unzip it to a clean directory and run pdflatex book to make sure that all necessary files are there. The texlive distro on my linux machine is too out of date.

sciencegraph commented 8 years ago

The ch??.Rnw files are missed:

knit2pdf("book.Rnw", output="Book-11-11-15.tex", quiet=TRUE ) Quitting from lines 237-237 (./ch01.Rnw) Error in readLines(if (is.character(input2)) { : cannot open the connection In addition: Warning message: In readLines(if (is.character(input2)) { : cannot open file './ch01.Rnw': No such file or directory

friendly commented 8 years ago

No, I'm not submitting the .Rnw files -- just the files needed for them to run pdflatex book --- i.e., all .tex related files.

davidjohannesmeyer commented 8 years ago

Basically, works for me---but I had to use

texi2pdf book.tex

instead of

pdflatex book.tex

to get the references right

(texi2pdf normally does pdflatex -> bibtex -> pdflatex --> pdflatex.)

On 2015-11-11 16:05, Michael Friendly wrote:

I just updated the VCDR.zip file to be sent to the publisher. Can someone upzip it to a clean directory and run |pdflatex book| to make sure that all necessary files are there. The texlive distro on my linux machine is too out of date.

— Reply to this email directly or view it on GitHub https://github.com/friendly/VCDR/issues/71.

sciencegraph commented 8 years ago

When I first run it with pdflatex, it misses the sfheaders.sty. Not sure way this package is not automatically downloaded. So I need to add the sfheaders.sty file to the folder.

If I rerun pdflatex -> bibliography -> pdflatex -> pdflatex

I get some errors dealing with the index.

friendly commented 8 years ago

sfheaders.sty might not be standard? What are the index errors?

sciencegraph commented 8 years ago

When I run pdflatex -> bibliography -> makeindex -> pdflatex -> pdflatex I still get the same errors.

First I have to add the sfheaders.sty and finally I get the following errors errors

davidjohannesmeyer commented 8 years ago

On 2015-11-11 17:25, sciencegraph wrote:

When I first run it with pdflatex, it misses the sfheaders.sty. Not sure way this package is not automatically downloaded. So I need to add the sfheaders.sty file to the folder.

Confirmed---I had copied this already into my texmf/ tree, so it was found there.

If I rerun pdflatex -> bibliography -> pdflatex -> pdflatex

I get some errors dealing with the index.

I had no problems with the index, but I get this one:

LaTeX Warning: Reference `fig:hec-mos1' on page 179 undefined on input line 129 90.

I guess this should be fig:HEC-mos1.

— Reply to this email directly or view it on GitHub https://github.com/friendly/VCDR/issues/71#issuecomment-155834721.

sciencegraph commented 8 years ago

Do they need the tex file or just the pdf file?

friendly commented 8 years ago

@davidjohannesmeyer : good catch. Will fix fig:hec-mos1. @sciencegraph : They do seem to need all the tex files, because they add some front-matter pages.

sciencegraph commented 8 years ago

The line in xmp.ilg that gives error is: \item TV viewing data, "BackslashLeft Parenthesis"{231}, 58--232

In the book.ind file, all the errors have the same source: the "BackslashLeft Parenthesis" string

davidjohannesmeyer commented 8 years ago

For me, these give only warnings (and are ignored subsequently).

On 2015-11-11 18:21, sciencegraph wrote:

The line in xmp.ilg that gives error is: \item TV viewing data, ({231}, 58--232

In the book.ind file, all the errors have the same source: the "(" string

— Reply to this email directly or view it on GitHub https://github.com/friendly/VCDR/issues/71#issuecomment-155851662.

friendly commented 8 years ago

Resolved, via @mattsigal work