How to view texi files?

Discussion of programming Lisps using Emacs, including SLIME and other tools
Post Reply
minibuffer
Posts: 5
Joined: Mon Feb 21, 2011 4:55 pm

How to view texi files?

Post by minibuffer » Mon Mar 14, 2011 6:09 pm

I'd like to read the spanish translation of emacs-lisp-intro

emacs-lisp-intro-es.texi

http://mercurial.intuxication.org/hg/em ... 91208876da

After downloading and starting the texi file in emacs, what should I do to see it in readable form?

nuntius
Posts: 538
Joined: Sat Aug 09, 2008 10:44 am
Location: Newton, MA

Re: How to view texi files?

Post by nuntius » Mon Mar 14, 2011 8:05 pm

Make sure you're viewing them as texinfo files ("M-x texinfo-mode").
Display the structure menu ("C-c C-s").

These FreeBSD docs may be helpful.

If that doesn't look good, texi2html or texi2pdf may be more useful.

minibuffer
Posts: 5
Joined: Mon Feb 21, 2011 4:55 pm

Re: How to view texi files?

Post by minibuffer » Tue Mar 15, 2011 6:04 am

The mode seems to be the "texinfo" mode, emacs does it ok. But all I get is an unreadable html source view with all the html tags in between (or is it xml?)

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<head>
<link rel="icon" href="/hgweb/elisp-es/static/hgicon.png" type="image/png" />
<meta name="robots" content="index, nofollow"/>
...

When I press C-c C-s I get a message:

Code: Select all

Searched 1 buffer; no matches for `^\(?:\...
Can it be something wrong with the texi file, or? It is about 4MB, so if anyone wants to see it...

minibuffer
Posts: 5
Joined: Mon Feb 21, 2011 4:55 pm

Re: How to view texi files?

Post by minibuffer » Tue Mar 15, 2011 1:39 pm

Now this begins to clarify. I stupidly tried to download the corresponding html-page instead of the gz-packet. No wonder why it looked so strange with all the tags inside it.

trillioneyes
Posts: 8
Joined: Sat Nov 20, 2010 10:00 pm

Re: How to view texi files?

Post by trillioneyes » Tue Mar 15, 2011 5:36 pm

Hehe, I have done this before. I am glad I'm not the only one! :oops:

Post Reply