jed-users mailing list

[2003 Date Index] [2003 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Announce: latex4jed_rewrite with improved indention


Hi,

I imrpoved the way indention is handled.

* all between \begin{} and \end{} is indented by LaTeX_Indent_1
* if the environment is tabular and the last line doesn't ends with \\ or
  \hline the line is indented by LaTeX_Indent_2;
  This is to distinguish between the lines in a table
* comments are continued in a new line on the level of the old comment.
  If you hit enter on an empty comment it is removed
* also wrapping continues comments
* now braces are handled. I don't know how really indent them. A opening
  brace is indented to the level of the end of the last command. It looks
  so:
  \ifthenelse{condition}
	     {true}
	     {false}
  a closing brace is indented on the level of the opening brace, if the
  opening brace is the first char in its line or at the level of the
  command
  \fbox{
    foo
    bar
  }

  \fbox%
    {
      foo
      bar
    }
* \item inside a list is indented only LaTeX_Indent_1 / 2; In xjed
  shift+enter inserts a newline with \item.

I hope somebody can test it to help finding critical or missing cases.

URL: http://www.minet.uni-jena.de/~joergs/l4j/

Bye, Jörg.

-- 
Roesen's Law (http://www.bruhaha.de/laws.html):
Sobald ein Troll, DAU oder Elch im Lauf eines Threads auf heftige Kritik
stößt, argumentiert er mit der Arroganz des Kritikers. Dies kann auch
vorsorglich erfolgen.

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2003 date index] [2003 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]