# I made a LaTeX progress visualiser

**URL:** <https://forum.beeminder.com/t/i-made-a-latex-progress-visualiser/6844>\
**Category:** Tech\
**Created:** [June 2, 2020, 8:24pm UTC](https://forum.beeminder.com/t/i-made-a-latex-progress-visualiser/6844 "2020-06-02T20:24:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![phi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/phi/32/2586_2.png) [@phi](https://forum.beeminder.com/u/phi)\
**Post date:** [June 2, 2020, 8:24pm UTC](https://forum.beeminder.com/t/i-made-a-latex-progress-visualiser/6844/1 "2020-06-02T20:24:53Z")

</div>

When writing documents of sufficient length, I find it extremely helpful to have a good indication of how far along I am. In this case I’m going one last time through my documentation and tying up any loose ends. The whole thing is 86 pages long front to back.

It started as this:

 ![image](https://us1.discourse-cdn.com/flex019/uploads/beeminder/original/2X/2/227f17b7b9d9c53c8e437a3da13dcb3abc0901ad.png)

Which is nice and helpful and easy to do:

```latex
\subsection{Codec\statusdone{}}

```

But I wanted more. So I wrote a parser to extract that information et voilà:

![image](https://us1.discourse-cdn.com/flex019/uploads/beeminder/original/2X/7/7ba3f50b2dd5491693dd3568ac4885ec3a105ff2.png)

Here’s a longer excerpt:

```plaintext
…
installation.tex: 0%
concepts.tex: 57%
pipeline.tex: 63%
performance.tex: 83%
cython.tex: 100%
…
65 of 95 sections done, 30 left
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░ 68%
{u'canonical': u'02 30 "via bmndr at 22:10:40"',
 u'comment': u'via bmndr at 22:10:40',
 u'daystamp': u'20200602',
 u'fulltext': u'2020-Jun-02 entered at 22:10 via api',
 u'id': u'5ed6b2403b53bf26d3008392',
 u'origin': u'api',
 u'requestid': None,
 u'status': u'created',
 u'timestamp': 1591128640,
 u'updated_at': 1591128640,
 u'value': 30.0}

```

Because this is just something I need for the next few days I didn’t pour lots of time into this so I botched together a simple Beeminder integration using `bmndr` (hence the Python output).  
And it worked great, so I threw it in a `watch -n 30 'sbt sectionscanner/run'` so it would run every 30s and update Beeminder accordingly.

But… it was a bit too simple because… well let’s just say Beeminder only allows a not-so-large number of datapoints per day 😅  
For more LaTeX goodness, see this other thing I made, which is actually closely related:

> [@I made a (todo) scanner for LaTeX](https://forum.beeminder.com/t/i-made-a-todo-scanner-for-latex/5868):
>
> Use it to find all these \todo{}s and other things you missed! The readme got an example for how to use it to find duplicate \emph{}s. Something I always struggled with. I made it so you can hook the output up to other tools for e.g. automatic beeminding of the \todo{}s left in your .tex sources. Check it out here:

---

<div class="post-metadata">

**Author:** ![phi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/phi/32/2586_2.png) [@phi](https://forum.beeminder.com/u/phi)\
**Post date:** [June 2, 2020, 9:54pm UTC](https://forum.beeminder.com/t/i-made-a-latex-progress-visualiser/6844/2 "2020-06-02T21:54:43Z")

</div>

I can happily report that Discord supports Unicode block characters in the status 🙂

![image](https://us1.discourse-cdn.com/flex019/uploads/beeminder/original/2X/5/571a1d32af699b408c30da801021e740180f9c91.png)

---

<div class="post-metadata">

**Author:** ![phi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/phi/32/2586_2.png) [@phi](https://forum.beeminder.com/u/phi)\
**Post date:** [June 5, 2020, 9:06am UTC](https://forum.beeminder.com/t/i-made-a-latex-progress-visualiser/6844/3 "2020-06-05T09:06:53Z")

</div>

I worked a tiny bit more on it and I know I’m probably not gonna win any awards with this but I think it’s neat!

 ![image](https://us1.discourse-cdn.com/flex019/uploads/beeminder/original/2X/4/49766ae8ae7dd4bcdb11adbe636f0bc5cad0eca5.png)
