Skip to content

Commit

Permalink
Merge pull request #212 from Dettorer/master
Browse files Browse the repository at this point in the history
kaobiblio: fix \sideparencite command (was not printing in margin)
  • Loading branch information
fmarotta authored Mar 27, 2022
2 parents deaac8a + cc72e59 commit 6d1449c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions kaobiblio.sty
Original file line number Diff line number Diff line change
Expand Up @@ -282,23 +282,23 @@
% With this we print the marker in the text and add the item to the bibliography at the end
\IfBooleanTF#1%
{\IfNoValueOrEmptyTF{#3}%
{\parencite*{#5}}%
{\parencite*{#5}\kaobiblio@sidecite{#5}}%
{\IfNoValueOrEmptyTF{#4}%
{\IfNoValueTF{#4}%
{\def\@tempa{\parencite*[#3]{#5}}}%
{\def\@tempa{\parencite*[#3][]{#5}}}% postnote is empty, so pass empty postnote
{\def\@tempa{\parencite*[#3]{#5}\kaobiblio@sidecite{#5}}}%
{\def\@tempa{\parencite*[#3][]{#5}\kaobiblio@sidecite{#5}}}% postnote is empty, so pass empty postnote
}%
{\def\@tempa{\parencite*[#3][#4]{#5}}}%
{\def\@tempa{\parencite*[#3][#4]{#5}\kaobiblio@sidecite{#5}}}%
}%
}%
{\IfNoValueOrEmptyTF{#3}%
{\def\@tempa{\parencite{#5}}}%
{\def\@tempa{\parencite{#5}\kaobiblio@sidecite{#5}}}%
{\IfNoValueOrEmptyTF{#4}%
{\IfNoValueTF{#4}%
{\def\@tempa{\parencite[#3]{#5}}}%
{\def\@tempa{\parencite[#3][]{#5}}}% postnote is empty, so pass empty postnote
{\def\@tempa{\parencite[#3]{#5}\kaobiblio@sidecite{#5}}}%
{\def\@tempa{\parencite[#3][]{#5}\kaobiblio@sidecite{#5}}}% postnote is empty, so pass empty postnote
}%
{\def\@tempa{\parencite[#3][#4]{#5}}}%
{\def\@tempa{\parencite[#3][#4]{#5}\kaobiblio@sidecite{#5}}}%
}%
}%
\ifkaobiblio@addspace%
Expand Down

0 comments on commit 6d1449c

Please sign in to comment.