Using a Text File to Generate Latex Items.
- A complete install of
Python 3.x
. - The
.txt
file with properly formatted lines.
Formatted Lines:
Responding to enquiries within the defined scope of the role and redirecting as appropriate
Booking rooms and arranging appropriate accommodations.
Liaising with contacts to ensure consistent administration procedures are followed
You'll notice that periods are optional and each line contains no line breaks.
- Under your
USERPROFILE
, extractusing-text-to-generate-latex-items-main.zip
.
Example:
C:\Users\nso89\using-text-to-generate-latex-items-main
- Open
cmd.exe
and change the directory to theusing-text-to-generate-latex-items-main
folder.
Example:
C:\Users\nso89>cd using-text-to-generate-latex-items-main
- Start the
main.py
script.
Example:
C:\Users\nso89\using-text-to-generate-latex-items-main>python main.py
- Suppose the path to your
.txt
file isC:\Users\username\Projects\using-text-to-generate-latex-items-main\input.txt
, just provide the path without theUSERPROFILE
.
Example:
File Path: Projects\using-text-to-generate-latex-items-main\input.txt
- The
main.py
script generates theoutput.txt
file (the.txt
file will be generated in the same folder as theinput.txt
file).
\item Responding to enquiries within the defined scope of the role and redirecting as appropriate.
\item Booking rooms and arranging appropriate accommodations.
\item Liaising with contacts to ensure consistent administration procedures are followed.
You'll notice that the lines containing no periods, now end with periods.