open a pdf-file at a certain page from within HTML

Asked by Juergen Walther

i used to adress pdf-docs relative and add a #page=<page number> construct to open pdf documents at a certain page. It does not seem to work on newer versions on any pdf reader on any system i use (MS windows xp with adobe acrobate, ubuntu with document viewer). See sample (bibliographic entries):

<p>
 <a href="../pdf/1998_2.pdf#page=17">Jounal:1998:2:18</a>,
<b>author:</b>
<i>title</i>,
jounal, 2(1998)18,
<i>Keywords: kw1; kw2</i>
</p>

any chance to open pdf at a certain page from within html?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu evince Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

Might be the manual of evince the default pdf document reader of Ubuntu migth help you...

Open a Terminal from the menu Applications → Accessories → Terminal and type:

man evince

Hope this helps

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#2

Then try also to install Acrobat reader in Ubuntu... but try also to install Opera browser and try with that...

----------------------------

Play mp3 and dvd under Ubuntu install skype googleearth acroread and other stuffs using Medibuntu

First please install https://help.ubuntu.com/community/RestrictedFormats

You need to have extra repositories enabled..

Please first enable the universe and multiverse repository:

Open System → Administration → Software sources → [ Tab Ubuntu software ]

enable "Community-mainteined Open Source software ( universe )"
enable "Proprietary drivers for devices ( restricted )"
enable "Software restrictecd by copyright or legal issue ( multiverse )"

Close and confirm the repository reload.

Type the following command in a terminal (applications → accessories → terminal)

sudo aptitude install vlc

To get better dvd playback and optional packages here the medibuntu available software list http://packages.medibuntu.org/
you need to add the medibuntu http://www.medibuntu.org/ repository to your /etc/apt/sources.list file:
( here the medibuntu howto https://help.ubuntu.com/community/Medibuntu but see below )

In short type or better copy and paste the rows, below one row a time then press enter:

ubu_codename=$(sudo lsb_release -c | cut -d: -f 2 | sed 's/^[ \t]*//;s/[ \t]*$//')
sudo wget http://www.medibuntu.org/sources.list.d/$ubu_codename.list -O /etc/apt/sources.list.d/medibuntu.list
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - && sudo apt-get update

Now to install, type:

sudo apt-get update
sudo apt-get install ubuntu-restricted-extras libxine1-ffmpeg
sudo aptitude install libdvdread3 libdvdnav4 libdvdcss2 regionset gnome-mplayer
sudo aptitude install non-free-codecs w32codecs
sudo aptitude install gstreamer0.10-pitfdll gstreamer0.10-plugins-good
sudo aptitude install gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse

give your user password when requested, you don't see nothing when you type it, then press enter.

You can also install other Medibuntu repository provided optional software http://packages.medibuntu.org/ :

sudo apt-get install skype
sudo apt-get install googleearth
sudo apt-get install acroread

Hope this helps

Can you help with this problem?

Provide an answer of your own, or ask Juergen Walther for more information if necessary.

To post a message you must log in.