Skip to content

Commit

Permalink
Version 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yohasebe committed Aug 26, 2024
1 parent 4710348 commit 2e62e54
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 11 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ Usage:
2) rsyntaxtree [options] "/path/to/text/file"
where [options] are:
-o, --outdir=<s> Output directory (default: ./)
-u, --outfilename=<s> Output file base name (default: syntree)
-f, --format=<s> Output format: png, gif, jpg, pdf, or svg (default: png)
-l, --leafstyle=<s> visual style of tree leaves: auto, triangle, bar, or nothing (default: auto)
-n, --fontstyle=<s> Font style (available when ttf font is specified): sans, serif, cjk, mono (default: sans)
Expand All @@ -97,11 +98,11 @@ See the [documentation](https://yohasebe.github.io/rsyntaxtree/documentation) fo
Please use the following BibTeX entry when referring to RSyntaxTree.

```
@misc{rsyntaxtree_2023,
@misc{rsyntaxtree_2024,
author = {Yoichiro Hasebe},
title = {RSyntaxTree: A graphical syntax tree image generator}
url = {https://yohasebe.com/rsyntaxtree},
year = {2023}
year = {2024}
}
```

Expand Down
2 changes: 1 addition & 1 deletion bin/rsyntaxtree
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require_relative '../lib/rsyntaxtree'
require_relative '../lib/rsyntaxtree/utils'

opts = Optimist.options do
version "RSyntaxTree #{RSyntaxTree::VERSION} (c) 2023 Yoichiro Hasebe"
version "RSyntaxTree #{RSyntaxTree::VERSION} (c) 2024 Yoichiro Hasebe"
banner <<~BANNER
RSyntaxTree, (linguistic) syntax tree generator written in Ruby.
Expand Down
2 changes: 1 addition & 1 deletion docs/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ <h2 class="project-tagline">{{ page.description | default: site.description | de
{{ content }}

<footer class="site-footer" style='border-top-width: 0; text-align: center;'>
<div> <span class="site-footer-credits">© Yoichiro HASEBE 2009-2023</span></div>
<div> <span class="site-footer-credits">© Yoichiro HASEBE 2009-2024</span></div>
{% include social_media_links.html %}
</footer>
</main>
Expand Down
2 changes: 1 addition & 1 deletion lib/rsyntaxtree.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#
# Facade of rsyntaxtree library. When loaded by a driver script, it does all
# the necessary 'require' to use the library.
# Copyright (c) 2007-2023 Yoichiro Hasebe <[email protected]>
# Copyright (c) 2007-2024 Yoichiro Hasebe <[email protected]>

FONT_DIR = File.expand_path(File.join(__dir__, "/../fonts"))
ETYPE_NODE = 1
Expand Down
2 changes: 1 addition & 1 deletion lib/rsyntaxtree/base_graph.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#==========================
#
# Image utility functions to inspect text font metrics
# Copyright (c) 2007-2023 Yoichiro Hasebe <[email protected]>
# Copyright (c) 2007-2024 Yoichiro Hasebe <[email protected]>

require_relative 'utils'

Expand Down
2 changes: 1 addition & 1 deletion lib/rsyntaxtree/element.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#==========================
#
# Aa class that represents a basic tree element, either node or leaf.
# Copyright (c) 2007-2023 Yoichiro Hasebe <[email protected]>
# Copyright (c) 2007-2024 Yoichiro Hasebe <[email protected]>

require_relative "markup_parser"
require_relative "utils"
Expand Down
2 changes: 1 addition & 1 deletion lib/rsyntaxtree/elementlist.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#==========================
#
# Contains a list of unordered tree elements with a defined parent
# Copyright (c) 2007-2023 Yoichiro Hasebe <[email protected]>
# Copyright (c) 2007-2024 Yoichiro Hasebe <[email protected]>

require_relative "element"

Expand Down
2 changes: 1 addition & 1 deletion lib/rsyntaxtree/string_parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#
# Parses a phrase into leafs and nodes and store the result in an element list
# (see element_list.rb)
# Copyright (c) 2007-2023 Yoichiro Hasebe <[email protected]>
# Copyright (c) 2007-2024 Yoichiro Hasebe <[email protected]>

require_relative 'elementlist'
require_relative 'element'
Expand Down
2 changes: 1 addition & 1 deletion lib/rsyntaxtree/svg_graph.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#==========================
#
# Parses an element list into an SVG tree.
# Copyright (c) 2007-2023 Yoichiro Hasebe <[email protected]>
# Copyright (c) 2007-2024 Yoichiro Hasebe <[email protected]>

require "tempfile"
require_relative 'base_graph'
Expand Down
2 changes: 1 addition & 1 deletion lib/rsyntaxtree/utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#==========================
#
# Image utility functions to inspect text font metrics
# Copyright (c) 2007-2023 Yoichiro Hasebe <[email protected]>
# Copyright (c) 2007-2024 Yoichiro Hasebe <[email protected]>

require 'rmagick'

Expand Down

0 comments on commit 2e62e54

Please sign in to comment.