#981018 pdf-presenter-console: LaTeX demo is not distributed and cannot be composed

Package:
pdf-presenter-console
Source:
pdf-presenter-console
Description:
multi-monitor presentation tool (ala Keynote) for PDF files
Submitter:
Jerome Benoit
Date:
2021-01-26 14:51:04 UTC
Severity:
minor
#981018#5
Date:
2021-01-25 16:06:21 UTC
From:
To:
Dear Maintainer.

It appears that the demo material is not distributed.
More importantly, the LaTeX demo cannot be composed.
There is an option clash for the package color:

	! LaTeX Error: Option clash for package color.

I could not figure out how to fix it.

Cheers,
Jerome

#981018#10
Date:
2021-01-25 20:52:05 UTC
From:
To:
Thanks for the report.

I think there are really two issues here.

(a) the demo/ source directory is not included in the package

(b) you're having trouble LaTeXing the demos

Issue (a) is absolutely not ideal. I'm considering including them in
/usr/share/doc/pdf-presenter-console/examples/ but fiddling around to
have the Makefile just invoke latexmk, and adding a latexmkrc, and not
including the video files instead having the Makefile download them.
Including the video files seems like overkill. Of course, they need
pdfpc.sty in texlive-latex-extra. Maybe the package should Suggest:
them? That seems like overkill. Maybe this stuff should be in a
separate -doc or -demo package? That seems a bit silly. I suppose
adding a check to the Makefile that issues a warning if those packages
are not installed might be the best compromise.

Which brings us to (b). Both the demos work fine for me (using plain
old "latexmk --pdf"). Under debian testing. Do you have
texlive-latex-extra installed? If so, please install latexmk and send
a full transcript of

$ cd demo
$ latexmk --pdf -gg pdfpc-demo.tex
$ cd pdfpc-video-example
$ latexmk --pdf -gg video-example.tex

and I'll see if I can diagnose the problem.

#981018#15
Date:
2021-01-25 22:07:26 UTC
From:
To:
Don't the upstream Makefile's suffice?

In principle, it's possible to use URL instead of a local file in
\movie, e.g.,
<https://github.com/pdfpc/pdfpc/raw/master/demo/pdfpc-video-example/apollo17.avi>.
Of course, one would need an Internet connection when opening the
presentation.

Actually, the demos currently do not need it. Which is not to say that
including pdfpc.sty in texlive-latex-extra is wrong, of course :).

#981018#20
Date:
2021-01-25 22:38:14 UTC
From:
To:
That's an idea. Maybe as an option, guarded by latex \if tricks,
enabled by default.

Ah, right. Good point!

#981018#25
Date:
2021-01-26 14:34:29 UTC
From:
To:
Hi, thanks for your quick replies.

By reading your comment, I realized that I should try in a testing chroot environment.
So I tried: I can compose the two demos in testing.

Meanwhile, I noticed that the upstream source ball contains some .git* files.

Otherwise, I think that distributing the demo material as-is is a very good idea.
If you find the video too heavy, you can replace it with a shorter version of it.
The Makefile files are simple and illustrative. Personally, I not a huge fan of latexmk,
and write make own GNUmakefile.

Best wishes,
Jerome