Skip to content
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

- changed definitions to global and \let to \edef so \lastframenumber… #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ferdinandyb
Copy link

@ferdinandyb ferdinandyb commented Nov 17, 2015

I hope I'm doing this right :)

… behaves correctly inside frames, with overlays and also outside of frames (i.e. that only one header is actually written per frame in all situations)

  • changed \newcommand to \newcommand<> to be overlay-aware, and passed overlay to \note
  • added an optional parameter to newcommand and passed it to \note to preserve \note[item] behaviour
  • added an \only<1> overlay to the actual writing of the notes to file, so even with overlay around, the notes are only written once to file

fixes #7

… behaves correctly inside frames, with overlays and also outside of frames (i.e. that only one header is actually written per frame in all situations)

- changed \newcommand to \newcommand<> to be overlay-aware, and passed overlay to \note
- added an optional parameter to newcommand and passed it to \note to preserve \note[item] behaviour
- added an \only<1> overlay to the actual writing of the notes to file, so even with overlay around, the notes are only written once to file
@cebe
Copy link
Owner

cebe commented Nov 17, 2015

Thanks! Will try to find some time to review it soon.

@cebe cebe self-assigned this Nov 17, 2015
@ferdinandyb
Copy link
Author

Have you had time to check it?

@mario-tux
Copy link

Consider its inclusion.

% write note to file
\immediate\write\pdfpcnotesfile{\unexpanded{#1}}%
% inside frame there's no point doing it twice if there's an overlay
\only<1>{\immediate\write\pdfpcnotesfile{\unexpanded{#2}}}%
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, sorry for the long delay. I finally found some time to check this pull request. I tested it with some of my old slides and found that this line breaks notes that are placed on slides that are repeated with \againframe{}. Notes only show up on the first slide and are then not displayed on further usages of that slide.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you have a solution to this?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll look into it!

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jesus time flies, but I saw the surge in interest and seems I have a little time on my hands:) Do you think it would be possible to make a few simple set of slides as a benchmark slides, so we can check what not to break?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the demo code in #16 an appropriate test case?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have created a tests folder and set up travis-ci tests to run them automatically. Will add more tests to verify current behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

\pnote doesn't work outside of frame
4 participants