## Section2.1Authoring

Having read already about text editors in Section 1.2, fire up your text editor and begin a text file that you will name quickstart.xml.

Though it is optional, it will be good practice to always make the first line of your file the following. This will identify your source file as an XML file, but the exact particulars are not important now.

<?xml version="1.0" encoding="UTF-8"?>


Every PreTeXt document is enclosed inside <pretext> tags and we will be writing an <article>. So extend your source to the following.

<?xml version="1.0" encoding="UTF-8"?>
<pretext>
<article>
</article>
</pretext>


Notice how every opening tag (no slash) has a paired closing tag (with a slash, plus the identical name). We would like to our article to have some content, so we will add a short paragraph with a single sentence. So finish your file off as follows and save it.

<?xml version="1.0" encoding="UTF-8"?>
<pretext>
<article>
<p>
This is a short sentence.
</p>
</article>
</pretext>


That's it. You now have a complete, properly-formed PreTeXt document. You are ready to organize the two tools necessary to process your source into different formats.