MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Creating 'smart' textbooks with mathematica?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg126317] Re: Creating 'smart' textbooks with mathematica?
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Mon, 30 Apr 2012 04:44:25 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <201204290607.CAA10773@smc.vnet.net>
  • Reply-to: murray at math.umass.edu

The LaTeX hyperref package allows a document author to insert links in a 
resulting PDF, both internal links and links to external URLs.

In Mathematica, it's pretty easy to accomplish what you want -- and not 
have to worry about subsequent renumbering of sections, subsections, 
etc. Select a cell, e.g., a Section cell, use the Cell > Cell Tags menu 
item, and add a tag to that cell -- use a good name describing the 
contents or title rather than the section number.

Then, whenever you want to refer to that section, use menu item Insert > 
Hyperlink, in the resulting dialog select Current notebook, then select 
the cell-tag you previously assigned to the target Section cell.


On 4/29/12 2:07 AM, luke wallace wrote:
> I have a technical PDF that is hard to read because you could be on
> pave 500 and it will tell you to "refer sections 1.1.4.5, 2.2.1.5,
> 3.4.3.2, and 6.1.2.4 for the rest of the information you need."
>
> So you have to jump around the book, finding these sections, going
> back and forth all day.
>
> If Mathematica could automatically create 'links' to jump to section
> headers throughout the whole book in one command for every section
> header, then this would revolutionize the functionality of technical e-
> books and make them ten times easier to understand.
>
> In all technical books, the actual "Section 1.1" for example is always
> different than the mere reference to "Section 1.1" because the real
> one will be in bold, italics, a bigger font size, etc no matter where
> it is actually randomly located.
>
> Going through one by one and creating interlinks would take forever,
> this one book alone I have has about 12,000 needed to be made.
>
> So, if Mathematica could simply link all font size 10 text to the font
> size 14 text of an identical string for all duplicate text strings
> found, it would do this for all 12,000 references automatically!
>
> Another way would be to link all non-bold font strings to their bold
> counterparts.
>
> Currently, Acrobat X, InDesign, FrameMaker, MS Word, and others can't
> do this based on merely font size or font style.
>
> 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.
>

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305



  • Prev by Date: Re: Getting only 1 of 3 curves of intersection
  • Next by Date: Re: Black box optimization
  • Previous by thread: Creating 'smart' textbooks with mathematica?
  • Next by thread: Re: Creating 'smart' textbooks with mathematica?