[Date Index]
[Thread Index]
[Author Index]
Re: Creating 'smart' textbooks with mathematica?
*To*: mathgroup at smc.vnet.net
*Subject*: [mg126305] Re: Creating 'smart' textbooks with mathematica?
*From*: David Bailey <dave at removedbailey.co.uk>
*Date*: Mon, 30 Apr 2012 04:40:15 -0400 (EDT)
*Delivered-to*: l-mathgroup@mail-archive0.wolfram.com
*References*: <jnilt6$ahg$1@smc.vnet.net>
On 29/04/2012 07:08, luke wallace wrote:
>
> Can anyone find a way to do this? By the way, I can easily convert the
> PDF to Mathematica since the PDF has editable text. So that isn't an
> obstacle.
>
That depends on whether the formatting information is preserved somehow.
I imagine you would need to reformat all the headings, and if they had
names such as 3.4.3.2, you could probably rely on just converting all
such references to hyperlinks.
A good start would be to use NotebookGet[SelectedNotebook[]] to obtain
the entire BoxForm of the notebook (be careful not to print that out)
and pick out the headings. Then, for each heading you would use
NotebookFind to seek out the corresponding references in the notebook,
and replace them with a hyperlink.
Don't save the modified notebook on top of the original, because you
will almost certainly need to tweak your conversion code a bit!
David Bailey
http://www.dbaileyconsultancy.co.uk
Prev by Date:
**Re: Transcendental functions**
Next by Date:
**Re: How to use Jlink to access Mathematica Boolean Functions**
Previous by thread:
**Re: Creating 'smart' textbooks with mathematica?**
Next by thread:
**Re: Creating 'smart' textbooks with mathematica?**
| |