Re: [AUCTeX] Beamer | C-c = the TOC buffer is returning frame numbers

2011-09-06 Thread spinner


Sivaram Neelakantan wrote:
> 
> The reftex documentation has this?  Is it what you're looking for?
> 
> Controlling what gets displayed
> ...
> 
> `t'
>  Change the maximum level of toc entries displayed in the `*toc*'
>  buffer.  Without prefix arg, all levels will be included.  With
>  prefix arg (e.g `3 t'), ignore all toc entries with level greater
>  than ARG (3 in this case).  Chapters are level 1, sections are
>  level 2.  The mode line `T<>' indicator shows the current value.
>  The default depth can be configured with the variable
>  `reftex-toc-max-level'.
> 

Many thanks for your response. Unfortunately, this setting does not alter
the TOC buffer to display sections and subsections in my Beamer document.
The TOC buffer still displays only frame numbers and any related frame
title.

So, I'm still looking whether there is a solution.

-- 
View this message in context: 
http://old.nabble.com/Beamer-%7C-C-c-%3D-%28TOC%29-is-returning-frame-numbers-tp32404405p32410587.html
Sent from the Gnu - AUCTeX - General mailing list archive at Nabble.com.


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


Re: [AUCTeX] Beamer | C-c = the TOC buffer is returning frame numbers

2011-09-05 Thread spinner

FOLLOW UP:

I've done some testing and observe that C-c = on my Beamer documents (Beamer
document class) produces the same kind of TOC buffer as in common LaTeX
documents with sections, subsections, and so on until I apply style hooks
C-c C-n on the document. After I apply style hooks, the TOC buffer
presentation format changes to a listing of frame numbers (1,2,3, and so
on).

If I close the file and reopen, before applying style hooks, I can get the
TOC buffer that I want. I prefer to generate the kind of TOC buffer with
sections at all times in my Beamer documents. Is there anyway to alter this
TOC buffer behavior on Beamer documents?



spinner wrote:
> 
> In Beamer documents, C-c = is returning a listing of my frame numbers and
> any frame title associated with them. 
> In contrast, in common LaTeX documents C-c = returns a TOC window
> organized with sections, subsections, subsubsections, etc. 
> 
> Since I prepare my Beamer documents with sections and subsections, I
> prefer to produce a TOC window like that in common LaTeX documents (rather
> than a list of frames) because, for me, it is easier to organize and
> navigate. 
> 
> Is there a way to do this in Beamer files?
> 

-- 
View this message in context: 
http://old.nabble.com/Beamer-%7C-C-c-%3D-%28TOC%29-is-returning-frame-numbers-tp32404405p32405651.html
Sent from the Gnu - AUCTeX - General mailing list archive at Nabble.com.


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


Re: [AUCTeX] auto directory created with .el file when saving a bib file?

2011-09-05 Thread spinner


Vinh Nguyen-4 wrote:
> 
> Suppose I edit a file AuthorYearTitle.bib in emacs with AucTeX.  As
> soon as I save the file, a directory called "auto" gets created in the
> working directory.
> 
> Why is this directory and file being created?  What is its use?  
> 

I noticed this, too, a while ago (but not just for bib files) and searched
for an answer like you. I found an explanation for this directory in the
Auctex documentation. From what I understand, Auctex uses it to speed up
operations when compiling.

http://www.gnu.org/s/auctex/manual/auctex/Parsing-Files.html

-- 
View this message in context: 
http://old.nabble.com/auto-directory-created-with-.el-file-when-saving-a-bib-file--tp32392496p32405573.html
Sent from the Gnu - AUCTeX - General mailing list archive at Nabble.com.


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


[AUCTeX] Beamer | C-c = (TOC) is returning frame numbers

2011-09-05 Thread spinner

In Beamer documents, C-c = is returning a listing of my frame numbers and any
frame title associated with them. 
In contrast, in common LaTeX documents C-c = returns a TOC window organized
with sections, subsections, subsubsections, etc. 

Since I prepare my Beamer documents with sections and subsections, I prefer
to produce a TOC window like that in common LaTeX documents (rather than a
list of frames) because, for me, it is easier to organize and navigate. 

Is there a way to do this in Beamer files?
-- 
View this message in context: 
http://old.nabble.com/Beamer-%7C-C-c-%3D-%28TOC%29-is-returning-frame-numbers-tp32404405p32404405.html
Sent from the Gnu - AUCTeX - General mailing list archive at Nabble.com.


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


Re: [AUCTeX] Track changes function?

2011-08-03 Thread spinner

UPDATE:
I've managed to get -latexdiff- working for me. My problem, I think,
was caused by trying to diff 2 files where each one had a parent-child
relationship. The preamble was in one file and the content
(dissertation chapter) was in the other.

To diff using latexdiff, I put the preamble and content in the same
tex file. I did this by combining the (1) parent file holding the
preamble and \include{childfile} commands and (2) related child file
holding the text. Combined parent and child into oldfile.tex and into
revisedfile.tex. I did this to get latexdiff to automatically add its
markup commands into my tex file preamble so Tex could compile the
diff file properly. Automatic insertion into the preamble is done with
the -t option in latexdiff.

Combining parent and child files is a pain taking a lot of time if I'm
going to diff my documents often. But it functions. Does anyone know a
better way to use latexdiff with parent-child files where the parent
holds the preamble and \include{childfile} commands and the child file
holds the text content?




spinner wrote:
> 
> Hi, Joel:
> 
> Thanks for your message. I don't believe that ed.sty will work for
> me. I'm not collaborating with the other person via a common Tex file.
> 
> I am writing my dissertation in LaTeX. My adviser uses MS Word and
> won't use LaTeX. I send him a draft in PDF format generated from
> LaTeX. He writes his comments in the PDF file using Acrobat and sends
> his PDF file to me. I receive his comments and manually make changes
> to my draft. I now have two files: draft_v1.tex and I make these
> changes in draft_v2.tex. When I'm done editing, I want to create a
> compiled 'redline' version of my new draft that tracks my changes from
> version 1 to version 2.
> 
> I tried the Perl script -latexdiff- for this function. It worked well
> except, for some reason, the coding that it added for sections in my
> paper caused errors when compiling (in LaTeX) and I couldn't finish
> compiling.  Here's an example of latexdiff code that caused a compile
> error: \subsubsection{The \DIFaddbegin \DIFadd{anomalies }\DIFaddend
> \DIFdelbegin \DIFdel{anomaly }\DIFdelend literature}
> I'm using MikTex 2.8.
> 
> If I have only a few of these compile errors, I would manually get rid
> of the problem coding and move on. But when I have a lot of these errors,
> making manual changes because impractical.
> 
> I'm relatively new to using emacs/Auctex as my text editor. I'm
> hoping Auctex has a function for what I want to do. But I haven't come
> across anything yet.
> 
> 
> 
> Joel J. Adamson-2 wrote:
>> 
>> spinner  writes:
>> 
>>> Is there an Auctex function that compares two Tex files for changes and
>>> then
>>> Tex compiles to produce a printed document (PDF) showing redlining,
>>> strikeouts, etc. An alternative to the perl script -latexdiff-?
>>>
>>> I'm not looking to diff two raw Tex files for viewing on a monitor.
>>> Rather,
>>> I want to produce a compiled Tex document showing differences between
>>> two
>>> Tex files with redlining, strikeouts, etc..
>> 
>> Check out ed.sty[1].  Not an onscreen tool, but pretty darn close to
>> what you're looking for.  What is the purpose of comparing the two
>> documents?
>> 
>> Joel
>> 
>> Footnotes: 
>> [1]  http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/ed.html
>> 
>> -- 
>> Joel J. Adamson
>> Servedio Lab -- University of North Carolina at Chapel Hill
>> FSF Member #8164 -- http://www.fsf.org/jf?referrer=8164
>> http://www.unc.edu/~adamsonj
>> 
>> Please use my new gmail address: 
>> 
>>  
>> ___
>> auctex mailing list
>> auctex@gnu.org
>> https://lists.gnu.org/mailman/listinfo/auctex
>> 
>> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Track-changes-function--tp32177308p32185938.html
Sent from the Gnu - AUCTeX - General mailing list archive at Nabble.com.


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


Re: [AUCTeX] Track changes function?

2011-08-02 Thread spinner

Hi, Joel:

Thanks for your message. I don't believe that ed.sty will work for
me. I'm not collaborating with the other person via a common Tex file.

I am writing my dissertation in LaTeX. My adviser uses MS Word and
won't use LaTeX. I send him a draft in PDF format generated from
LaTeX. He writes his comments in the PDF file using Acrobat and sends
his PDF file to me. I receive his comments and manually make changes
to my draft. I now have two files: draft_v1.tex and I make these
changes in draft_v2.tex. When I'm done editing, I want to create a
compiled 'redline' version of my new draft that tracks my changes from
version 1 to version 2.

I tried the Perl script -latexdiff- for this function. It worked well
except, for some reason, the coding that it added for sections in my
paper caused errors when compiling (in LaTeX) and I couldn't finish
compiling.  Here's an example of latexdiff code that caused a compile
error: \subsubsection{The \DIFaddbegin \DIFadd{anomalies }\DIFaddend
\DIFdelbegin \DIFdel{anomaly }\DIFdelend literature}
I'm using MikTex 2.8.

If I have only a few of these compile errors, I would manually get rid
of the problem coding and move on. But when I have a lot of these errors,
making manual changes because impractical.

I'm relatively new to using emacs/Auctex as my text editor. I'm
hoping Auctex has a function for what I want to do. But I haven't come
across anything yet.



Joel J. Adamson-2 wrote:
> 
> spinner  writes:
> 
>> Is there an Auctex function that compares two Tex files for changes and
>> then
>> Tex compiles to produce a printed document (PDF) showing redlining,
>> strikeouts, etc. An alternative to the perl script -latexdiff-?
>>
>> I'm not looking to diff two raw Tex files for viewing on a monitor.
>> Rather,
>> I want to produce a compiled Tex document showing differences between two
>> Tex files with redlining, strikeouts, etc..
> 
> Check out ed.sty[1].  Not an onscreen tool, but pretty darn close to
> what you're looking for.  What is the purpose of comparing the two
> documents?
> 
> Joel
> 
> Footnotes: 
> [1]  http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/ed.html
> 
> -- 
> Joel J. Adamson
> Servedio Lab -- University of North Carolina at Chapel Hill
> FSF Member #8164 -- http://www.fsf.org/jf?referrer=8164
> http://www.unc.edu/~adamsonj
> 
> Please use my new gmail address: 
> 
>  
> ___
> auctex mailing list
> auctex@gnu.org
> https://lists.gnu.org/mailman/listinfo/auctex
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Track-changes-function--tp32177308p32180629.html
Sent from the Gnu - AUCTeX - General mailing list archive at Nabble.com.


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


[AUCTeX] Track changes function?

2011-08-02 Thread spinner

Is there an Auctex function that compares two Tex files for changes and then
Tex compiles to produce a printed document (PDF) showing redlining,
strikeouts, etc. An alternative to the perl script -latexdiff-?

I'm not looking to diff two raw Tex files for viewing on a monitor. Rather,
I want to produce a compiled Tex document showing differences between two
Tex files with redlining, strikeouts, etc..


-- 
View this message in context: 
http://old.nabble.com/Track-changes-function--tp32177308p32177308.html
Sent from the Gnu - AUCTeX - General mailing list archive at Nabble.com.


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


[AUCTeX] preview-latex with \citet, \citep?

2011-07-24 Thread spinner

I can generate previews of citations with \cite. But I cannot get any
previews with Natbib's \citet, \citep, \citeauthor, etc. commands. 
Is there a way to get previews with Natbib's citation commands?
-- 
View this message in context: 
http://old.nabble.com/preview-latex-with-%5Ccitet%2C-%5Ccitep--tp32128573p32128573.html
Sent from the Gnu - AUCTeX - General mailing list archive at Nabble.com.


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