Menu

#176 Content duplicated in output

Current_release
open
None
1
2014-07-28
2014-07-25
Bruce G
No

When I run the HTML2 or HTML5 transform, it produces a set of output that contains information about my source tree.

My DITA is set up as follows:
/our_docs/DITA-OT1.7.5
/our_docs/working
/our_docs/out

My source files are:
/our_docs/working/widget/my_map.ditamap
/our_docs/working/widget/file1.xml
/our_docs/working/widget/file2.xml
/our_docs/working/widget/file3.xml

I expect the following output:
/our_docs/out/widget/index.html
/our_docs/out/widget/file1.html
/our_docs/out/widget/file2.html
/our_docs/out/widget/file3.html

I get the following output:
/our_docs/out/widget/index.html
/our_docs/out/widget/our_docs/working/widget/file1.html
/our_docs/out/widget/our_docs/working/widget/file2.html
/our_docs/out/widget/our_docs/working/widget/file3.html

Please let me know how I can fix this.

Thanks,
Bruce

Related

Bugs: #176

Discussion

  • W. Eliot Kimber

    W. Eliot Kimber - 2014-07-25

    I see that the output directory structure isn't exactly like the structure, but I don't see any duplication.

    Can you provide a set of source files and result files that demonstrate the issue?

     
    • Bruce G

      Bruce G - 2014-07-25

      Sorry; I meant to correct that title.

      When I did a clean install, I could not recreate the duplication.

      My concern here is that I don't want to copy the source tree into the
      output tree. Especially since different writers will have content installed
      in different locations.

      Cheers,
      Bruce

      On Fri, Jul 25, 2014 at 3:04 PM, W. Eliot Kimber drmacro@users.sf.net
      wrote:

      I see that the output directory structure isn't exactly like the
      structure, but I don't see any duplication.

      Can you provide a set of source files and result files that demonstrate
      the issue?


      Status: open
      Group: Current_release
      Created: Fri Jul 25, 2014 09:41 PM UTC by Bruce G
      Last Updated: Fri Jul 25, 2014 09:41 PM UTC
      Owner: nobody

      When I run the HTML2 or HTML5 transform, it produces a set of output that
      contains information about my source tree.

      My DITA is set up as follows:
      /our_docs/DITA-OT1.7.5
      /our_docs/working
      /our_docs/out

      My source files are:
      /our_docs/working/widget/my_map.ditamap
      /our_docs/working/widget/file1.xml
      /our_docs/working/widget/file2.xml
      /our_docs/working/widget/file3.xml

      I expect the following output:
      /our_docs/out/widget/index.html
      /our_docs/out/widget/file1.html
      /our_docs/out/widget/file2.html
      /our_docs/out/widget/file3.html

      I get the following output:
      /our_docs/out/widget/index.html
      /our_docs/out/widget/our_docs/working/widget/file1.html
      /our_docs/out/widget/our_docs/working/widget/file2.html
      /our_docs/out/widget/our_docs/working/widget/file3.html

      Please let me know how I can fix this.

      Thanks,
      Bruce


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/dita4publishers/bugs/176/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #176

      • Bruce G

        Bruce G - 2014-07-25

        ant
        -Dargs.input=/Users/bgutman/Dev/dita_test/test1/working/CM/CDH5-High-Availability-Guide.ditamap
        -Doutput.dir=/Users/bgutman/Dev/dita_test/test1/out/CM/html2
        -Dtranstype=html2

        On Fri, Jul 25, 2014 at 3:09 PM, Bruce Gutman bruceg@techdocz.com wrote:

        Sorry; I meant to correct that title.

        When I did a clean install, I could not recreate the duplication.

        My concern here is that I don't want to copy the source tree into the
        output tree. Especially since different writers will have content installed
        in different locations.

        Cheers,
        Bruce

        On Fri, Jul 25, 2014 at 3:04 PM, W. Eliot Kimber drmacro@users.sf.net
        wrote:

        I see that the output directory structure isn't exactly like the
        structure, but I don't see any duplication.

        Can you provide a set of source files and result files that demonstrate
        the issue?


        Status: open
        Group: Current_release
        Created: Fri Jul 25, 2014 09:41 PM UTC by Bruce G
        Last Updated: Fri Jul 25, 2014 09:41 PM UTC
        Owner: nobody

        When I run the HTML2 or HTML5 transform, it produces a set of output that
        contains information about my source tree.

        My DITA is set up as follows:
        /our_docs/DITA-OT1.7.5
        /our_docs/working
        /our_docs/out

        My source files are:
        /our_docs/working/widget/my_map.ditamap
        /our_docs/working/widget/file1.xml
        /our_docs/working/widget/file2.xml
        /our_docs/working/widget/file3.xml

        I expect the following output:
        /our_docs/out/widget/index.html
        /our_docs/out/widget/file1.html
        /our_docs/out/widget/file2.html
        /our_docs/out/widget/file3.html

        I get the following output:
        /our_docs/out/widget/index.html
        /our_docs/out/widget/our_docs/working/widget/file1.html
        /our_docs/out/widget/our_docs/working/widget/file2.html
        /our_docs/out/widget/our_docs/working/widget/file3.html

        Please let me know how I can fix this.

        Thanks,
        Bruce


        Sent from sourceforge.net because you indicated interest in
        https://sourceforge.net/p/dita4publishers/bugs/176/

        To unsubscribe from further messages, please visit
        https://sourceforge.net/auth/subscriptions/

         

        Related

        Bugs: #176

        • Bruce G

          Bruce G - 2014-07-25

          Actually, I was able to replicate it in HTML5.

          My DITA is set up as follows:
          ~/dev/test/our_docs/DITA-OT1.7.5
          ~/dev/test/our_docs/working
          ~/dev/test/our_docs/out

          My source files are:
          ~/dev/test/our_docs/working/widget/my_map.ditamap
          ~/dev/test/our_docs/working/widget/file1.xml
          ~/dev/test/our_docs/working/widget/file2.xml
          ~/dev/test/our_docs/working/widget/file3.xml

          I expect the following output:
          ~/dev/test/our_docs/out/widget/html5/index.html
          ~/dev/test/our_docs/out/widget/html5/file1.html
          ~/dev/test/our_docs/out/widget/html5/file2.html
          ~/dev/test/our_docs/out/widget/html5/file3.html

          I get the following output:
          ~/dev/test/our_docs/out/html5/widget/index.html
          ~/dev/test/our_docs/out/html5/widget/our_docs/working/widget/file1.html
          (weird path with two parents of doc)
          ~/dev/test/our_docs/out/html5/widget/our_docs/working/widget/file2.html
          ~/dev/test/our_docs/out/html5/widget/our_docs/working/widget/file3.html

          ~/dev/test/our_docs/out/html5/widget//test/our_docs/working/widget/file1.html
          (duplicate file; weird path with three parents of doc)
          ~/dev/test/our_docs/out/html5/widget//test/our_docs/working/widget/file2.html
          ~/dev/test/our_docs/out/html5/widget//test/our_docs/working/widget/file3.html

          On Fri, Jul 25, 2014 at 3:10 PM, Bruce Gutman bruceg@techdocz.com wrote:

          ant
          -Dargs.input=/Users/bgutman/Dev/dita_test/test1/working/CM/CDH5-High-Availability-Guide.ditamap
          -Doutput.dir=/Users/bgutman/Dev/dita_test/test1/out/CM/html2
          -Dtranstype=html2

          On Fri, Jul 25, 2014 at 3:09 PM, Bruce Gutman bruceg@techdocz.com wrote:

          Sorry; I meant to correct that title.

          When I did a clean install, I could not recreate the duplication.

          My concern here is that I don't want to copy the source tree into the
          output tree. Especially since different writers will have content installed
          in different locations.

          Cheers,
          Bruce

          On Fri, Jul 25, 2014 at 3:04 PM, W. Eliot Kimber drmacro@users.sf.net
          wrote:

          I see that the output directory structure isn't exactly like the
          structure, but I don't see any duplication.

          Can you provide a set of source files and result files that demonstrate
          the issue?


          Status: open
          Group: Current_release
          Created: Fri Jul 25, 2014 09:41 PM UTC by Bruce G
          Last Updated: Fri Jul 25, 2014 09:41 PM UTC
          Owner: nobody

          When I run the HTML2 or HTML5 transform, it produces a set of output
          that contains information about my source tree.

          My DITA is set up as follows:
          /our_docs/DITA-OT1.7.5
          /our_docs/working
          /our_docs/out

          My source files are:
          /our_docs/working/widget/my_map.ditamap
          /our_docs/working/widget/file1.xml
          /our_docs/working/widget/file2.xml
          /our_docs/working/widget/file3.xml

          I expect the following output:
          /our_docs/out/widget/index.html
          /our_docs/out/widget/file1.html
          /our_docs/out/widget/file2.html
          /our_docs/out/widget/file3.html

          I get the following output:
          /our_docs/out/widget/index.html
          /our_docs/out/widget/our_docs/working/widget/file1.html
          /our_docs/out/widget/our_docs/working/widget/file2.html
          /our_docs/out/widget/our_docs/working/widget/file3.html

          Please let me know how I can fix this.

          Thanks,
          Bruce


          Sent from sourceforge.net because you indicated interest in
          https://sourceforge.net/p/dita4publishers/bugs/176/

          To unsubscribe from further messages, please visit
          https://sourceforge.net/auth/subscriptions/

           

          Related

          Bugs: #176

  • W. Eliot Kimber

    W. Eliot Kimber - 2014-07-25

    Also, can you show the parameters you're using to run the HTML2 transform?

     
  • Bruce G

    Bruce G - 2014-07-25

    I can email a complete set of content if that helps.

     
  • W. Eliot Kimber

    W. Eliot Kimber - 2014-07-28
    • assigned_to: W. Eliot Kimber
     
    • Bruce G

      Bruce G - 2014-07-28

      FYI:
      The owner of this repository (drmacro) is already at their plan limit and
      will need to upgrade before adding more users.

      On Mon, Jul 28, 2014 at 7:40 AM, W. Eliot Kimber drmacro@users.sf.net
      wrote:

      • assigned_to: W. Eliot Kimber

      Status: open
      Group: Current_release
      Created: Fri Jul 25, 2014 09:41 PM UTC by Bruce G
      Last Updated: Fri Jul 25, 2014 10:28 PM UTC
      Owner: W. Eliot Kimber

      When I run the HTML2 or HTML5 transform, it produces a set of output that
      contains information about my source tree.

      My DITA is set up as follows:
      /our_docs/DITA-OT1.7.5
      /our_docs/working
      /our_docs/out

      My source files are:
      /our_docs/working/widget/my_map.ditamap
      /our_docs/working/widget/file1.xml
      /our_docs/working/widget/file2.xml
      /our_docs/working/widget/file3.xml

      I expect the following output:
      /our_docs/out/widget/index.html
      /our_docs/out/widget/file1.html
      /our_docs/out/widget/file2.html
      /our_docs/out/widget/file3.html

      I get the following output:
      /our_docs/out/widget/index.html
      /our_docs/out/widget/our_docs/working/widget/file1.html
      /our_docs/out/widget/our_docs/working/widget/file2.html
      /our_docs/out/widget/our_docs/working/widget/file3.html

      Please let me know how I can fix this.

      Thanks,
      Bruce


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/dita4publishers/bugs/176/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #176

  • Anonymous

    Anonymous - 2014-07-28

    For the html5 plugin, which version are you using. The latest development tree is not yet merged into the ditaforpublishers project, it is on github here:

    https://github.com/uo-hrsys/net.sourceforge.dita4publishers.html5

    If you clone it, or download a zip archive, ensure to rename it net.sourceforge.dita4publishers.html5 before replacing the version shipped with the dita4publishers project

     

Anonymous
Anonymous

Add attachments
Cancel