• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Export Html with MathML

Contributor ,
Jan 01, 2018 Jan 01, 2018

Copy link to clipboard

Copied

Hi,

     We can export indesign file to html using export format type to html like pdf.  How can i export indesign file to xhtml when using MathML.

     Is there is any option in Javascript to export? or we should use applescript?? uisng menu click...

TOPICS
Scripting

Views

1.1K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jan 07, 2018 Jan 07, 2018

Copy link to clipboard

Copied

Hi all,

     Just a reminder...

     1. Can we have option to export Html with MathML using indesign Javascript or applescript??

     2. How can export html in indesign with options??

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jan 08, 2018 Jan 08, 2018

Copy link to clipboard

Copied

export indd to html :

var doc= this.app.activeDocument;

doc.exportFile (ExportFormat.HTML,"c:\\tmp\\test.html")

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jan 10, 2018 Jan 10, 2018

Copy link to clipboard

Copied

Hi,

     Thanks for your reply...

     I need to export html with options. pls refer the below screenshot.

ViewHtml.png

     I need to disable the check box "View HTML after Exporting" and also other options of General, Image and Advanced. How can I change that?

     When I using applescript click event, I can click the check box but i could not able to check whether its  true or not (ie., enabled or disabled). How can i check this using applescript?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 10, 2018 Jan 10, 2018

Copy link to clipboard

Copied

Hi,

look into the document's HTMLExportPreferences.
There you find what you want.

app.documents[0].htmlExportPreferences.properties =

{

    // … etc. pp.

    exportOrder : ExportOrder.LAYOUT_ORDER ,

    viewDocumentAfterExport : false ,

    // … etc pp.

};

Here is the DOM documentation for CS6 compiled by Jongware:

Adobe InDesign CS6 (8.0) Object Model JS: HTMLExportPreference

Here for CC 2018 by Gregor Fellenz:

https://www.indesignjs.de/extendscriptAPI/indesign-latest/#HTMLExportPreference.html

Regards,
Uwe

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Feb 05, 2018 Feb 05, 2018

Copy link to clipboard

Copied

Hi,

     Sorry for the late reply...

  Thank you for your reply... I will check and get back...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Feb 07, 2018 Feb 07, 2018

Copy link to clipboard

Copied

Hi,

Its working... How can i do this using applescript?? how to set  html export preference?

viewDocumentAfterExport : false 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 07, 2018 Feb 07, 2018

Copy link to clipboard

Copied

Sorry,

I cannot help much with AppleScript.

Regards,
Uwe

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Feb 07, 2018 Feb 07, 2018

Copy link to clipboard

Copied

LATEST

Thank you for your reply...

found the solution...  Used click event in applescript...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines