Jump to content

Publisher book chapter references should use relative paths


Recommended Posts

Perhaps a minor for some people, but it sure would be nice if .afbook files used relative paths for chapter references. Rarely, if ever, have I had use for an absolute file reference.

It makes switching from laptop to desktop cumbersome when using cloud storage, as well as with any collaborative workflow.

(If I'm missing a setting for using relative paths, I'd love to hear about it :D ).

Edited by herrkjeldsen
minor fix
Link to comment
Share on other sites

  • 2 weeks later...
On 9/13/2023 at 10:55 AM, PaoloT said:

Not only that: if duplicating a book for an alternative version, the duplicated book still points to the original documents, and one will risk to overwrite them instead of the new, duplicated ones.

I've confirmed that, and it is disturbing.

It could easily lead to data loss.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 18.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

Link to comment
Share on other sites

Basically, with the current setup that uses absolute paths, you need to do something like this if you have a folder (that contains a .afbook and its .afpub files) and you want to make a copy of it to safely experiment with, or to use for versioning:

Suppose you start with a folder named MyBook with the .afbook and .afpub files in it. And you want to make a new version (v2). You would do something like this:

  1. Make a copy of MyBook named MyBook-V2.
  2. Rename MyBook to MyBook-V1.
  3. Open the .afbook file in MyBook-V1. Publisher will complain of missing chapters (because MyBook doesn't exist) and ask if you want to locate them.
  4. Say yes, and select the appropriate .afpub file in MyBook-V1.
  5. Close that .afpub file, and close the .afbook file.
  6. Open the .afbook file in MyBook-V2. Publisher will complain of missing chapters (again because MyBook doesn't exist) and ask if you want to locate them.
  7. Say yes, and select the appropriate .afpub file in MyBook-V2.
  8. Continue working on V2, or close its .afpub and .afbook file to continue working later.

 

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 18.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.