<commit_before>---
layout: post
title:  "Second Post"
date:   2016-09-27 19:45:31 +0530
categories: jekyll update
---

<commit_msg>Second Post about assignment three<commit_after>---
layout: post
title:  "Assignment Three"
date:   2016-09-27 19:45:31 +0530
categories: jekyll update
---

The work I converted was an assignment for ENEC 370 where I recorded everthing I ate for a day.
I then had to track where the food I ate came from in the world and where it was originally domesticated.
The purpose of this assignment was to make people think more carefully about their food purchases.
I then wrote a short summary of what I learned and what surprised me. 

To convert the files I created a variable FILE of my assignment in markdown format. 
Then I converted the file using "pandoc -o". This command allows you to convert between multiple formats. 
I also changed the geometry of the PDF file using "-V geometry:margin=1in" to improve the readability of the table.
This was the biggest issue I had, the table was kind of narrow and some of the titles overlapped. 
Simply expanding the margins of the PDF at first didn't help and I only had the issue with the PDF conversion.
Once I made the margin .3in though the overlap stopped and the format was much more pleasing to the eye. 

The original file I converted from was [Dinkins_assignment1.md](https://github.com/inls161/assignment-3-ldinkins/blob/master/Dinkins_assignment1.md).

**Output Files**

* [fooddiary.html](https://github.com/inls161/assignment-3-ldinkins/blob/master/fooddiary.html)
* [fooddiary.docx](https://github.com/inls161/assignment-3-ldinkins/blob/master/fooddiary.docx)
* [fooddiary.odt](https://github.com/inls161/assignment-3-ldinkins/blob/master/fooddiary.odt)
* [fooddiary.pdf](https://github.com/inls161/assignment-3-ldinkins/blob/master/fooddiary.pdf)

Here is my [editor](https://ide.c9.io/ldinkins/assignment-3) and here is my [Github script](https://github.com/inls161/assignment-3-ldinkins/blob/master/ldinkins-convert-docs.sh). 
{'fraction_non_alphanumeric': 0.09275793650793651, 'fraction_numerical': 0.03422619047619048, 'mean_word_length': 4.422043010752688, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 7, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4724059', 'n_tokens_mistral': 659, 'n_tokens_neox': 614, 'n_words': 235}