Skip to content
glottotopia edited this page Mar 23, 2021 · 1 revision

the conversion tool is available from:

It takes a file of type *docx or *odt and converts it into a *tex file. This file can then be joined with our other files and be forwarded to overleaf.

The code for the web application is here https://github.com/langsci/lsp-converters/tree/master/webapp

The python scripts used for conversion are found in the Python Package Index (PyPI) and also on https://github.com/langsci/pypi

The converter calls the program writer2latex/w2l with the following options:

    "-wrap_lines_after=0",
    "-multilingual=false",  
    "-simple_table_limit=10"
    "-use_supertabular=false",
    "-float_tables=false", 
    "-float_figures=false", 
    "-use_caption=true", 
    '-image_options="width=\\textwidth"', 
    "-inputencoding=utf8",
    "-use_tipa=false", 
    "-use_bibtex=true", 
    "-ignore_empty_paragraphs=true",
    "-ignore_double_spaces=false",  
    "-formatting=convert_most",
    "-use_color=false",
    "-page_formatting=ignore_all",
    "-use_hyperref=true"