instiki: how to disable views

P

Patrick Gundlach

Dear instiki users,

I am not sure if there is a better place to ask (please tell me if
there is).

On my instiki (0.9.1) pages I have links at the bottom that look like:

Views: Print |TeX |PDF

How can I disable the TeX/PDF button or add new ones?


Patrick
 
D

David Heinemeier Hansson

I am not sure if there is a better place to ask (please tell me if
there is).

The instiki.org wiki has few pages for asking questions and getting
answers, such as the FAQ, Random Discussions, Bug Reports, etc.
On my instiki (0.9.1) pages I have links at the bottom that look like:

Views: Print |TeX |PDF

How can I disable the TeX/PDF button or add new ones?

You can't, right now. If you have pdftex and is running Textile, then
they're forced on there. That is unless you just remove the links from
app/views/wiki/page.rhtml.
--
David Heinemeier Hansson,
http://www.instiki.org/ -- A No-Step-Three Wiki in Ruby
http://www.basecamphq.com/ -- Web-based Project Management
http://www.loudthinking.com/ -- Broadcasting Brain
http://www.nextangle.com/ -- Development & Consulting Services
 
C

Carl Youngblood

You can't, right now. If you have pdftex and is running Textile, then
they're forced on there. That is unless you just remove the links from
app/views/wiki/page.rhtml.

It would be nice if instiki detected whether or not those features
were even available on the system it is running on and then removed
them if they don't work. They don't work, for example, on my system.

Carl
 
D

David Heinemeier Hansson

You can't, right now. If you have pdftex and is running Textile, then
It would be nice if instiki detected whether or not those features
were even available on the system it is running on and then removed
them if they don't work. They don't work, for example, on my system.

Instiki does actually detect whether pdflatex is available on the
system and removes the links if it is not. I'm not quite sure how
Instiki could test if the latex installation is broken, though.
--
David Heinemeier Hansson,
http://www.instiki.org/ -- A No-Step-Three Wiki in Ruby
http://www.basecamphq.com/ -- Web-based Project Management
http://www.loudthinking.com/ -- Broadcasting Brain
http://www.nextangle.com/ -- Development & Consulting Services
 
P

Patrick Gundlach

David Heinemeier Hansson said:
The instiki.org wiki has few pages for asking questions and getting
answers, such as the FAQ, Random Discussions, Bug Reports, etc.

OK. I am a complete wiki novice, so I didn't dare to put such a small
affair on the instiki.org wiki. I'll think about it next time I run
into a problem.
You can't, right now. If you have pdftex and is running Textile, then
they're forced on there. That is unless you just remove the links from
app/views/wiki/page.rhtml.

OK, that worked fine. Thank you. I am thining of setting up a instiki
wiki for ConTeXt, an TeX macro package. So I can't show LaTeX output;
I have to show ConTeXt output. Until then I don't want to raise
questions about it.

Patrick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,146
Messages
2,570,832
Members
47,374
Latest member
EmeliaBryc

Latest Threads

Top