We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
章番号を表示しないように locale.yml を以下のようにしてから、
locale: ja chapter: ""
rake pdf すると、「review/lib/review/latexutils.rb:68:in `escape': undefined method `gsub' for nil:NilClass (NoMethodError) rake aborted!」になる。
rake pdf
review/lib/review/latexutils.rb:68:in `escape': undefined method `gsub' for nil:NilClass (NoMethodError) rake aborted!
latexutils.rb:
def escape(str) str.gsub(@metachars_re) { |s| @metachars[s] or raise "unknown trans char: #{s}" } end
↓ nil.to_s でよければ。。。
def escape(str) str.to_s.gsub(@metachars_re) { |s| @metachars[s] or raise "unknown trans char: #{s}" } end
The text was updated successfully, but these errors were encountered:
どちらかというと、正しく設定されていればnilが来ない方が良いかと思うので、そちらで修正してみます。
Sorry, something went wrong.
#1384,#1393,#1497,#1543,#1544,#1545,#1548,#1549,#1550,#1551,#1552,#1558,
7a65c7f
#1559,#1560,#1562,#1563,#1564,#1569,#1572,#1573
Successfully merging a pull request may close this issue.
章番号を表示しないように locale.yml を以下のようにしてから、
rake pdf
すると、「review/lib/review/latexutils.rb:68:in `escape': undefined method `gsub' for nil:NilClass (NoMethodError) rake aborted!
」になる。latexutils.rb:
↓ nil.to_s でよければ。。。
The text was updated successfully, but these errors were encountered: