pdfpc-latex-notes icon indicating copy to clipboard operation
pdfpc-latex-notes copied to clipboard

\pnote doesn't work outside of frame

Open ferdinandyb opened this issue 10 years ago • 7 comments
trafficstars

\let\lastframenumber\theframenumber should be \edef\lastframenumber{\theframenumber}

see this question on texexchange https://tex.stackexchange.com/questions/277430/debugging-in-latex-debugging-walkthrough-with-specific-example/277466#277466

ferdinandyb avatar Nov 09 '15 17:11 ferdinandyb

why should it? If you add a note outside of a frame, to which frame does it refer?

cebe avatar Nov 11 '15 22:11 cebe

All of them were gathered to the first frame.

ferdinandyb avatar Nov 11 '15 22:11 ferdinandyb

could you explain why you put pnotes between the frames and not inside them? For \note that may make sense but \pnote is tied to a frame as it will be shown next to the current frame in the presentation. For which frame should the pnote be added if it is between two frames?

cebe avatar Nov 12 '15 10:11 cebe

"You can then use the \pnote{} command like you used \note{} before. Behavior will be the same but it will additionally write notes to file in pdfpc readable format." From the way \note behaves outside a frame, I expected to have \pnote write them all to the preceding frame. Also, \pnote[item] is not implemented. I tried modifying the script: line 22 \newcommand{\pnote}[2][], line 24 \note[#1]{#2}, and line 36 \immediate\write\pdfpcnotesfile{\unexpanded{#2}}, but it didn't work (I obviously don't really understand what's going on here:D).

Btw, thanks for the package, it was a great help during my presentation :)

ferdinandyb avatar Nov 12 '15 12:11 ferdinandyb

To be honest I never read the full documentation of \note before I created this package :) I just implemented it based on what I knew about about it. May be worth checking the \note docs and implementing it correctly.

If you have time and want to dig into this, I am happy to merge a pull request. Have no time to work on this myself right now.

cebe avatar Nov 15 '15 13:11 cebe

I don't really understand how LaTeX works, but I'll try:)

ferdinandyb avatar Nov 15 '15 18:11 ferdinandyb

Hi, I think I solved the problem, and I think I made the right pull request but I'm not sure.

ferdinandyb avatar Nov 17 '15 11:11 ferdinandyb