安宅 正之 | 28 Jun 18:08 2016
Picon
Gravatar

A patch to fix auctex.texi

Hi, Tassilo

I failed to makeinfo around L2600 in doc/auctex.texi
because  <at> AUCTeX missed braces `{}',
which was introduced by you on 2016-05-27.

I would like to fix this issue if you don't mind it.
A patch is attached.

regards,
--
Masayuki Ataka (Japan)
twitter: at_aka
Attachment (texi.patch): application/octet-stream, 1106 bytes
_______________________________________________
auctex-devel mailing list
auctex-devel <at> gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel
Arash Esbati | 24 Jun 12:48 2016
Picon
Picon

Spell checking of macros

Hi all,

there is an item on AUCTeX's wish list:

o Spell checking of macros
  A special ispell dictionary for macros could be nice to have.

I'm not sure if there were activities in this regard in the past, but
AFAICT, it is about adding items to car and/or cdr of
`ispell-tex-skip-alists'.  Please consider an example attached below
(which does not compile): Run ispell (I tried hunspell, BTW) with
standard settings and then eval the code inside "lstlisting" and run it
again.

I think it should suffice if AUCTeX provides one or two functions (much
more sophisticated than mine, of course ;-) to add items to
`ispell-tex-skip-alists'.  I would also suggest to collect all items in
a file like `tex-ispell.el' -- my feeling is it is easier to maintain
than on a per-style basis.  Only document macros should be considered,
preamble only macros are ignored anyway.  Styles could use this function
for parsed elements.

WDYT?

Best, Arash

--8<---------------cut here---------------start------------->8---
\documentclass{article}

\usepackage{siunitx,xcolor}
(Continue reading)

Uwe Brauer | 4 Jun 15:40 2016
Picon

trivial docstring patch

Hi

This is the «patch» I mentioned

Attachment (latex-fill.patch): text/x-diff, 1237 bytes
_______________________________________________
auctex-devel mailing list
auctex-devel <at> gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel
Uwe Brauer | 4 Jun 10:40 2016
Picon

exclude begin{comment} (optionally) from LaTeX-fill-region and friends


Hi

Since some time I am using orgtbl-mode, a minor mode from the org package,
which greatly simplifies the constructions of latex tables, even in a
latex buffer.

The idea is that the org table construct is wrapped into a
comment environment, like this.

\begin{comment}
#+ORGTBL: SEND data2 orgtbl-to-latex  :lend "\\\\ \\hline"
| / | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> |
|---+----+----+----+----+----+----+----+----+----+----|
|   | A  |  6 |  8 |  8 |  9 |  9 |  6 |  7 |  8 |  9 |
|   | B  |  7 |  6 |  7 |  7 |  6 |  8 |  6 |  8 |  8 |
\end{comment}

And then is «send» as latex source code into some place of the buffer.

The only problem is when I run LaTeX-fill-region and friends
because is results in a useless (for orgtbl-mode) construct like this

\begin{comment}
  #+ORGTBL: SEND data2 orgtbl-to-latex :lend "\\\\ \\hline" | / | <> |
  <> | <> | <> | <> | <> | <> | <> | <> | <> |
  |---+----+----+----+----+----+----+----+----+----+----| | | A | 6 |
  8 | 8 | 9 | 9 | 6 | 7 | 8 | 9 | | | B | 7 | 6 | 7 | 7 | 6 | 8 | 6 |
  8 | 8 |
\end{comment}
(Continue reading)

Stefan Monnier | 26 May 02:51 2016
Picon

Another patch to silence some warnings

Here's another one.  There's still lots of warnings, and some of the
warnings left in the files I touched below seem serious (e.g. use of
custom-buffer-done-function which seems to be a variable that doesn't
exist).

        Stefan

diff --git a/context.el b/context.el
index b962e0d..25151e5 100644
--- a/context.el
+++ b/context.el
 <at>  <at>  -495,6 +495,14  <at>  <at>  in your .emacs file."
     ConTeXt-section-ref
     ConTeXt-section-section))

+;; Define before first use.
+(defcustom ConTeXt-Mark-version "II"
+  "ConTeXt Mark version used for running ConTeXt."
+  :type "string"
+  :group 'TeX-command)
+(make-variable-buffer-local 'ConTeXt-Mark-version)
+(put 'ConTeXt-Mark-version 'safe-local-variable 'stringp)
+
 (defun ConTeXt-numbered-section-heading ()
   "Hook to prompt for ConTeXt section name.
 Insert this hook into `ConTeXt-numbered-section-hook' to allow the user to change
 <at>  <at>  -1004,11 +1012,11  <at>  <at>  If OPTIONAL, only insert it if not empty, and then use square brackets."
    "[][]\\|"  ; display math delimitors (is this applicable to ConTeXt??)
    (ConTeXt-environment-start-name) "\\|"
    (ConTeXt-environment-stop-name) "\\|"
(Continue reading)

Dirk Ullrich | 18 May 19:31 2016
Picon

Choosing the default LaTeX environment to be inserted [Repost]

Hello,

by accident I have sent this message to the "auctex" mailing list first.
Therefore I repost it here. Sorry for the noise.

Currently `LaTeX-environment' uses a simple heuristics to determine
the default ennvironment to insert: If there is only whitespace
between (bop) and point the default environment is "document".
otherwise the value of `‘LaTeX-default-environment' is used as default
environment.

I have tried to make this decision more robust such that "document" is
also choosen as default environment if there is a mix of
whitespace-only and comment-only lines before point.

The Git patch appended is against "master". I've tried my best to
adhere to the (seemingly) commit message style used in the AUCTeX
project.

Dirk
_______________________________________________
auctex-devel mailing list
auctex-devel <at> gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel
Arash Esbati | 17 May 15:17 2016
Picon
Picon

[PATCH] Adding support for xcolor.sty

Hi all,

I have written a style for xcolor.sty and in order to make it work
properly, I had to patch some other styles as well -- change sets are
attached for:

* style/textpos.el ("textpos"): Remove "color" from
`TeX-run-style-hooks'.
("textpos"): Respect both "xcolor" and "color" for query to
"textblockcolour" and "textblockrulecolour" commands.

* style/ntheorem.el ("ntheorem"): Respect both "xcolor" and
"color" for query to "shadecolor" command.

* style/colortbl.el ("colortbl"): Run style hook for "color" only
if "xcolor" is not an active style.
("colortbl"): Check if "xcolor" is an active style and run
(TeX-arg-xcolor) or (TeX-arg-color) respectively to query for the
arguments.

* style/color.el ("color"): Check if "xcolor" is an active style
and then run `TeX-add-symbols' on commands defined by "color.sty"
and add fontification support.

* Makefile.in (STYLESRC): Add new style xcolor.el.

* style/xcolor.el: Add new file.

Any comments welcome.

(Continue reading)

Arash Esbati | 9 May 11:52 2016
Picon
Picon

[PATCH] Improving style/ltx-base.el and style/doc.el

Dear all,

please find attached 2 patches against style/ltx-base.el and
style/doc.el:

* style/ltx-base.el ("ltx-base"): Insert a pair of braces after
"DeclareOption*", "AtEndOfPackage", "AtEndOfClass",
"AtBeginDocument" and "AtEndDocument".
Insert a "\relax" after "ProcessOptions".

* style/doc.el ("doc"): Do not indent the content inside the "macro"
environment.
Insert a pair of braces after "DoNotIndex", "StopEventually",
"MacroFont", "AltMacroFont".
Prefix the string read with TeX-esc when inserting
"DescribeMacro", "cmd".
Ask for an argument ("parg", "oarg", "marg", "meta").
Add missing macro "cs".
Delete dups ("MacroFont", "AltMacroFont", "theCodelineNo").
Ask for .fdd and .dtx files to input or include ("DocInput",
"DocInclude").
Add lengths "MacrocodeTopsep", "MacroTopsep", "MacroIndent".

As always, comments are welcome.

Best, Arash

(Continue reading)

Uwe Brauer | 2 May 20:34 2016
Picon

x-symbol-mode and iimage

Hello

One of the last things I missed in Xemacs+x-symbol was the feature to
display png/jpg directly, without compiling the latex file.

Now I just learned about iimage.el (shipped with GNU emacs) which
provides a *minor mode* for displaying these images. The only
disadvantage: it seems impossible to resize the displayed images and on
my 12 inch Laptop I found them too big.

So if somebody knows about it or a similar package please speak up.

regards

Uwe Brauer 
Ikumi Keita | 24 Apr 13:06 2016
Picon

Enable directory local variables for japanese-latex-mode

Hi AUCTeX developers,

I noticed recently that directory local variables are invalid in
`japanese-latex-mode'.

[Short summary of this mail]
Could you review the attached change and apply if it is OK?

[Detail]
First of all, I explain how to confirm that directory local variables
are invalid in `japanese-latex-mode'.  You don't need Japanese tex
engines to try.

Put the following two files in an empty directory somewhere.
---- .dir-locals.el ---------------------------------------------
;;; Directory Local Variables
;;; For more information see (info "(emacs) Directory Variables")

((japanese-latex-mode
  (TeX-PDF-from-DVI . "Dvipdfmx")))
-----------------------------------------------------------------
---- test.tex ---------------------------------------------------
\documentclass{jarticle}
\begin{document}
DUMMY TEXT
\end{document}

%%% Local Variables: 
%%% mode: japanese-latex
%%% TeX-master: t
(Continue reading)

Matthew Leach | 18 Apr 21:44 2016
Picon

Future direction of TikZ style

Hi all,

I have a question regarding what to do next regarding the future of the
TikZ style.  The optional arguments that can be passed to TikZ commands
seem, to me, to be a very important feature.  My question is whether I
should look at implementing completion for the optional arguments to a
TikZ command?

For example, section 14.7 of the TikZ manual documents the 'arc'
command.  This command is practically useless without specifying some
"optional" parameters to the command and the list of parameters that
could be specified are documented in this section.  My question is: is
it too invasive for AUCTeX to be completing "optional" arguments to
commands/macros (since, AFAICT, I don't see it done anywhere else in
AUCTeX) or is this something I could look at implementing?

Thanks,
--

-- 
Matt

Gmane