- fix tags in footnotes, encoding problem
- check main.py that should keep only the body
inserire tabella in htmlscript note al piedeaggiungere script per tabellerendere eseguibile lo script per le tabelleinserire script per tabelle nel main [R]- cercare due .doc da inserire nelle sources
aggiustare e rendere eseguibile script note (problema regex still there)
This repository includes a series of tools/scripts meant to translate HTML to XML, formatted according Adobe Indesign standards.
Currently the process supports the following tags:
<h*>
<p>
<img>
and<fig>
<ul>
<ol>
<a>
<q>
<b>
and<strong>
<i>
and<em>
- Install pip:
sudo easy_install pip
- Install lxml:
sudo pip install lxml
- Install Beautiful Soup:
sudo pip install beautifulsoup4
- Install InDesign
- Copy the
ReFoot_mod.js
script into InDesign
- Open the terminal and go to the repository folder
- Run
python HTMLtoXML.py [yourfile.html]
- Import
[yourfile.xml]
into InDesign: from point 4 of this guide - Run the
ReFoot_mod.js
script