Skip to main content
May 12, 2011 8:49 PM UTC
Question

Inserting relative, not absolute paths into image href

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

    May 12, 2011 9:07 PM UTC
    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
    >
    May 12, 2011 9:13 PM UTC
    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 9:56 AM UTC

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

    May 16, 2011 4:41 PM UTC

    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
    May 17, 2011 11:36 AM UTC
    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?
    May 17, 2011 1:36 PM UTC
    Try the link below. Under the Forum dropdown you'll find the Adepters section.

    May 17, 2011 1:45 PM UTC
    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.
    May 17, 2011 1:47 PM UTC
    Sorry about that. Go to the login registration link from there. I've provided the direct link below.