Difference between revisions of "Research/Web-to-print/ICML"

From Publication Station
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
==ICML files==
==ICML files==


Line 4: Line 6:




==Conversions to ICML==
== Importing ICML to InDesign==
Pandoc can convert HTML and Markdown markups into ICML, since the file format is is essentially XML markup.
An ICML file can be '''imported into InDesign''' with File>Place


Example command:
The present paragraph styles and chapter styles that were present in the ''manuscript'' which gave origin to the ICML are kept and included in the HTML file.
bold; italic; blockquotes; footnotes; headers; paragraphs; tables; lists.


  pandoc -s -f markdown -t icml -o my.icml my.md
Images are given an empty placeholder.


'''-s''' option, which stands for “standalone”, produces output with an appropriate header and footer;
==Updating content==
If the '''ICML remains linked''' to the inDesign project, changes performed in ''manuscript'', once converted to the ICML, will be integrated into the inDesign project.


'''-f''' option, which stands for “from”, is followed by the source format;


'''-t''' option, which stands for “to”, is followed by the output format;
==inDesign Styles==
 
See more in https://helpx.adobe.com/indesign/using/paragraph-character-styles.html
'''-o''' option, which stands for “output”;;


'''my.md''' is the markdown source filename.


== Importing ICML to InDesign==
==Importing styles from another inDesign project==
The generated ICML file is then '''imported into InDesign''' with File>Place


The following paragraph styles and chapter styles are automatically generated:
'''To import character and paragraph styles from another inDesign project:'''
bold; italic; blockquotes; footnotes; headers; paragraphs; tables; lists.
* Choose '''Load All Text Styles''' from the Paragraph Styles panel menu
** InDesign displays the Open a File dialog box.
* Locate and select the InDesign project file containing the styles you want and click the Open button.
** InDesign copies the character styles from that publication into the current document.


Images are given an empty  placeholder.
http://ptgmedia.pearsoncmg.com/images/art_0600indesign_b/elementLinks/styles07.gif


==Updating content==
If the '''ICML remains linked''' to the inDesign project, '''changes''' performed in the Markdown/HTML source, once converted to the ICML, will be integrated into the inDesign project.


If you unlink.


==inDesign Styles==
See more in https://helpx.adobe.com/indesign/using/paragraph-character-styles.html
==Importing/Exporting styles==
==Importing/Exporting styles==
* can CSS styles be imported and integrated into and inDesign project '''??'''
* can inDesign styles be exported and CSS style sheets  '''??'''


==Scribus==
According to Lynda.com course [https://www.lynda.com/InDesign-tutorials/Exporting-InDesign-styles-CSS-HTML/87008/94423-4.html Exporting InDesign styles for CSS and HTML] ''"InDesign writes and creates the CSS for you. This is not an option that I really recommend because InDesign, great as it is, does not write very good CSS. It tries to write CSS that is a very, very close match in appearance to your print layout and that's not necessarily Web-friendly.''"


[http://www.scribus.net/canvas/Scribus Scribus] is an Open Source desktop publishing (DTP) application is designed for layout, typesetting.
Besides the design spaces - the page and the screen have different properties and behaviors.  
It is an open source alternative to inDesign.
( More on Open Source, graphic design practice, and education on [http://vimeo.com/109695787 this interview] by [http://snelting.domainepublic.net/ Femke Snelting] )




Instead of importing ICML Scribus allows HTML content to be imported


The main rule for the HTML is that it must have a body


A list of HTML tags supported by Scribus can be found in http://wiki.scribus.net/canvas/Help:Manual_Importhtml
==Conversions to ICML==
Pandoc can convert HTML and Markdown markups into ICML, since the file format is is essentially XML markup.


In order to import an HTML files into Scribus, as structured content you need to use the Insert->Insert Text Frame tool.
Example command:
 
pandoc -s -f markdown -t icml -o my.icml my.md


With that tool you can select the space which the text will occupy on page.
'''-s''' option, which stands for “standalone”, produces output with an appropriate header and footer;


And inside that space right click the mouse, selecting "Get Text" option, which will allowing to import the HTML file.
'''-f''' option, which stands for “from”, is followed by the source format;


==Scribus styles==
'''-t''' option, which stands for “to”, is followed by the output format;
HTML tags, are recognized by Scribus, which can the stylized with Scribus.


Edit-> Styles...
'''-o''' option, which stands for “output”;;


Select the specific tag you'd like to edit and choose the option Edit.
'''my.md''' is the markdown source filename.


[[Category:brainstorm]]
==Links==
* [https://www.lynda.com/InDesign-tutorials/Welcome/87008/94350-4.html InDesign Styles in Depth]

Latest revision as of 10:25, 12 February 2018


ICML files

ICML files are essentially XML files, usualy managed by InCopy, Adobe’s own word processor, which can be easily imported into Adobe InDesign.


Importing ICML to InDesign

An ICML file can be imported into InDesign with File>Place

The present paragraph styles and chapter styles that were present in the manuscript which gave origin to the ICML are kept and included in the HTML file.

bold; italic; blockquotes; footnotes; headers; paragraphs; tables; lists.

Images are given an empty placeholder.

Updating content

If the ICML remains linked to the inDesign project, changes performed in manuscript, once converted to the ICML, will be integrated into the inDesign project.


inDesign Styles

See more in https://helpx.adobe.com/indesign/using/paragraph-character-styles.html


Importing styles from another inDesign project

To import character and paragraph styles from another inDesign project:

  • Choose Load All Text Styles from the Paragraph Styles panel menu
    • InDesign displays the Open a File dialog box.
  • Locate and select the InDesign project file containing the styles you want and click the Open button.
    • InDesign copies the character styles from that publication into the current document.

http://ptgmedia.pearsoncmg.com/images/art_0600indesign_b/elementLinks/styles07.gif


Importing/Exporting styles

According to Lynda.com course Exporting InDesign styles for CSS and HTML "InDesign writes and creates the CSS for you. This is not an option that I really recommend because InDesign, great as it is, does not write very good CSS. It tries to write CSS that is a very, very close match in appearance to your print layout and that's not necessarily Web-friendly."

Besides the design spaces - the page and the screen have different properties and behaviors.



Conversions to ICML

Pandoc can convert HTML and Markdown markups into ICML, since the file format is is essentially XML markup.

Example command:

pandoc -s -f markdown -t icml -o my.icml my.md

-s option, which stands for “standalone”, produces output with an appropriate header and footer;

-f option, which stands for “from”, is followed by the source format;

-t option, which stands for “to”, is followed by the output format;

-o option, which stands for “output”;;

my.md is the markdown source filename.

Links