File tree Expand file tree Collapse file tree 1 file changed +35
-28
lines changed
Expand file tree Collapse file tree 1 file changed +35
-28
lines changed Original file line number Diff line number Diff line change @@ -18,18 +18,25 @@ Please report any issues that you find when using this library.
1818* Installation
1919
2020 1. Install [[http://www.swipl-prolog.org][SWI-Prolog]].
21+
2122 2. Install [[https://github.com/wouterbeek/Prolog-Library-Collection][Prolog-Library-Collection]].
22- 3. Clone this library: ~git clone https://github.com/wouterbeek/graph_export~
23+
24+ 3. Clone this library: ~git clone
25+ https://github.com/wouterbeek/graph_export~.
26+
2327 4. Add the following line to your ~.swiplrc~ file:
2428
25- #+BEGIN_SRC prolog
26- user:file_search_path(library, '/your/path/to/prolog_graph_export/prolog').
27- #+END_SRC
29+ #+BEGIN_SRC prolog
30+ user:file_search_path(library, '/your/path/to/prolog_graph_export/prolog').
31+ #+END_SRC
2832
2933 5. In order to generate DOT visualizations, install GraphViz:
3034
31- - ~$ sudo apt install graphviz~ on Debian-based distro's (e.g., Ubuntu).
32- - ~$ sudo dnf install graphviz~ on Red Hat-based distro's (e.g., Fedora).
35+ - ~sudo apt install graphviz~ on Debian-based distro's (e.g.,
36+ Ubuntu).
37+
38+ - ~sudo dnf install graphviz~ on Red Hat-based distro's (e.g.,
39+ Fedora).
3340
3441* Usage
3542
@@ -303,30 +310,30 @@ Strings must adhere to the following BNF grammar for DOT HTML-like
303310labels:
304311
305312#+BEGIN_SRC bnf
306- label : text
307- | table
308- text : textitem
309- | text textitem
310- textitem : string
311- | <BR/>
312- | <FONT> text </FONT>
313- | <I> text </I>
314- | <B> text </B>
315- | <U> text </U>
316- | <O> text </O>
317- | <SUB> text </SUB>
318- | <SUP> text </SUP>
319- | <S> text </S>
313+ label : text
314+ | table
315+ text : textitem
316+ | text textitem
317+ textitem : string
318+ | <BR/>
319+ | <FONT> text </FONT>
320+ | <I> text </I>
321+ | <B> text </B>
322+ | <U> text </U>
323+ | <O> text </O>
324+ | <SUB> text </SUB>
325+ | <SUP> text </SUP>
326+ | <S> text </S>
320327table : [ <FONT> ] <TABLE> rows </TABLE> [ </FONT> ]
321- rows : row
322- | rows row
323- | rows <HR/> row
328+ rows : row
329+ | rows row
330+ | rows <HR/> row
324331row: <TR> cells </TR>
325- cells : cell
326- | cells cell
327- | cells <VR/> cell
328- cell: <TD> label </TD>
329- | <TD> <IMG/> </TD>
332+ cells : cell
333+ | cells cell
334+ | cells <VR/> cell
335+ cell: <TD> label </TD>
336+ | <TD> <IMG/> </TD>
330337#+END_SRC
331338
332339In addition to the above BNF grammar, tags are allowed to have
You can’t perform that action at this time.
0 commit comments