From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: latex-indent Date: Thu, 31 Jul 2003 09:59:36 -0500 (CDT) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200307311459.h6VExaR01650@raven.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1059664268 14084 80.91.224.249 (31 Jul 2003 15:11:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 31 Jul 2003 15:11:08 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Jul 31 17:11:05 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19iF1D-0003Dz-00 for ; Thu, 31 Jul 2003 17:07:03 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19iF3h-0005XI-00 for ; Thu, 31 Jul 2003 17:09:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19iF14-0001Qr-FX for emacs-devel@quimby.gnus.org; Thu, 31 Jul 2003 11:06:54 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19iF0c-00019d-IK for emacs-devel@gnu.org; Thu, 31 Jul 2003 11:06:26 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19iEyo-0000dL-TM for emacs-devel@gnu.org; Thu, 31 Jul 2003 11:04:35 -0400 Original-Received: from manatee.dms.auburn.edu ([131.204.53.104]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19iEvJ-0007bP-M0 for emacs-devel@gnu.org; Thu, 31 Jul 2003 11:00:57 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.9/8.12.9) with ESMTP id h6VF0teQ018796 for ; Thu, 31 Jul 2003 10:00:55 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.6+Sun/8.11.6) id h6VExaR01650; Thu, 31 Jul 2003 09:59:36 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:15754 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15754 Is there a reason why `latex-indent' indents by two spaces after an unmatched `[' or inside [...] ? To check this behavior just run `latex-indent' on line 4 of the enclosed file. There is a convention in mathematical reviews to reference other papers in square brackets, so this kind of situation occurs all the time. Is the indentation due to confusion with optional parameters style: \documentclass[a4paper]{article} or maybe with \[...\] ? ===File ~/ltxtest.tex======================================= \documentclass{article} \begin{document} aaaaaaaaaaaa aaaaaaaaaaaaaaaa aaaaaaaaaaaaa [aaaaaaaaaaaa aaaaaa aaaaaaaa \end{document} ============================================================ Sincerely, Luc.