Pagina 1 di 1

[RISOLTO] Problema documentazione vim latex suite

Inviato: sab 18 set 2010, 21:10
da tom
Sto creando un pacchetto per la latex suite di vim. Devo dire che il pacchetto, installatosi in /usr/share/vim/vim72, funziona egregiamente. Sfortunatamente non riesco ad accedere alla documentazione della latex suite; precisamente sono 4 file che ho installato correttamente:
/usr/share/vim/vim72/doc/imaps.txt
/usr/share/vim/vim72/doc/latex-suite-quickstart.txt
/usr/share/vim/vim72/doc/latex-suite.txt
/usr/share/vim/vim72/doc/latexhelp.txt
tali file sono installati con i giusti permessi.
tuttavia se dentro vim digito l'help non trova nulla, ad esempio

Codice: Seleziona tutto

:help latex-suite.txt
E149: Spiacente, nessun aiuto per latex-suite.txt
Ho provato a documentarmi ed in effetti ho trovato nel pacchetto di Debian un file README.Debian in cui vi è il seguente trafiletto:

vim-latexsuite documentation
----------------------------
This package contains two documentation sets integrated with the vim help
system. You must edit a tex file in vim to activate it. Type:
:help latex-suite - for vim-latexsuite help
:help latex - for LaTeX help

There is a known bug, that sometimes makes the above documentation unavailable.
It probably means you have installed other vim script package which is not
compliant with Vim Scripting Policy. To make sure that this is the case, please
run, as root, the following command:
helpztags /usr/share/vim/addons/doc
and check if documentation is available now.


Even if it fixes the problem you are still encouraged to submit the bug. We
need to hunt for packages which are not compliant with the mentioned policy.
Just make sure that you give us all required information like:
- Is documentation available after running the helpztags command?
- Other installed vim script packages.

List of installed packages should be attached to your bugreport automagically.
If not, please run the following command:
dpkg -S /usr/share/vim/addons/doc/* 2>/dev/null | cut -d: -f1 | sort -u
and include the output in your bugreport.


PS:

Codice: Seleziona tutto

helpztags /usr/share/vim/addons/doc
in Slackware dovrebbe essere tradotto con

Codice: Seleziona tutto

helpztags /usr/share/vim/vim72/doc
Ebbene la fortuna vuole che helpztags non ci sia in slackware. Idee?

Re: problema documentazione vim latex suite

Inviato: sab 18 set 2010, 23:04
da tom
ho risolto da solo. Su slackware non abbiamo il comando helpztags, è vero, ma vim ha al suo interno il comando helptags (senza la z), così mi è bastato aprire vim come root e dare:

Codice: Seleziona tutto

:helptags /usr/share/vim/vim72/doc
Ho pacchettizzato il tutto ed aggiunto delle note al pacchetto. L'ho caricato sul server ftp.