hwp_script_to_latex 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 03259e525390371a1ea032d34ab803e21a8e9733
4
- data.tar.gz: 4f2cf97b722e1b7045e0b24e7e1d3e175b87d89d
3
+ metadata.gz: 89cffc55e97904beefeb4b056ec8ce72df725035
4
+ data.tar.gz: 6c3870a430a05c4e28df8c1e75435b69e6f1c39f
5
5
  SHA512:
6
- metadata.gz: 69f4c3a3037f9fcf45c2e39b07eeae16c9b82e71355381ab9dba22760d1097b3b9f320d5aad7e45daeae0e932971be80e3392171cca58c38cce785c3dc138d74
7
- data.tar.gz: 06ff3028b4daefe1af7e3a5f668bea455d28ccf0dbc238fd048f955db551ae6a36eeed9dbfe5537647dbe85b1bab38ffb949c0b2ef71891268a27ee7644363da
6
+ metadata.gz: 783bc126e535b658f0838a45a3613524335083178cf6b462d687fb1d7794f089fc9f3d2202dfc27e0dfe745131103573eae7ffb7dde86713dd9bdb1963818456
7
+ data.tar.gz: 2d77cc158503fa559299ed6e7a41d5553be2e2302587f9c033a94037572293faeee49c923bff8bf0e6b9feb5af5e1fcc975325b55db004a1471694bf291a531e
data/README.md CHANGED
@@ -1,41 +1,52 @@
1
1
  # HwpScriptToLatex
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/hwp_script_to_latex`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
3
+ 아래아 한글의 수식 문법을 LaTeX로 변환합니다.
6
4
 
7
5
  ## Installation
8
6
 
9
- Add this line to your application's Gemfile:
7
+ Bundler를 사용할 경우 Gemfile에 다음 줄을 추가합니다.
10
8
 
11
9
  ```ruby
12
10
  gem 'hwp_script_to_latex'
13
11
  ```
14
12
 
15
- And then execute:
13
+ 그리고 다음 명령을 실행합니다.
16
14
 
17
- $ bundle
15
+ ```bash
16
+ $ bundle
17
+ ```
18
18
 
19
- Or install it yourself as:
19
+ 혹은 다음 명령으로 직접 젬을 설치할 수 있습니다.
20
20
 
21
- $ gem install hwp_script_to_latex
21
+ ```bash
22
+ gem install hwp_script_to_latex
23
+ ```
22
24
 
23
25
  ## Usage
24
26
 
25
- TODO: Write usage instructions here
27
+ ### HWP script to LaTeX
26
28
 
27
- ## Development
29
+ 아래아 한글의 수식 문법으로 작성된 수식을 LaTeX 문법으로 변환해주는 기능입니다.
28
30
 
29
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
31
+ ```bash
32
+ $ script_to_latex -s [script]
33
+ ```
30
34
 
31
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
35
+ 예를 들어 다음과 같이 사용할 있습니다.
32
36
 
33
- ## Contributing
37
+ ```bash
38
+ $ script_to_latex -s "{5} over {x _{3}}"
39
+ => \frac {5}{x _{3}}
40
+ ```
34
41
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hwp_script_to_latex.
42
+ mathmode 옵션으로 출력값의 시작과 끝에 `$` 문자를 붙일 있습니다.
36
43
 
44
+ ```bash
45
+ $ script_to_latex -s "{5} over {x _{3}}" -m
46
+ =>$ \frac {5}{x _{3}} $
47
+ ```
37
48
 
38
49
  ## License
39
50
 
40
- The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
51
+ [MIT License](http://opensource.org/licenses/MIT)
41
52
 
@@ -1,3 +1,3 @@
1
1
  module HwpScriptToLatex
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hwp_script_to_latex
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - bluesh55