This is a read-only archive of lispforum.com. The forum was locked to new users and posts and is preserved here as static HTML from a database snapshot taken on 2019-09-07.

How to view texi files?

5 posts · 11763 views

Re: How to view texi files?

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.

Re: How to view texi files?

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?)
<?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:
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...

Re: How to view texi files?

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.

Re: How to view texi files?

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