Package Exports
- textlint-rule-preset-ja-engineering-paper
- textlint-rule-preset-ja-engineering-paper/lib/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (textlint-rule-preset-ja-engineering-paper) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
textlint-rule-preset-ja-engineering-paper
日本語の工学系論文のためのtextlintルールプリセット
textlint rule preset for Japanese academic papers of enginering
Install
$ npm i textlint-rule-preset-ja-engineering-paper
Usage
Via .textlintrc
(Recommended)
{
"rules": {
"preset-ja-engineering-paper": true
}
}
Via CLI
$ textlint --preset preset-ja-engineering-paper README.md
他のpresetとの併用
より広範な文章向けのpreset-japanese
・preset-ja-technical-writing
・preset-jtf-style
・preset-ja-spacing
との併用をお勧めします。
ただし、句読点をチェックするルールと競合する場合があります。.textlintrc
などを使い、適宜無効化してください。
.textlintrc
の例
{
"plugins": [],
"rules": {
"preset-ja-engineering-paper": true,
"preset-ja-spacing": true,
"preset-ja-technical-writing": {
"ja-no-mixed-period": {
"periodMark": "."
},
"max-kanji-continuous-len": {
max: 8,
allow: [
"日本機械学会論文集"
]
},
},
"preset-japanese": true,
"preset-jtf-style": {
"1.2.1.句点(。)と読点(、)": false,
"1.2.2.ピリオド(.)とカンマ(,)": false,
"4.1.3.ピリオド(.)、カンマ(,)": false
},
}
}
Rules
textlint-rule-ja-hiragana-fukushi
漢字よりもひらがなで表記したほうが読みやすい副詞
textlint-rule-ja-hiragana-keishikimeishi
漢字よりもひらがなで表記したほうが読みやすい形式名詞
textlint-rule-ja-hiragana-hojodoushi
漢字よりもひらがなで表記したほうが読みやすい補助動詞
@textlint-ja/textlint-rule-no-synonyms
文章中の同義語の表記ゆれをチェックする
textlint-rule-prh
辞書ベースのチェック
辞書には論文にそぐわない表現をチェックするための設定を収録しています。
unify-kuten-and-touten
- (「preset-jtf-style/1.2.1. 句点(。)と読点(、)」の改変ルール)
- 工学系の論文などを対象に、句読点を統一します。
- デフォルトは日本機械学会論文集が指定している「.」(全角ピリオド)と「,」(全角カンマ)です。
- これらはoptionで変更できます。
- TODO: 英語のアブストラクトのみ、半角記号を使う場合などの対処
textlint-rule-use-si-units
SI単位系の単位以外の使用を禁止する
参考資料(全て2020年1月5日閲覧)
- 後藤祐一.卒業論文・修士論文自己チェックリスト.2010.
- next49.リンク:論文に死んでも書いてはいけない言葉30 - 発声練習.2012.
- 奥村曉.修士論文や夏の学校の集録や学振申請書を書く皆さんへ (書き方、注意点、心得) - 宇宙線実験の覚え書き.2013.
- 玉木徹.卒論・修論チェックリスト - Qiita.2017.
- 伊藤貴之.はじめての論文執筆.2019.
Develop
Build
Builds source codes for publish to the lib
folder.
You can write ES2015+ source codes in src/
folder.
npm run build
Tests
Run test code in test
folder.
Test textlint rule by textlint-tester.
npm test