bugGNU TeXmacs - Bugs: bug #35404, LaTeX index export is broken

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #35404: LaTeX index export is broken

Submitted by:  Francois Poulain <fpoulain>
Submitted on:  Mon 30 Jan 2012 03:16:02 PM UTC  
 
Category: ConversionPriority: 5 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Francois Poulain <fpoulain>
Originator Name: Open/Closed: Closed
Release: Release: None
Fixed Release: NoneFixed Release: 
Keywords: 

Fri 30 Mar 2012 03:09:32 PM UTC, comment #1:

Fixed in rev 5199.

The problem raised by the fact that the letter package doesn't provide the (needed) environment theindex (provided by article, book, report classes only) remains. But that's a different bug which will need to try on the global architecture of the exporter.

Francois Poulain <fpoulain>
Project MemberIn charge of this item.
Mon 30 Jan 2012 03:16:02 PM UTC, original submission:

testing the provided file in
https://savannah.gnu.org/bugs/?func=detailitem&item_id=11839

It appears that the LaTeX file doesn't compile. The LaTeX produced output is


\documentclass{letter}

%%%%%%%%%% Start TeXmacs macros
\usepackage[swedish]{babel}
\newcommand{\subindex}[2]{\index{#1!#2}}
%%%%%%%%%% End TeXmacs macros

\begin{document}

Subindex cannot be exported to latex as {\subindex{no}{sub}} demonstrates

\end{document}


Whereas is should be :


\documentclass{article}
\usepackage{makeidx}
\makeindex

%%%%%%%%%% Start TeXmacs macros
\usepackage[swedish]{babel}
\newcommand{\subindex}[2]{\index{#1!#2}}
%%%%%%%%%% End TeXmacs macros

\begin{document}

Subindex cannot be exported to latex as {\subindex{no}{sub}} demonstrates

\printindex

\end{document}


There is (at least) 4 problems :

  • The package dependency has not been resolved.
  • The preamble is incomplete (without the \makeindex macro, no index file is produced).
  • The index is not included (\printindex macro).
  • The letter package doesn't provide the (needed) environment theindex (provided by article, book, report classes only), which is another package dependency unsolved.
Francois Poulain <fpoulain>
Project MemberIn charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by fpoulain (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 30 Mar 2012 03:09:32 PM UTCfpoulainStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1