<commit_before>fromHTMLtoXML_InDesignFlavour
=============================

### To do
* ~~inserire tabella in html [R]~~
* ~~script note al [piede](http://www.indiscripts.com/post/2010/04/refoot-convert-markup-text-into-indesign-footnotes "Title") [S]~~
* aggiustare script per tabelle [R]<commit_msg>README updated<commit_after>from HTML to XML – InDesign flavour
=============================

## To do
* ~~inserire tabella in html [R]~~
* ~~script note al [piede](http://www.indiscripts.com/post/2010/04/refoot-convert-markup-text-into-indesign-footnotes "Title") [S]~~
* ~~aggiungere script per tabelle [R]~~
* rendere eseguibile lo script per le tabelle [R]


## Abstract
Questa repository raccoglie una serie di strumenti/script utili a tradurre HTML verso XML in modo che sia formattato secondo i dettami Adobe.

Al momento il processo supporta i seguenti tag

* `<h*>`
* `<p>`
* `<img>` and `<fig>`
* `<ul>`
* `<ol>`
* `<a>`
* `<q>`
* `<b>` and `<strong>`
* `<i>` and `<em>`


## Getting started
* Install [Python](https://www.python.org/)
* install [Beautiful Soup](http://www.crummy.com/software/BeautifulSoup/)
* download/fork the repository
* get InDesign

## Sources

## Step by step
{'fraction_non_alphanumeric': 0.20735785953177258, 'fraction_numerical': 0.010033444816053512, 'mean_word_length': 5.138461538461539, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 1, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '391282', 'n_tokens_mistral': 458, 'n_tokens_neox': 434, 'n_words': 114}