From e530248a0c4b1fc310d9f269c402f0703096b2f0 Mon Sep 17 00:00:00 2001 From: albert-github Date: Fri, 31 Jul 2020 12:12:25 +0200 Subject: Incorrect representation of citation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In case we have a bibtex entry like: ``` @manual{ cgal:as-lum ,author = {Algorithmic Solutions} ,title = {The {LEDA} {U}ser {M}anual} ,organization = {Algorithmic Solutions} ,address = {66123 Saarbr\"ucken, Germany} ,url = {http://www.algorithmic-solutions.info/leda_manual/MANUAL.html} } ``` this is rendered / referenced like: ``` [Solutions] Algorithmic Solutions. The LEDA User Manual. Algorithmic Solutions, 66123 Saarbrücken, Germany. ``` instead of ``` [2] Algorithmic Solutions. The LEDA User Manual. Algorithmic Solutions, 66123 Saarbrücken, Germany. ``` The problem is that in the resulting "bbl" file from the bibtex command we have the line: ```
[Solutions]
\bibxhtmlname{Algorithmic Solutions}. ``` instead of (from another entry): ```
[Merigot et~al., 2011]
\bibxhtmlname{Quentin Merigot}, \bibxhtmlname{Maks ``` Note the `\n` after the `) { next loop; } $nentry++; - ($bcite, $blabel) = m+
\[([^\]]*)\]
+; + ($bcite, $blabel) = m+
\[([^\]]*)\]
+; $blabel = "$nentry"; $bibcite{$bcite} = $blabel; } @@ -222,7 +222,7 @@ while () { } s/\%\n//g; s/(\.(<\/cite>|<\/a>|\')+)\./$1/g; - s:(
\[)[^\]]*(\]
):$1$nentry$2:; + s:(
\[)[^\]]*(\]
):$1$nentry$2:; while (m/(\\(cite(label)?)(\001\d+)\{([^\001]+)\4\})/) { $old = $1; $cmd = $2; -- cgit v0.12