Skip to main content
1-Visitor
May 12, 2011
Question

Inserting relative, not absolute paths into image href

  • May 12, 2011
  • 8 replies
  • 1739 views
Hi, all...

Is there a way to tell Arbortext 5.4 to insert relative paths instead of absolute paths into the href when inserting an image into a DITA topic?

Thanks

Steve Fogel
Oracle Corporation

    8 replies

    1-Visitor
    May 12, 2011
    seems like I get relative if the graphics are below the documents location
    and full paths if they exist in a location above the document. The
    grpahics path plays into what information is used to make the path as
    well.

    ..dan


    > Hi, all...
    >
    > Is there a way to tell Arbortext 5.4 to insert relative paths instead of
    > absolute paths into the href when inserting an image into a DITA topic?
    >
    > Thanks
    >
    > Steve Fogel
    > Oracle Corporation
    >
    18-Opal
    May 12, 2011
    Hi Steve--

    I don't know if there's a way to set that specifically for the DITA
    application, but you can probably handle this with some custom code
    using the graphicpathhook. You can look it up in the Help Center for
    details on how it works.

    --Clay

    Clay Helberg
    Senior Consultant
    TerraXML

    May 13, 2011

    Steve, make a search in the group on 'relative' term - there are quite a few discussions of the topic.

    1-Visitor
    May 16, 2011

    Steve, I just implemented this for my team in Arbortext Editor 6.0. I based it off this tutorial I found online:http://communities.ptc.com/thread/33169


    You will basically need to write some custom ACL code in dita.acl.



    In Reply to Steve Fogel:


    Hi, all...

    Is there a way to tell Arbortext 5.4 to insert relative paths instead of absolute paths into the href when inserting an image into a DITA topic?

    Thanks

    Steve Fogel
    Oracle Corporation
    1-Visitor
    May 17, 2011
    I have some co-workers who are interested in this list. I think I was just "grandfathered" in to this list from the old Arbortext adepters list. I don't remember ever filling out an online form or anything to subscribe to this list.
    I have no idea how to go about signing up. I know there are some links at the bottom of postings, but these appear to be more PTC-global and don't seem to be very useful for signing up for this list in particular.
    Can someone tell me the URL for signing up for Adepters?
    12-Amethyst
    May 17, 2011
    Try the link below. Under the Forum dropdown you'll find the Adepters section.

    1-Visitor
    May 17, 2011
    I see no Forum dropdown on this page. I see a username and password field to fill out. However, as a non-user, without actually having a username and/or password, this would not be very useful.
    12-Amethyst
    May 17, 2011
    Sorry about that. Go to the login registration link from there. I've provided the direct link below.