如何在 asciidoctor 参考书目上指定默认标签

How to specify a default label on a asciidoctor bibliograpy

我正在努力为参考书目条目定义默认标签。参考显示正确坚韧。

The ref: <<some-um2>>, default text.

[bibliography]
== Bibliography

[bibliography]

- *[[[some-um2,SOME User Manual2]]]* SOME User Manual, 2017

渲染如下:

The ref: SOME User Manual2, default text.

Bibliography

[] SOME User Manual, 2017

如何修复参考书目条目上的空方括号?

我正在使用 asciidoctor-maven-plugin:1.5.5:process-asciidoc (asciidoc-to-docbook)

我认为 asciidoctor 不喜欢引用周围的 *。如果您删除它们,它会起作用。

The ref: <<some-um2>>, default text.                      

[bibliography]                                            
== Bibliography                                           

[bibliography]                                            

- [[[some-um2,SOME User Manual2]]] SOME User Manual, 2017 

呈现给

经过一些实验,以下语法似乎可行:

The ref: <<some-um2>>, default text.                      

[bibliography]                                            
== Bibliography                                           

[bibliography]                                            

- [[[some-um2,SOME User Manual2]]SOME User Manual77] SOME User Manual, 2017 

产生:

The ref: SOME User Manual2, default text.

Bibliography

[SOME User Manual77] SOME User Manual, 2017