mbeddr / mbeddr.core

The mbeddr core. An extensible C
Eclipse Public License 2.0
223 stars 77 forks source link

Inconsistencies in DocumentRenderers #1787

Open josefmueller opened 6 years ago

josefmueller commented 6 years ago

Hi all,

There are inconsistencies in DocumentRenderers (LatexRenderer and HTMLDummyRenderer):

Is there a reason for these inconsistencies?

Thank you in advance.

Best regards,

Josef

danielratiu commented 6 years ago

Hi Josef,

the html generator was reworked recently - many things got improved. It seems that the latex generator is lagging behind - is on the old architecture.

Dan

On Wed, Oct 25, 2017 at 12:36 PM, josefmueller notifications@github.com wrote:

Hi all,

There are inconsistencies in DocumentRenderers (LatexRenderer and HTMLDummyRenderer):

  • result based on HTMLDummyRenderer is copied to doc_gen, but result based on LatexRenderer is left in source_gen (generated tex, ltx files, images folder is copied to doc_gen)
  • setting for LatexRenderer are in DocumentExport but setting for HTMLDummyRenderer are in DocumentConfig
  • DocumentExport.title, abstract and Document.Author are generated only for LatexRenderer (probably more similar inconsistencies)
  • HTMLDummyRenderer generates all Documents without any respect to DocumentExport.root (result files are named after Documents), LatexRenderer generate a file named after DocumentExport (content depends on DocumentExport.root)

Is there a reason for these inconsistencies?

Thank you in advance.

Best regards,

Josef

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mbeddr/mbeddr.core/issues/1787, or mute the thread https://github.com/notifications/unsubscribe-auth/ABXt1dwH4vmIpLNT-VbaQ7YRHFWiH0dOks5svw8sgaJpZM4QFyTT .