From fd73f306c4922fd016197e346da256645c565368 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Mon, 2 Apr 2012 13:03:00 -0400 Subject: [PATCH] Use Chemical.abbrev instead of .name in LaTeX docs (to avoid long lines). --- chemdb/templates/chemdb/doc/door.tex | 2 +- chemdb/templates/chemdb/doc/inventory.tex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chemdb/templates/chemdb/doc/door.tex b/chemdb/templates/chemdb/doc/door.tex index 555a412..f31fac1 100644 --- a/chemdb/templates/chemdb/doc/door.tex +++ b/chemdb/templates/chemdb/doc/door.tex @@ -28,7 +28,7 @@ \multicolumn{3}{c}{\Tstrut {{ title }} } \\ {% for chemical_instance in instance_group %} {{ chemical_instance.amount }} & {{ chemical_instance.id }} & - {{ chemical_instance.chemical.name|latex_safe|safe }} \\ + {{ chemical_instance.chemical.abbrev|latex_safe|safe }} \\ {% endfor %} {% endif %} {% endfor %} diff --git a/chemdb/templates/chemdb/doc/inventory.tex b/chemdb/templates/chemdb/doc/inventory.tex index 18c18ee..02c46a3 100644 --- a/chemdb/templates/chemdb/doc/inventory.tex +++ b/chemdb/templates/chemdb/doc/inventory.tex @@ -38,7 +38,7 @@ ID & Name & Amount & H & F & R & O & M & C & T \\ \hline \endhead{% for chemical_instance in chemical_instances %} {{ chemical_instance.id }} & - {{ chemical_instance.chemical.name|latex_safe|safe }} & + {{ chemical_instance.chemical.abbrev|latex_safe|safe }} & {{ chemical_instance.amount }} & {{ chemical_instance.chemical.health }} & {{ chemical_instance.chemical.fire }} & -- 2.26.2