forked from gitbuch/gitbuch_cc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathasciidoc-pdf.conf
17 lines (16 loc) · 888 Bytes
/
asciidoc-pdf.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Slightly modified from /etc/asciidoc/docbook45.conf as suggested by
# https://groups.google.com/forum/#!topic/asciidoc/zHXHvWXaCPY
[image-blockmacro]
<figure{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}{pgwide-option? pgwide="1"}><title>{title}</title>
{title%}<informalfigure{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>{pgwide-option?<?dbfo pgwide="1"?>}
# DocBook XSL Stylesheets custom processing instructions.
<?dbfo keep-together="{breakable-option#auto}"?>
<?dbfo keep-together="{unbreakable-option#always}"?>
<mediaobject>
<imageobject>
<imagedata fileref="{imagesdir=}{imagesdir?/}{target}"{scale? scale="{scale}"}{scaledwidth? width="{scaledwidth}" scalefit="1"}{align? align="{align}"}/>
</imageobject>
<textobject><phrase>{alt={target}}</phrase></textobject>
</mediaobject>
{title#}</figure>
{title%}</informalfigure>