Here is a script to build auctex using Windows Linux Subsystem and
preinstalled MikTeX and emacs in some custom directory (windows version)
#!/bin/sh
MYEMACSDIR=/mnt/c/ProgramData/emax64
PATH=$EMACSDIR/bin:$PATH
if [ ! -f Makefile ]; then
# ./autogen.sh
# Ghostcript shipped with MikTeX
LATEX=`which latex.exe`
PDFLATEX=`which pdflatex.exe`
TEX=`which tex.exe`
TEXMF=` kpsewhich.exe --expand-var '$TEXMF' | sed 's/{\([^,]*\),.*/\1/'`
GS=mgs.exe
export GS
export TEX
export LATEX
export PDFLATEX
./configure --with-emacs=emacs.exe \
--with-lispdir=$EMACSDIR/share/emacs/site-lisp \
--without-texmf-dir
exit
fi
make clean
# This will fail
make
# This retries and works
make
On Wed, Apr 18, 2018 at 5:37 PM, Juan Jose Garcia-Ripoll <
[email protected]> wrote:
> Sorry, my fault: i just checked and I was doing a reversed diff -- the git
> repo has no further reference to xemacs. Great! I will have a look at both
> problems now. It is good to find a work-related justification to do some
> lisp again.
>
> On Wed, Apr 18, 2018 at 4:30 PM, Juan Jose Garcia-Ripoll <
> [email protected]> wrote:
>
>> Thanks! It really looks simpler than I expected. Maybe it could be added
>> to the READMe?
>>
>> Regarding xemacs, I cloned git repo and diffed it against auctex official
>> tarball. Elpa and auctex 's tarball basically coincide, but both are
>> missing references to xemacs that still show up on the git repo master
>> branch from savannah. Seems I am doing something wrong...
>>
>> Juanjo
>>
>> El mié., 18 abr. 2018 11:54, Mosè Giordano <[email protected]> escribió:
>>
>>> Hi Juanjo,
>>>
>>> 2018-04-17 18:26 GMT+02:00 Juan Jose Garcia-Ripoll
>>> <[email protected]>:
>>> > Dear all,
>>> >
>>> > please excuse my ignorance. I am a long time user of AucTeX, and I
>>> love it
>>> > enough to have written a 300 page book and 120 articles with it.
>>>
>>> Great to hear this!
>>>
>>> > However,
>>> > throughout the lifetime of the project and my migration back to
>>> Windows, I
>>> > have found some minor problems that I do not want to solve using local
>>> hacks
>>> > of your functions.
>>> >
>>> > These include:
>>> >
>>> > * TeX-error-summary is arbitrarily closed by AucTeX before compilation,
>>> > causing a new window to be created. In general the philosophy of how
>>> this
>>> > buffer is handled deviates from that of other buffers (Help, manuals,
>>> > compilations, etc)
>>> >
>>> > * AucTeX fails to parse error messages on MikTeX due to various issues,
>>> > including spurious ^M characters sometimes popping up in packages.
>>> >
>>> > I would like to debug and work on both locally and contribute patches
>>> for
>>> > both issues, but I find it very obscure how to do this. For starters,
>>> the
>>> > ELPA package of AucTeX does not seem to match the sources that are
>>> available
>>> > on Git.
>>>
>>> The ELPA package is built from the git repo, but indeed you can't use
>>> the ELPA package to develop the package itselft.
>>>
>>> > My ideal workflow would be:
>>> > * Develop on top of my git branch
>>> > * Let Emacs do the importing of that branch
>>>
>>> Actually, the question has been already asked a few times before, here
>>> you can find a quick & dirty solution:
>>> https://lists.gnu.org/archive/html/auctex/2013-08/msg00005.html. At
>>> https://savannah.gnu.org/git/?group=auctex you can find the
>>> information about how to clone the git repository.
>>>
>>> > P.S.: As a side question, why does the ELPA package eliminate all
>>> references
>>> > to xemacs? Is this done automatically?
>>>
>>> I'm not sure what "references" you're referring to. AUCTeX dropped
>>> support for XEmacs in version 12.
>>>
>>> I'm looking forward to seeing your contributions!
>>>
>>> Bye,
>>> Mosè
>>>
>>
>
_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex