hwp_script_to_latex 1.0.1 → 1.0.2
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 +4 -4
- data/README.md +3 -3
- data/exe/hwp_script_to_latex +1 -1
- data/lib/hwp_script_to_latex/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 158dfea0427a86ad3805e6b52aecb36b19c337fa
|
4
|
+
data.tar.gz: 5a5474e62ae36e30f24956e55c1b097deda257a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3688c4ec7a3db706d2d78dfb641d95f2e9e2ae6dd29556bf309c05179c638ceb08c0b7a572713aeef3a0d9579e64e806cf1366dbb25fa69a03758bde2ac751c4
|
7
|
+
data.tar.gz: d42faf72a4e6e0e14f9eb12c3fdff9b8b9047b62b2499fc97c0706070d760d1faa96ffca3093e1ed33aa7c684cd6c48760069bbe8b3bfb24a3c0014d7cbbbfc3
|
data/README.md
CHANGED
@@ -29,20 +29,20 @@ gem install hwp_script_to_latex
|
|
29
29
|
아래아 한글의 수식 문법으로 작성된 수식을 LaTeX 문법으로 변환해주는 기능입니다.
|
30
30
|
|
31
31
|
```bash
|
32
|
-
$
|
32
|
+
$ hwp_script_to_latex -s [script]
|
33
33
|
```
|
34
34
|
|
35
35
|
예를 들어 다음과 같이 사용할 수 있습니다.
|
36
36
|
|
37
37
|
```bash
|
38
|
-
$
|
38
|
+
$ hwp_script_to_latex -s "{5} over {x _{3}}"
|
39
39
|
=> \frac {5}{x _{3}}
|
40
40
|
```
|
41
41
|
|
42
42
|
mathmode 옵션으로 출력값의 시작과 끝에 `$` 문자를 붙일 수 있습니다.
|
43
43
|
|
44
44
|
```bash
|
45
|
-
$
|
45
|
+
$ hwp_script_to_latex -s "{5} over {x _{3}}" -m
|
46
46
|
=>$ \frac {5}{x _{3}} $
|
47
47
|
```
|
48
48
|
|
data/exe/hwp_script_to_latex
CHANGED
@@ -22,7 +22,7 @@ options = {
|
|
22
22
|
}
|
23
23
|
|
24
24
|
optparser = OptionParser.new do |opt|
|
25
|
-
opt.banner = 'Usage:
|
25
|
+
opt.banner = 'Usage: hwp_script_to_latex [options]'
|
26
26
|
|
27
27
|
opt.on('-s', '--script [HWP SCRIPT]', String, 'Script written in hwp syntax.') do |script|
|
28
28
|
options[:script] = script
|