Skip to contentSkip to conversation

bib/perfmeas: Fix doi of McKenney99b

PATCH In review Akira Yokosawa 3 participants 4 messages Jan 21, 2022 – Jan 24, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bib/perfmeas: Fix doi of McKenney99b

Escape sequences of "%3C" and "%3E" in doi cause a build error when "inlinelinks" option in alphapf.bst is set #0 (URLs explicit).

Fix the error by using non-escaped symbols of "<" and ">" instead.

Fixes 62c6a33781d9 ("bib: url/doi updates")

---
Hi Zhouyi,

Prompted by your patch "RFC: make some bibliography items better", I tested an option in alphapf.bst (bibliography style file of perfbook), namely "inlinelinks".
By setting "#0" to inlinelink (URLs explicit), URL and DOI info in .bib files should be printed in Bibliography.

However, the build failed with McKenney99b.

This patch should fix the build error.

You still need to manually edit alphapf.bst, but please try setting "#0" to inlinelink.

As you will see, if a bibliography has DOI info, URL info in the note field is redundant when the URL is the one reachable via the DOI.

Thanks, Akira
--

 bib/perfmeas.bib | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
bib/perfmeas.bib +1 -1
index 9ba80cfc..51f63bb7 100644
@@ -83,7 +83,7 @@ Machine Language Rewriting",
  year = {1999},
  pages = {219-234},
  bibsource = {DBLP, http://dblp.uni-trier.de},
- doi = {10.1002/(SICI)1097-024X(199903)29:3%3C219::AID-SPE230%3E3.0.CO;2-0}
+ doi = {10.1002/(SICI)1097-024X(199903)29:3<219::AID-SPE230>3.0.CO;2-0}
 }
 
 @Book{Menasce94,

base-commit: cd891db680ae978f5efa362cbdc074483f07042a

Signature · 1 line
2.17.1
#1 lore raw

Thank Akira for your elaborate master work!

1. I edited the alphapf.bst, setting "#0" to inlinelink
2. apply the patch to perfmeas.bib
3. invoke "make clean" (this step is necessary if I have invoked "make" before)
4. invoke "make", and it works!

I will prepare a revised version of my patch later today.

Many thanks
Sincerely
Zhouyi

Quoted 51 lines · Akira Yokosawa

Escape sequences of "%3C" and "%3E" in doi cause a build error when "inlinelinks" option in alphapf.bst is set #0 (URLs explicit).

Fix the error by using non-escaped symbols of "<" and ">" instead.

Fixes 62c6a33781d9 ("bib: url/doi updates")

---
Hi Zhouyi,

Prompted by your patch "RFC: make some bibliography items better", I tested an option in alphapf.bst (bibliography style file of perfbook), namely "inlinelinks".
By setting "#0" to inlinelink (URLs explicit), URL and DOI info in .bib files should be printed in Bibliography.

However, the build failed with McKenney99b.

This patch should fix the build error.

You still need to manually edit alphapf.bst, but please try setting "#0" to inlinelink.

As you will see, if a bibliography has DOI info, URL info in the note field is redundant when the URL is the one reachable via the DOI.

Thanks, Akira
--

 bib/perfmeas.bib | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
bib/perfmeas.bib +1 -1
index 9ba80cfc..51f63bb7 100644
@@ -83,7 +83,7 @@ Machine Language Rewriting",
  year = {1999},
  pages = {219-234},
  bibsource = {DBLP, http://dblp.uni-trier.de},
- doi = {10.1002/(SICI)1097-024X(199903)29:3%3C219::AID-SPE230%3E3.0.CO;2-0}
+ doi = {10.1002/(SICI)1097-024X(199903)29:3<219::AID-SPE230>3.0.CO;2-0}
 }
 
 @Book{Menasce94,

base-commit: cd891db680ae978f5efa362cbdc074483f07042a --
2.17.1

#2 lore raw
In reply to Akira Yokosawa
Quoted 7 lines · Akira Yokosawa

Escape sequences of "%3C" and "%3E" in doi cause a build error when "inlinelinks" option in alphapf.bst is set #0 (URLs explicit).

Fix the error by using non-escaped symbols of "<" and ">" instead.

Fixes 62c6a33781d9 ("bib: url/doi updates")

Paul,

You might be confused but I expected you would apply this fix as well.

Thanks, Akira

Quoted 40 lines

---
Hi Zhouyi,

Prompted by your patch "RFC: make some bibliography items better", I tested an option in alphapf.bst (bibliography style file of perfbook), namely "inlinelinks".
By setting "#0" to inlinelink (URLs explicit), URL and DOI info in .bib files should be printed in Bibliography.

However, the build failed with McKenney99b.

This patch should fix the build error.

You still need to manually edit alphapf.bst, but please try setting "#0" to inlinelink.

As you will see, if a bibliography has DOI info, URL info in the note field is redundant when the URL is the one reachable via the DOI.

Thanks, Akira
--

 bib/perfmeas.bib | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
bib/perfmeas.bib +1 -1
index 9ba80cfc..51f63bb7 100644
@@ -83,7 +83,7 @@ Machine Language Rewriting",
  year = {1999},
  pages = {219-234},
  bibsource = {DBLP, http://dblp.uni-trier.de},
- doi = {10.1002/(SICI)1097-024X(199903)29:3%3C219::AID-SPE230%3E3.0.CO;2-0}
+ doi = {10.1002/(SICI)1097-024X(199903)29:3<219::AID-SPE230>3.0.CO;2-0}
 }
 
 @Book{Menasce94,

base-commit: cd891db680ae978f5efa362cbdc074483f07042a

#3 lore raw
Quoted 6 lines · Akira Yokosawa
Quoted 5 lines · Akira Yokosawa

Escape sequences of "%3C" and "%3E" in doi cause a build error when "inlinelinks" option in alphapf.bst is set #0 (URLs explicit).

Fix the error by using non-escaped symbols of "<" and ">" instead.

Quoted 7 lines
Quoted 2 lines
Fixes 62c6a33781d9 ("bib: url/doi updates")

Paul,

You might be confused but I expected you would apply this fix as well.

You are quite right, I was confused! I am not sure why I was confused, but whatever the reason, I have now queued and pushed this patch. Thank you both for the patch and for the reminder!

Thanx, Paul

Quoted 42 lines

Thanks, Akira

Quoted 40 lines

---
Hi Zhouyi,

Prompted by your patch "RFC: make some bibliography items better", I tested an option in alphapf.bst (bibliography style file of perfbook), namely "inlinelinks".
By setting "#0" to inlinelink (URLs explicit), URL and DOI info in .bib files should be printed in Bibliography.

However, the build failed with McKenney99b.

This patch should fix the build error.

You still need to manually edit alphapf.bst, but please try setting "#0" to inlinelink.

As you will see, if a bibliography has DOI info, URL info in the note field is redundant when the URL is the one reachable via the DOI.

Thanks, Akira
--

 bib/perfmeas.bib | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
bib/perfmeas.bib +1 -1
index 9ba80cfc..51f63bb7 100644
@@ -83,7 +83,7 @@ Machine Language Rewriting",
  year = {1999},
  pages = {219-234},
  bibsource = {DBLP, http://dblp.uni-trier.de},
- doi = {10.1002/(SICI)1097-024X(199903)29:3%3C219::AID-SPE230%3E3.0.CO;2-0}
+ doi = {10.1002/(SICI)1097-024X(199903)29:3<219::AID-SPE230>3.0.CO;2-0}
 }
 
 @Book{Menasce94,

base-commit: cd891db680ae978f5efa362cbdc074483f07042a