Check-in [c13fd8e1d4]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:initial import
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:c13fd8e1d4fc1cc46135f7e3533370bd45a9d34a
User & Date: sg 2012-08-19 19:54:51
Context
2012-08-19
20:03
Add Makefile check-in: c0dfec53c7 user: sg tags: trunk
19:54
initial import check-in: c13fd8e1d4 user: sg tags: trunk
19:47
initial empty check-in check-in: 81a3244ae6 user: sg tags: trunk
Changes

Added HINT.

            1  +Quck PDF hack
            2  +-------------
            3  +
            4  +Tidy-up FO
            5  +
            6  +  % tidy -i --indent-spaces 1 -utf8 -raw -m test.fo
            7  +
            8  +& edit it
            9  +
           10  +  % vi test.fo
           11  +
           12  +E.g., `s/basic-link /&color="fuchsia" /g`, etc.
           13  +
           14  +then rebuild PDF
           15  +
           16  +  % fop -c fop.xconf test.fo test.pdf
           17  +

Added fop.xconf.

            1  +<?xml version="1.0"?>
            2  +<fop version="1.0">
            3  +  <base>.</base>
            4  +  <font-base>./fonts</font-base>
            5  +  <source-resolution>72</source-resolution>
            6  +  <target-resolution>72</target-resolution>
            7  +  <default-page-settings height="11in" width="8.26in" />
            8  +  <renderers>
            9  +    <renderer mime="application/pdf">
           10  +      <filterList>
           11  +        <value>flate</value>
           12  +      </filterList>
           13  +      <fonts>
           14  +        <font metrics-url="arial.xml" kerning="yes"
           15  +        embed-url="arial.ttf">
           16  +          <font-triplet name="sans-serif" style="normal"
           17  +          weight="normal" />
           18  +        </font>
           19  +        <font metrics-url="ariali.xml" kerning="yes"
           20  +        embed-url="ariali.ttf">
           21  +          <font-triplet name="sans-serif" style="italic"
           22  +          weight="normal" />
           23  +        </font>
           24  +        <font metrics-url="arialbd.xml" kerning="yes"
           25  +        embed-url="arialbd.ttf">
           26  +          <font-triplet name="sans-serif" style="normal"
           27  +          weight="bold" />
           28  +        </font>
           29  +        <font metrics-url="arialbi.xml" kerning="yes"
           30  +        embed-url="arialbi.ttf">
           31  +          <font-triplet name="sans-serif" style="italic"
           32  +          weight="bold" />
           33  +        </font>
           34  +        <font metrics-url="times.xml" kerning="yes"
           35  +        embed-url="times.ttf">
           36  +          <font-triplet name="serif" style="normal"
           37  +          weight="normal" />
           38  +        </font>
           39  +        <font metrics-url="timesi.xml" kerning="yes"
           40  +        embed-url="timesi.ttf">
           41  +          <font-triplet name="serif" style="italic"
           42  +          weight="normal" />
           43  +        </font>
           44  +        <font metrics-url="timesbd.xml" kerning="yes"
           45  +        embed-url="timesbd.ttf">
           46  +          <font-triplet name="serif" style="normal"
           47  +          weight="bold" />
           48  +        </font>
           49  +        <font metrics-url="timesbi.xml" kerning="yes"
           50  +        embed-url="timesbi.ttf">
           51  +          <font-triplet name="serif" style="italic"
           52  +          weight="bold" />
           53  +        </font>
           54  +        <font metrics-url="times.xml" kerning="yes"
           55  +        embed-url="times.ttf">
           56  +          <font-triplet name="Times New Roman" style="normal"
           57  +          weight="normal" />
           58  +        </font>
           59  +        <font metrics-url="timesi.xml" kerning="yes"
           60  +        embed-url="timesi.ttf">
           61  +          <font-triplet name="Times New Roman" style="italic"
           62  +          weight="normal" />
           63  +        </font>
           64  +        <font metrics-url="timesbd.xml" kerning="yes"
           65  +        embed-url="timesbd.ttf">
           66  +          <font-triplet name="Times New Roman" style="normal"
           67  +          weight="bold" />
           68  +        </font>
           69  +        <font metrics-url="timesbi.xml" kerning="yes"
           70  +        embed-url="timesbi.ttf">
           71  +          <font-triplet name="Times New Roman" style="italic"
           72  +          weight="bold" />
           73  +        </font>
           74  +        <font metrics-url="cour.xml" kerning="yes"
           75  +        embed-url="cour.ttf">
           76  +          <font-triplet name="monospace" style="normal"
           77  +          weight="normal" />
           78  +        </font>
           79  +        <font metrics-url="couri.xml" kerning="yes"
           80  +        embed-url="couri.ttf">
           81  +          <font-triplet name="monospace" style="italic"
           82  +          weight="normal" />
           83  +        </font>
           84  +        <font metrics-url="courbd.xml" kerning="yes"
           85  +        embed-url="courbd.ttf">
           86  +          <font-triplet name="monospace" style="normal"
           87  +          weight="bold" />
           88  +        </font>
           89  +        <font metrics-url="courbi.xml" kerning="yes"
           90  +        embed-url="courbi.ttf">
           91  +          <font-triplet name="monospace" style="italic"
           92  +          weight="bold" />
           93  +        </font>
           94  +      </fonts>
           95  +    </renderer>
           96  +    <renderer mime="application/postscript"></renderer>
           97  +    <renderer mime="application/vnd.hp-PCL"></renderer>
           98  +    <renderer mime="image/svg+xml">
           99  +      <format type="paginated" />
          100  +      <link value="true" />
          101  +      <strokeText value="false" />
          102  +    </renderer>
          103  +    <renderer mime="application/awt"></renderer>
          104  +    <renderer mime="image/png"></renderer>
          105  +    <renderer mime="image/tiff"></renderer>
          106  +    <renderer mime="text/xml"></renderer>
          107  +    <renderer mime="text/plain">
          108  +      <pageSize columns="80" />
          109  +    </renderer>
          110  +  </renderers>
          111  +</fop>

Added test.dot.

            1  +digraph G {
            2  +	rankdir=LR
            3  +	node [fontsize=12]
            4  +	Фу -> Бар -> Баз
            5  +}

Added test.txt.

            1  +Тест: A2X & FOP
            2  +===============
            3  +Sergei Gavrikov <sg@localhost>
            4  +v0.1, 2012-08-18
            5  +
            6  +== Тест
            7  +Тест
            8  +footnote:[Пример сноски.].
            9  +*Тест*. _Тест_. `Тест`
           10  +
           11  +.Листинг:
           12  +[source,tcl]
           13  +puts "Здравствуй, Мир!"
           14  +
           15  +.Компактный список
           16  +[options="compact"]
           17  +- Элемент 1
           18  +- Элемент 2
           19  +- Элемент 3
           20  +
           21  +.Простая таблица
           22  +[options="header",cols="^,^"]
           23  +|============
           24  +| Колонка 1 | Колонка 2
           25  +| Один | Два
           26  +|============
           27  +
           28  +== Еще один тест
           29  +.test.dot
           30  +=========
           31  +---------
           32  +digraph G {
           33  +	rankdir=LR
           34  +	node [fontsize=12]
           35  +	Фу -> Бар -> Баз
           36  +}
           37  +---------
           38  +=========
           39  +.Выполнен в Graphviz, терминал - svg
           40  +image::test.svg[]
           41  +
           42  +