Skip to content

Commit

Permalink
Fix bib test warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
xueruini committed Jan 12, 2020
1 parent 603a83f commit 485d01e
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 54 deletions.
4 changes: 3 additions & 1 deletion build.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ checkengines = {"xetex"}
stdengine = "xetex"

checkconfigs = {
"build", "testfiles/config-cover", -- "testfiles/config-nomencl",
"build",
"testfiles/config-cover",
-- "testfiles/config-nomencl",

This comment has been minimized.

Copy link
@zepinglee

zepinglee Jan 13, 2020

Contributor

这个地方被注释掉,是因为 ci 的 makeindex 总是编译不过,具体原因未知

This comment has been minimized.

Copy link
@xueruini

xueruini Jan 15, 2020

Author Contributor

我试试,我以为这块不重要就注掉了

This comment has been minimized.

"testfiles/config-bib",
}

Expand Down
26 changes: 11 additions & 15 deletions testfiles/08-bib/08-bib-author-year.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -3584,7 +3584,7 @@ Completed box being shipped out [2]
...\glue 1.56854 plus 5.0 minus 2.0
...\glue(\parskip) 0.0
...\glue(\baselineskip) 6.3131
...\hbox(7.1984+2.29756)x402.70135, glue set 0.21309, shifted 24.09
...\hbox(7.1984+2.29756)x402.70135, glue set 0.1944, shifted 24.09
....\hbox(0.0+0.0)x-24.09
.....\glue -24.09
.....\glue -24.0
Expand All @@ -3597,13 +3597,6 @@ Completed box being shipped out [2]
......\special{color pop}
.....\glue 4.81792
....\penalty 0
....\TU/texgyretermes(0)/m/n/10.53937 ]
....\kern -0.0002
....\kern 0.0002
....\TU/texgyretermes(0)/m/n/10.53937 oclc2000about
....\kern -0.0002
....\kern 0.0002
....\glue 2.63484 plus 1.31741 minus 0.87828
....\TU/texgyretermes(0)/m/n/10.53937 Online
....\kern -0.00021
....\kern 0.00021
Expand All @@ -3627,7 +3620,7 @@ Completed box being shipped out [2]
....\kern -0.00021
....\kern 0.00021
....\glue 2.63484 plus 1.31741 minus 0.87828
....\TU/texgyretermes(0)/m/n/10.53937 [2000].
....\TU/texgyretermes(0)/m/n/10.53937 2000.
....\kern -0.00021
....\kern 0.00021
....\glue 2.63484 plus 1.31741 minus 0.87828
Expand All @@ -3653,18 +3646,21 @@ Completed box being shipped out [2]
....\glue 2.63484 plus 1.31741 minus 0.87828
....\TU/texgyretermes(0)/m/n/10.53937 cooperation
....\kern -0.00021
....\kern 0.0
....\glue(\rightskip) 0.0
...\penalty 4150
...\glue(\baselineskip) 6.3131
...\hbox(7.1984+2.29758)x402.70135, glue set 97.9977fil, shifted 24.09
....\kern 0.00021
....\glue 2.63484 plus 1.31741 minus 0.87828
....\TU/texgyretermes(0)/m/n/10.53937 [EB/OL].
....\kern -0.00021
....\kern 0.00021
....\glue 2.63484 plus 1.31741 minus 0.87828
....\glue 1.15933 plus 3.478 minus 0.73782
....\penalty 0
....\TU/texgyretermes(0)/m/n/10.53937 [....-..-..].
....\TU/texgyretermes(0)/m/n/10.53937 [2000-
....\discretionary
....\glue(\rightskip) 0.0
...\penalty 4250
...\glue(\baselineskip) 6.3131
...\hbox(7.1984+2.29758)x402.70135, glue set 169.99211fil, shifted 24.09
....\TU/texgyretermes(0)/m/n/10.53937 01-08].
....\kern -0.00021
....\kern 0.00021
....\glue 2.63484 plus 1.31741 minus 0.87828
Expand Down
20 changes: 8 additions & 12 deletions testfiles/08-bib/08-bib-bachelor.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -4780,7 +4780,7 @@ Completed box being shipped out [2]
...\glue 1.56854 plus 5.0 minus 2.0
...\glue(\parskip) 0.0
...\glue(\baselineskip) 8.36826
...\hbox(7.20892+2.29756)x404.41484, glue set 0.87686, shifted 22.37651
...\hbox(7.20892+2.29756)x404.41484, glue set 0.88542, shifted 22.37651
....\hbox(7.20892+1.64412)x0.0
.....\glue 0.0
.....\glue -17.5586
Expand All @@ -4796,13 +4796,6 @@ Completed box being shipped out [2]
......\special{color pop}
.....\glue 4.81792
....\penalty 0
....\TU/texgyretermes(0)/m/n/10.53937 ]
....\kern -0.0002
....\kern 0.0002
....\TU/texgyretermes(0)/m/n/10.53937 oclc2012about
....\kern -0.0002
....\kern 0.0002
....\glue 2.63484 plus 1.31741 minus 0.87828
....\TU/texgyretermes(0)/m/n/10.53937 Online
....\kern -0.00021
....\kern 0.00021
Expand Down Expand Up @@ -4850,16 +4843,19 @@ Completed box being shipped out [2]
....\kern -0.0002
....\kern 0.0002
....\penalty 0
....\glue(\rightskip) 0.0
...\penalty 4150
...\glue(\baselineskip) 6.3131
...\hbox(7.1984+2.29758)x404.41484, glue set 96.78123fil, shifted 22.37651
....\TU/texgyretermes(0)/m/n/10.53937 [EB/OL].
....\kern -0.00021
....\kern 0.00021
....\glue 2.63484 plus 1.31741 minus 0.87828
....\glue 1.15933 plus 3.478 minus 0.73782
....\TU/texgyretermes(0)/m/n/10.53937 2012
....\kern -0.0002
....\kern 0.0002
....\penalty 0
....\glue(\rightskip) 0.0
...\penalty 4150
...\glue(\baselineskip) 6.3131
...\hbox(7.1984+2.29758)x404.41484, glue set 140.6777fil, shifted 22.37651
....\TU/texgyretermes(0)/m/n/10.53937 [....-..-..].
....\kern -0.00021
....\kern 0.00021
Expand Down
23 changes: 10 additions & 13 deletions testfiles/08-bib/08-bib-inline.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -4576,7 +4576,7 @@ Completed box being shipped out [3]
...\glue 1.56854 plus 5.0 minus 2.0
...\glue(\parskip) 0.0
...\glue(\baselineskip) 8.37878
...\hbox(7.1984+2.29756)x404.41484, glue set 0.87688, shifted 22.37651
...\hbox(7.1984+2.29756)x404.41484, glue set 0.71088, shifted 22.37651
....\hbox(7.12462+1.64412)x0.0
.....\glue 0.0
.....\glue -17.5586
Expand All @@ -4592,13 +4592,6 @@ Completed box being shipped out [3]
......\special{color pop}
.....\glue 4.81792
....\penalty 0
....\TU/texgyretermes(0)/m/n/10.53937 ]
....\kern -0.0002
....\kern 0.0002
....\TU/texgyretermes(0)/m/n/10.53937 oclc2000about
....\kern -0.0002
....\kern 0.0002
....\glue 2.63484 plus 1.31741 minus 0.87828
....\TU/texgyretermes(0)/m/n/10.53937 Online
....\kern -0.00021
....\kern 0.00021
Expand Down Expand Up @@ -4644,17 +4637,21 @@ Completed box being shipped out [3]
....\glue 2.63484 plus 1.31741 minus 0.87828
....\TU/texgyretermes(0)/m/n/10.53937 cooperation
....\kern -0.00021
....\kern 0.0
....\glue(\rightskip) 0.0
...\penalty 4150
...\glue(\baselineskip) 6.3131
...\hbox(7.1984+2.29758)x404.41484, glue set 99.71118fil, shifted 22.37651
....\kern 0.00021
....\glue 2.63484 plus 1.31741 minus 0.87828
....\TU/texgyretermes(0)/m/n/10.53937 [EB/OL].
....\kern -0.00021
....\kern 0.00021
....\glue 2.63484 plus 1.31741 minus 0.87828
....\glue 1.15933 plus 3.478 minus 0.73782
....\TU/texgyretermes(0)/m/n/10.53937 2000
....\kern -0.0002
....\kern 0.0002
....\penalty 0
....\glue(\rightskip) 0.0
...\penalty 4150
...\glue(\baselineskip) 6.3131
...\hbox(7.1984+2.29758)x404.41484, glue set 143.60765fil, shifted 22.37651
....\TU/texgyretermes(0)/m/n/10.53937 [....-..-..].
....\kern -0.00021
....\kern 0.00021
Expand Down
23 changes: 10 additions & 13 deletions testfiles/08-bib/08-bib.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -4407,7 +4407,7 @@ Completed box being shipped out [2]
...\glue 1.56854 plus 5.0 minus 2.0
...\glue(\parskip) 0.0
...\glue(\baselineskip) 8.37878
...\hbox(7.1984+2.29756)x404.41484, glue set 0.87688, shifted 22.37651
...\hbox(7.1984+2.29756)x404.41484, glue set 0.71088, shifted 22.37651
....\hbox(7.12462+1.64412)x0.0
.....\glue 0.0
.....\glue -17.5586
Expand All @@ -4423,13 +4423,6 @@ Completed box being shipped out [2]
......\special{color pop}
.....\glue 4.81792
....\penalty 0
....\TU/texgyretermes(0)/m/n/10.53937 ]
....\kern -0.0002
....\kern 0.0002
....\TU/texgyretermes(0)/m/n/10.53937 oclc2000about
....\kern -0.0002
....\kern 0.0002
....\glue 2.63484 plus 1.31741 minus 0.87828
....\TU/texgyretermes(0)/m/n/10.53937 Online
....\kern -0.00021
....\kern 0.00021
Expand Down Expand Up @@ -4475,17 +4468,21 @@ Completed box being shipped out [2]
....\glue 2.63484 plus 1.31741 minus 0.87828
....\TU/texgyretermes(0)/m/n/10.53937 cooperation
....\kern -0.00021
....\kern 0.0
....\glue(\rightskip) 0.0
...\penalty 4150
...\glue(\baselineskip) 6.3131
...\hbox(7.1984+2.29758)x404.41484, glue set 99.71118fil, shifted 22.37651
....\kern 0.00021
....\glue 2.63484 plus 1.31741 minus 0.87828
....\TU/texgyretermes(0)/m/n/10.53937 [EB/OL].
....\kern -0.00021
....\kern 0.00021
....\glue 2.63484 plus 1.31741 minus 0.87828
....\glue 1.15933 plus 3.478 minus 0.73782
....\TU/texgyretermes(0)/m/n/10.53937 2000
....\kern -0.0002
....\kern 0.0002
....\penalty 0
....\glue(\rightskip) 0.0
...\penalty 4150
...\glue(\baselineskip) 6.3131
...\hbox(7.1984+2.29758)x404.41484, glue set 143.60765fil, shifted 22.37651
....\TU/texgyretermes(0)/m/n/10.53937 [....-..-..].
....\kern -0.00021
....\kern 0.00021
Expand Down
1 change: 1 addition & 0 deletions testfiles/08-bib/support/refs-bachelor.bib
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ @online{liqiang2012huajie
@online{oclc2012about,
author = {{Online Computer Library Center, Inc}},
title = {About {OCLC}: History of Cooperation},
year = {2012},
urldate = {2012-03-27},
url = {http://www.oclc.org/about/cooperation.en.html},
}
1 change: 1 addition & 0 deletions testfiles/08-bib/support/refs.bib
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ @online{xiaoyu2001chubanye
@online{oclc2000about,
author = {{Online Computer Library Center, Inc}},
title = {About {OCLC}: History of Cooperation},
year = {2000},
urldate = {2000-01-08},
url = {http://www.oclc.org/about/cooperation.en.htm},
}
Expand Down

2 comments on commit 485d01e

@zepinglee
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这两条 bib entry 没给出年份,所以报 warning 是标准行为;
Screen Shot 2020-01-13 at 10 09 08 AM

不过去掉 warning 也更方便一些。

@xueruini
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不过去掉 warning 也更方便一些。

是的,就是看着烦

Please sign in to comment.