Pillar hyperref and refs numbering

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Pillar hyperref and refs numbering

Peter Uhnak
Hi,

I have two questions:

1.
Would it be possible to add \usepackage{hyperref} to Pillar pdf output? Because currently all links are invisible (well, not invisible but they look like regular text so if the).

So if you have sentence like "Then create a directory named "pharo-vm" and unzip the VM for windows that you can get on the pharo website (windows virtual machine) ." (Section "installing pillar on windows." nobody will notice that it's a link).
Having hyperref for print doesn't make sense but if people are viewing it on their computer it's useful.


2.
Why does HTML and PDF numbering differ?

For example the first figure in HTML is "15.1", whilst in PDF its "1.1".

This is further exemplified in the second sentence of the chapter
"Pillar is currently used to write the Enterprise Pharo book and other projects (see Section 1.1)."
 or
"Pillar is currently used to write the Enterprise Pharo book and other projects (see Section 15.1.2 )."

Where in PDF it's actually referring to the whole chapter instead of the proper part. But this may be result of the subsections not being numbered (unlike html, which numbered is).

Thanks,
Peter
Reply | Threaded
Open this post in threaded view
|

Re: Pillar hyperref and refs numbering

CyrilFerlicot
Le 03/08/2015 12:44, Peter Uhnák a écrit :
> Hi,
>

Hi

> I have two questions:
>
> 1.
> Would it be possible to add \usepackage{hyperref} to Pillar pdf output?
> Because currently all links are invisible (well, not invisible but they
> look like regular text so if the).
>
> So if you have sentence like "Then create a directory named "pharo-vm"
> and unzip the VM for windows that you can get on the pharo website
> (windows virtual machine) ." (Section "installing pillar on windows."
> nobody will notice that it's a link).
> Having hyperref for print doesn't make sense but if people are viewing
> it on their computer it's useful.
>
I tried to add what you write but I do not see the difference. Do I have
to add something else? (I did not used much LaTeX before so I'm not
familiar with LaTeX templates.)

>
> 2.
> Why does HTML and PDF numbering differ?
>
> For example the first figure in HTML is "15.1", whilst in PDF its "1.1".
>
> This is further exemplified in the second sentence of the chapter
> "Pillar is currently used to write the Enterprise Pharo book and other
> projects (see Section 1.1)."
>  or
> "Pillar is currently used to write the Enterprise Pharo book
> <https://github.com/SquareBracketAssociates/EnterprisePharo> and other
> projects (see Section 15.1.2
> <https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/PillarChap/Pillar.html#pillarUSERS>)."
>
> Where in PDF it's actually referring to the whole chapter instead of the
> proper part. But this may be result of the subsections not being
> numbered (unlike html, which numbered is).
>
This is because you check only 1 chapter. If you check the whole book on
"book-result" you will see that it's "15.1".

See: http://puu.sh/jnEyC/8952285cee.png

If you compile only 1 chapter in LaTeX then you will only have the
numbering of the chapter.
If you compile the whole book you will have the numbering of all chapters.

Cyril


signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Pillar hyperref and refs numbering

Sean P. DeNigris
Administrator
jecisc wrote
If you compile only 1 chapter in LaTeX then you will only have the
numbering of the chapter.
If you compile the whole book you will have the numbering of all chapters.
This seems to come up quite a bit. Can we add a parameter to specify the numbering when only compiling one chapter?
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: Pillar hyperref and refs numbering

CyrilFerlicot
Le 03/08/2015 15:37, Sean P. DeNigris a écrit :
> jecisc wrote
>> If you compile only 1 chapter in LaTeX then you will only have the
>> numbering of the chapter.
>> If you compile the whole book you will have the numbering of all chapters.
>
> This seems to come up quite a bit. Can we add a parameter to specify the
> numbering when only compiling one chapter?
>

Hi,
from my opinion this is useless because we export chapter by chapter
only to avoid to spend 2min waiting LaTeX to finish his compilation when
we work on a chapter. And when we work on a chapter we don't care if the
numbering begin at the right number.
When we are done with our chapter we can just launch the whole export
and get the right numbering. If we work on a SquareBracketAssociates
book, the CI will do the whole export by himself.


>
>
> -----
> Cheers,
> Sean
> --
> View this message in context: http://forum.world.st/Pillar-hyperref-and-refs-numbering-tp4840747p4840773.html
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>



signature.asc (836 bytes) Download Attachment