I am not new to LaTeX, but I have never really written an actual LaTeX script and so I have trouble debugging the one I have. I will post the specific problem, so there is something I can grab unto, but I actually want to understand and solve the specific problem AND understand how this can be usually done. So the problem itself:
I am using beamer and am trying to use the package pdfpcnotes to increase the functionality of the note command (this is the git repo: https://github.com/cebe/pdfpc-latex-notes/blob/master/pdfpcnotes.sty)
Here's my mwe:
\documentclass[]{beamer}
\usepackage{pdfpcnotes}
\begin{document}
\frame{
\frametitle{1. frame}
}
\pnote{first note}
\frame{
\frametitle{2. frame}
}
\pnote{second note}
\end{document}
Running pdflatex on this produces the following output into mwe.pdfpc:
[notes]
### 1
first note
second note
but really it should be
[notes]
### 1
first note
### 2
second note
The problem itself is going to be around the if-else part of the script. Could somebody post a walkthrough on how such a problem could be solved? I find it extremely hard to wrap my head around how LaTeX works and how you can get internal information out of it.
ifstatement on lines 27-33 ofpdfpcnotes.sty? – Arun Debray Nov 09 '15 at 14:14pdfpcnotes.styonly get called once. – fbence Nov 09 '15 at 16:07