1. Shlomi Fish
  2. asciidoc

Commits

Stuart Rackham  committed f3fa860

a2x: Enable admonition icons in example EPUBs.

  • Participants
  • Parent commits bb2d2b5
  • Branches default

Comments (0)

Files changed (2)

File a2x.py

View file
                 self.resource_dirs.append(r)
             else:
                 self.resource_files.append(r)
-        # Lastly search among images and stylesheets distributed with asciidoc.
         for p in (os.path.dirname(self.asciidoc), CONF_DIR):
             for d in ('images','stylesheets'):
                 d = os.path.join(p,d)

File doc/main.aap

View file
 #####################################################################
 
 :rule %.epub : %.txt
-    :sys $A2X -f epub -d book --epubcheck $source
+    :sys $A2X -f epub -d book --epubcheck --icons $source
 
 :rule %.text : %.txt
     # Convert AsciiDoc to HTML then use lynx(1) to convert HTML to text.