Skip to content

Commit

Permalink
Clarify description for vt
Browse files Browse the repository at this point in the history
  • Loading branch information
inariksit authored Apr 29, 2024
1 parent 2f31bba commit b855a09
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions doc/tutorial/gf-tutorial.t2t
Original file line number Diff line number Diff line change
Expand Up @@ -1265,10 +1265,16 @@ Human eye may prefer to see a visualization: ``visualize_tree = vt``:
> parse "this delicious cheese is very Italian" | visualize_tree
```
The tree is generated in postscript (``.ps``) file. The ``-view`` option is used for
telling what command to use to view the file. Its default is ``"open"``, which works
on Mac OS X. On Ubuntu Linux, one can write
telling what command to use to view the file.

This works on Mac OS X:
```
> parse "this delicious cheese is very Italian" | visualize_tree -view=open
```
On Linux, one can write either of
```
> parse "this delicious cheese is very Italian" | visualize_tree -view="eog"
> parse "this delicious cheese is very Italian" | visualize_tree -view=xdg-open
```


Expand Down

0 comments on commit b855a09

Please sign in to comment.