You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a problem when I combine 2 options: --read-all and --output singleline. I get the following java error:
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(Unknown Source)
at ca.uqac.lif.textidote.render.SinglelineAdviceRenderer.renderExcerpt(SinglelineAdviceRenderer.java:93)
at ca.uqac.lif.textidote.render.SinglelineAdviceRenderer.render(SinglelineAdviceRenderer.java:68)
at ca.uqac.lif.textidote.Main.mainLoop(Main.java:690)
at ca.uqac.lif.textidote.Main.mainLoop(Main.java:128)
at ca.uqac.lif.textidote.Main.main(Main.java:114)
This problem does not always happen, but regularly enough that I cannot configure textidote properly with emacs (I know the snippet in the README but it is for flycheck and I am trying to make textidote work for the default emacs checker flymake). A simple example is to apply it to the example file in the repo:
I have a problem when I combine 2 options:
--read-all
and--output singleline
. I get the following java error:This problem does not always happen, but regularly enough that I cannot configure textidote properly with emacs (I know the snippet in the README but it is for flycheck and I am trying to make textidote work for the default emacs checker flymake). A simple example is to apply it to the example file in the repo:
java -jar ~/.local/jar/textidote.jar --read-all --output plain example.tex
works well, but
java -jar ~/.local/jar/textidote.jar --read-all --output singleline example.tex
leads to the error.
I need to use the
--read-all
option because all my tex files are separated between the preamble and the text.I am using textidote version 0.9 on Windows 11.
The text was updated successfully, but these errors were encountered: