Re: [AUCTeX] AUCTeX has a logo!

2017-01-12 Thread edgar

Great! Thank you very much for the logo and AUCTeX!

-

ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the 
NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!  


___
auctex mailing list
auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex


Re: [AUCTeX] Subfiles package and reftex

2016-12-26 Thread edgar

Hello Mosè,

This is great! Yes, this is what I needed. Thanks!

On 2016-12-26 16:54, Mosè Giordano wrote:

Hi Edgar,

2016-12-26 5:14 GMT+01:00  <ed...@openmail.cc>:

Hi there,

I would like to know if there is a way to
(1) set a master file (Master.tex) which includes other files (\input,
\subfiles, \include or any other) with relative paths
(2) those other files (header.tex, File1.tex, File2.tex...) have 
labels (as

in \label{fig:NicePicture})
(3) set a cross-reference between those labels (File1.tex has
\label{fig:NicePicture} somewhere, and File2.tex has 
\cref{fig:NicePicture})
(4) set a bunch of styles (\usepackage, \newcommand, etc.) in one of 
the

external files (header.tex, for instance)
(5) use RefTeX to create those cross-references.

Say, something like this:
|-Master.tex
|-preamble.tex
|-File1.tex
|-File2.tex

But sometimes, I want to see how File2.tex looks like as a PDF before
compiling the whole thing. So, I set \usepackage{subfiles} in 
preamble.tex
and load it at the top of Master.tex with \input{preamble.tex}. This 
loads
all my \newcommand, styles and package options when I run pdflatex. 
However,
I am unable to use RefTeX between File1.tex and File2.tex. I have set 
the

%%% TeX-master: "Methods" at the bottom of File1.tex and File2.tex.


"Methods"?  Did you "Master"?

Anyway, a few hours ago was installed in AUCTeX a new patch that
should improve your workflow with this package.  For example, this is
my master file:

--8<---cut here---start->8---
\documentclass{article}
\usepackage{subfiles,amsmath}
\begin{document}
hello world!
\begin{equation}
  \label{eq:1}
  a + b = c
\end{equation}
\subfile{file1.tex}
\end{document}

%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:
--8<---cut here---end--->8---

and this is my file1.tex file:

--8<---cut here---start->8---
\documentclass[master.tex]{subfiles}

\begin{document}
Equation~\eqref{eq:1}
\end{document}

%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:
--8<---cut here---end--->8---

Inside file1.tex, now I can insert with RefTeX a reference defined in
another file (like what I did to insert the reference to "eq:1"
label).  Is this what you would like?

Bye,
Mosè


-

ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the 
NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!  


___
auctex mailing list
auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex


[AUCTeX] Subfiles package and reftex

2016-12-25 Thread edgar

Hi there,

I would like to know if there is a way to
(1) set a master file (Master.tex) which includes other files (\input, 
\subfiles, \include or any other) with relative paths
(2) those other files (header.tex, File1.tex, File2.tex...) have labels 
(as in \label{fig:NicePicture})
(3) set a cross-reference between those labels (File1.tex has 
\label{fig:NicePicture} somewhere, and File2.tex has 
\cref{fig:NicePicture})
(4) set a bunch of styles (\usepackage, \newcommand, etc.) in one of the 
external files (header.tex, for instance)

(5) use RefTeX to create those cross-references.

Say, something like this:
|-Master.tex
|-preamble.tex
|-File1.tex
|-File2.tex

But sometimes, I want to see how File2.tex looks like as a PDF before 
compiling the whole thing. So, I set \usepackage{subfiles} in 
preamble.tex and load it at the top of Master.tex with 
\input{preamble.tex}. This loads all my \newcommand, styles and package 
options when I run pdflatex. However, I am unable to use RefTeX between 
File1.tex and File2.tex. I have set the %%% TeX-master: "Methods" at the 
bottom of File1.tex and File2.tex. In case that someone is willing to 
help me out, I am adding the relevant sections of my .emacs. Thank you 
very much!


-

ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the 
NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!

Commercial and Bulk Mail Options!  ;;; emacs --- Initial configuration for emacs
;;; Comentary: This file is loaded everytime you run emacs
;; and helps to configure your settings
;;
(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(LaTeX-amsmath-label "eq:")
 '(LaTeX-clean-intermediate-suffixes
   (quote
("\\.aux" "\\.bbl" "\\.blg" "\\.brf" "\\.fot" "\\.glo" "\\.gls" "\\.idx" 
"\\.ilg" "\\.ind" "\\.lof" "\\.log" "\\.lot" "\\.nav" "\\.out" "\\.snm" 
"\\.toc" "\\.url" "\\.synctex\\.gz" "\\.bcf" "\\.run\\.xml" "\\.fls" 
"-blx\\.bib" "\\.mxp" "\\.mac" "\\.mxx" "-inc\\.eps" "\\.sta")))
 '(LaTeX-default-author "e-Dgar")
 '(LaTeX-default-environment "align")
 '(LaTeX-indent-environment-list
   (quote
(("multlined")
 ("multline")
 ("tabularx" LaTeX-indent-tabular)
 ("gnuplot")
 ("maximacmd")
 ("dgroup")
 ("dmath")
 ("verbatim" current-indentation)
 ("verbatim*" current-indentation)
 ("tabular" LaTeX-indent-tabular)
 ("tabular*" LaTeX-indent-tabular)
 ("align" LaTeX-indent-tabular)
 ("align*" LaTeX-indent-tabular)
 ("array" LaTeX-indent-tabular)
 ("eqnarray" LaTeX-indent-tabular)
 ("eqnarray*" LaTeX-indent-tabular)
 ("displaymath")
 ("equation")
 ("equation*")
 ("picture")
 ("tabbing")
 ("table")
 ("table*"
 '(LaTeX-label-alist
   (quote
(("multline" . "")
 ("dgroup" . "LaTeX-eqnarray-label")
 ("dmath" . "LaTeX-eqnarray-label")
 ("figure" . LaTeX-figure-label)
 ("table" . LaTeX-table-label)
 ("figure*" . LaTeX-figure-label)
 ("table*" . LaTeX-table-label)
 ("equation" . LaTeX-equation-label)
 ("eqnarray" . LaTeX-eqnarray-label
 '(LaTeX-verbatim-environments (quote ("verbatim" "verbatim*" "maximacmd")))
 '(TeX-command-list
   (quote
(("TeX" "%(PDF)%(tex) %(file-line-error) %(extraopts) 
%`%S%(PDFout)%(mode)%' %t" TeX-run-TeX nil
  (plain-tex-mode texinfo-mode ams-tex-mode)
  :help "Run plain TeX")
 ("LaTeX" "%`%l%(mode)%' %t" TeX-run-TeX nil
  (latex-mode doctex-mode)
  :help "Run LaTeX")
 ("Makeinfo" "makeinfo %(extraopts) %t" TeX-run-compile nil
  (texinfo-mode)
  :help "Run Makeinfo with Info output")
 ("Makeinfo HTML" "makeinfo %(extraopts) --html %t" TeX-run-compile nil
  (texinfo-mode)
  :help "Run Makeinfo with HTML output")
 ("AmSTeX" "amstex %(PDFout) %(extraopts) %`%S%(mode)%' %t" TeX-run-TeX nil
  (ams-tex-mode)
  :help "Run AMSTeX")
 ("ConTeXt" "%(cntxcom) --once --texutil %(extraopts) %(execopts)%t" 
TeX-run-TeX nil
  (context-mode)
  :help "Run ConTeXt once")
 ("ConTeXt Full" "%(cntxcom) %(extraopts) %(execopts)%t" TeX-run-TeX nil
  (context-mode)
  :help "Run ConTeXt until completion")
 ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help "Run BibTeX")
 ("Biber" "biber %s" TeX-run-Biber nil t :help "Run Biber")
 ("View" "%V" TeX-run-discard-or-function t t :help "Run Viewer")
 ("Print" "%p" TeX-run-command t t :help "Print the file")
 ("Queue" "%q" TeX-run-background nil t :help "View the printer queue" 
:visible TeX-queue-command)
 ("File" "%(o?)dvips %d -o %f " TeX-run-dvips t t :help "Generate 
PostScript file")
 ("Dvips" "%(o?)dvips %d -o %f " TeX-run-dvips nil t :help "Convert DVI 
file to PostScript")
 

Re: [AUCTeX] [Maxima-discuss] Maxima within LaTeX

2016-03-08 Thread eDgar
Hi. This is a preliminary question. As some of you know, I'm interested 
in being able to work on my LaTeX documents with Maxima code as if they 
were part of the same thing. There are many players here:

(1) emacs:
  (1.a) AucTeX.
  (1.b) imaxima (may be it could be extended for LaTeX.
(2) LaTeX
(3) Maxima
(4) Although I use emacs, I don't know what I'm doing half of the time.

The question is: to whom should I ask? I don't want to bother people 
who need to focus on other things. If I ask to multiple parties, do I 
have to let everyone know about it (put every mailing list in the 
thread?). And finally, do you have the time for this or is it better to 
just stick to my yanking (copy-paste) activities? Thanks in advance.


On 2014-12-01 20:53, ed...@openmail.cc wrote:

On 2014-12-01 22:43, Leo Butler wrote:

I need to think about this. I have a question: Are you thinking of a
document where you have blocks of maxima code, the code does some
computations, and then in subsequent blocks you have access to the
results of these computations?

Yes, without loosing the ability to be able to print LaTeX with the
block itself (as it is done already). I send some examples below.


E.g.
\begin{maxima*}
p : primes(1,10);
\maximaoutput
[2,3,5,7]
\end{maxima*}

I don't know if producing the output here is necessary, even if it is
not printed in the final version (dvi, ps or pdf). It could be useful
when reading the code, but it should be optional. There is an example
further down.


The list of the primes between 1 and 10 is
\[
\mvalue{p}
\]
?
(The maxima* environment produces no output; \mvalue is undefined but 
it

would produce tex(p)).
Yes, precisely. I think that it should be the first step. Then it 
would even

make something like this

An identity matrix is shown in \cref{eq:A}
\begin{equation}\label{eq:A}
  \begin{maxicode}
A: ident(3)$  /* This prints nothing */
'A = A;   /* This prints tex('A = A), A is a matrix */
  \end{maxicode}
\end{equation}

May be even, to show the same output \cref{eq:B} the code could be
condensed
\begin{maxieq}\label{eq:B}
  B: ident(3)$  /* This prints nothing */
  'B = B;   /* This prints tex('B = B), B is a matrix */
\end{maxieq}

In a similar way, the product of an identity matrix ($C$) with the
third prime ($p_{3}$) would be in \cref{eq:C}, \cref{eq:D2} or 
\cref{eq:E2}.

\begin{maxima*}
  p : primes(1,10); /* This line should send the TeX code already */
  \maximaoutput   % Optional (no need to C-c C-u C ; never printed
  % Optional in dvi, ps or pdf, even without *, and
[2,3,5,7] % Optional just for visual confirmation while 
writing)

\end{maxima*}
In the code above, I think that the line after maximaoutput should
just be for visual confirmation while writing, so that the user
doesn't need to C-c C-u C or C-c C-u A . However, evaluating it should
be possible to make sure that the output is correct while writing (as
a preview without compiling). Now, if the preview is not possible, I
deem the evaluation and the proper rendering of the equation more
important, and would drop the preview.

I think that it should work with align, subequations and the autonum
package, also.
\begin{align}\label{eq:C}
  \begin{maxicode}
C: ident(3)$
  \end{maxicode}
  \mvalue{'C*p[3]} &= \mvalue{C}\,\mvalue{p[3]} \\ % C\,p &= 
tex(C)\,tex(p)

   &= \mvalue{C*p[3]}  % &= tex(C*p[3])
\end{equation}

Now, this is just an idea, and I know it's too much right now, but may
be this could come later (instead of the code for \cref{eq:C})
\begin{maxialn}[breqn]\label{eq:D}
  D: ident(3)$
  \op{'D*p[3]} &= \op{D*p[3]}; \\% C\,p &= tex(C)\,tex(p)
   &= \val{D*p[3]};   % &= tex(C*p[3])
\end{maxialn}

or something like
\begin{subequations}\label{eq:E}
  \begin{maxialn}
E: ident(3)$
\op{'E*p[3]} &= \op{E*p[3]}; \label{eq:E1} \\ /* This would work 
with */
 &= \val{E*p[3]}; \label{eq:E2}   /* autonum (no 
number */
 	  /* next to eq:E1) 
*/

  \begin{maxialn}
\end{subequations}
What I'm trying to show with the last two blocks is that may be it
could start becoming almost inevident that there is something in the
background doing the calculations. I'm just being imaginative.


-

ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the 
NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!  


___
auctex mailing list
auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex


bug#19290: RefTex, Cleveref and maxiplot

2014-12-06 Thread eDgar

Hello,

I'm trying to work with Cleveref, RefTeX and maxiplot, and I would like 
to know if you can help me. I got a piece of code to do it, but it 
doesn't work (I send my .emacs file). What am I doing wrong? I have 
already patched RefTeX according to:

http://tex.stackexchange.com/questions/211538/ams-math-auctex-reftex-causing-label-references-to-always-be-eqref-not-th
http://git.savannah.gnu.org/cgit/emacs.git/commit/lisp/textmodes/reftex-ref.el?id=1d1aedd8510949fd03a0df9aafe2a8c90b90b907

The problem which I have is that C-c ) doesn't show the option for 
cref, Cref, etc. I only get the ref, pageref, autoref and autopageref 
option. However, I am able to compile and see the references in the 
final PDF. Should I resort to yasnippet for this?


Thanks for any help. The attachments are: my .emacs init file, the test 
file and the preview-report-bug output.


-

VFEmail.net - http://www.vfemail.net
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the 
NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!  




___
bug-auctex mailing list
bug-auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-auctex


bug#19290: RefTex, Cleveref and maxiplot

2014-12-06 Thread eDgar

Ok I solved it:

My copy of TeX-texify was corrupt.

I removed my installation of AUCTeX from the package manager (I don't 
know if that was necessary)

I reinstalled using emacs interface: package-install (auctex 11.88)
I went piece by piece to see what was making the problem
I finally realised that it was TeX-texify, so I went to the website and 
copied it again.


I share my .emacs for people who want to work with YASnippet, Cleveref, 
LaTeX and RefTeX




 eDgar  writes:



Hello,

I'm trying to work with Cleveref, RefTeX and maxiplot, and I would 
like

to know if you can help me. I got a piece of code to do it, but it
doesn't work (I send my .emacs file). What am I doing wrong? I have
already patched RefTeX according to:
http://tex.stackexchange.com/questions/211538/ams-math-auctex-reftex-causing-label-references-to-always-be-eqref-not-th
http://git.savannah.gnu.org/cgit/emacs.git/commit/lisp/textmodes/reftex-ref.el?id=1d1aedd8510949fd03a0df9aafe2a8c90b90b907

The problem which I have is that C-c ) doesn't show the option for
cref, Cref, etc. I only get the ref, pageref, autoref and autopageref
option. However, I am able to compile and see the references in the
final PDF. Should I resort to yasnippet for this?

Thanks for any help. The attachments are: my .emacs init file, the 
test

file and the preview-report-bug output.

-

VFEmail.net - http://www.vfemail.net
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out 
of the NSA's hands!

$24.95 ONETIME Lifetime accounts with Privacy Features!
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!







-

VFEmail.net - http://www.vfemail.net
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the 
NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!

Commercial and Bulk Mail Options!  

.emacs.7z
Description: Binary data
___
bug-auctex mailing list
bug-auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-auctex