Commit 5462ac67 authored by Bernhard Heinloth's avatar Bernhard Heinloth
Browse files

Do not autogroup in pdfpc - fix issue of pdfpc notes on wrong page

parent 54db61db
...@@ -54,7 +54,7 @@ preview-%: %.tex $(wildcard *.bib) $(PACKAGE_TGT) $(CACHE_DIR) ...@@ -54,7 +54,7 @@ preview-%: %.tex $(wildcard *.bib) $(PACKAGE_TGT) $(CACHE_DIR)
@cd $(dir $< ) && $(COMPILE_TEX) $(notdir $<) -pvc -interaction=nonstopmode -view=pdf @cd $(dir $< ) && $(COMPILE_TEX) $(notdir $<) -pvc -interaction=nonstopmode -view=pdf
pdfpc-%: %.pdf pdfpc-%: %.pdf
@pdfpc -p -C $< @pdfpc -g -p -C $<
evince-%: %.pdf evince-%: %.pdf
@evince $< @evince $<
......
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
\endgroup \endgroup
\def\lastframenumber{0} \def\lastpage{0}
% define command \pnote{} that works like note but % define command \pnote{} that works like note but
% additionally writes notes to file in pdfpc readable format % additionally writes notes to file in pdfpc readable format
...@@ -88,11 +88,11 @@ ...@@ -88,11 +88,11 @@
\note{#1}% \note{#1}%
% if frame changed - write a new header % if frame changed - write a new header
\ifdim\theframenumber pt>\lastframenumber pt \ifdim\thepage pt>\lastpage pt
\let\lastframenumber\theframenumber \let\lastpage\thepage
\begingroup \begingroup
\let\#\hashchar \let\#\hashchar
\immediate\write\pdfpcnotesfile{\#\#\# \theframenumber}% \immediate\write\pdfpcnotesfile{\#\#\# \thepage}%
\endgroup \endgroup
\fi \fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment