Skip to content

sattosan/report-formattaro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2カラムになっている論文やレポートのフォーマットを整形するプログラム

動作環境

Ruby 2.5.1

インストール

$ git clone https://github.com/sattosan/report-formattaro.git
$ cd report-formattaro

環境構築(Rubyが入っている場合はスキップ)

  • anyenvのインストール
$ git clone https://github.com/anyenv/anyenv ~/.anyenv
$ echo 'export PATH="$HOME/.anyenv/bin:$PATH"' >> ~/.bashrc
$ echo 'eval "$(anyenv init -)"' >> ~/.bashrc
$ exec $SHELL -l
  • rbenvのインストール
$ anyenv install rbenv
$ exec $SHELL -l
  • Rubyのインストール
$ rbenv install 2.5.1
  • インストールされたことの確認
$ rbenv versions
  • Rubyバージョンのセット
$ rbenv global 2.5.1

使用方法

  • report.txtに論文のテキストをコピー
  • プログラムの実行
$ ruby main.rb
  • format-report.txtにフォーマットされたテキストが書き込まれる

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages