Skip to content
Snippets Groups Projects
  1. Apr 21, 2020
    • Karl Fogel's avatar
      Avoid false positive in detecting footnote problem · 30c1f0e8
      Karl Fogel authored
      As promised in commit db47b65d.
      30c1f0e8
    • Karl Fogel's avatar
      Say more in error message about handling bug case · db47b65d
      Karl Fogel authored
      Since commit 018499ec, when the bug-detection plugin is enabled
      (e.g. "bugs: True" in the header) then on detecting a bug in the
      document we stop the build, unless in draft mode ("draft: True").
      
      There are thus three ways to fix such a build:
      
        1) Fix whatever the bug is in the document.
        2) Turn on draft mode.
        3) Turn off bug-detection mode.
      
      Since our bug-detection module is not perfect, (1) is not always an
      option because there might not actually be a bug in the document.
      That's what happened in this case: the module's attempt to detect
      proper formatting of footnotes by looking for the leading backslash
      (e.g., "\footnote" instead of "footnote") cries a false positive if
      the document uses "\begin{footnotesize} ... \end{footnotesize}" to set
      the font size.
      
      I'll improve that bug-detection case in a subsequent commit.  In the
      meantime, this commit improves the error message to inform the user
      about possibilities (2) and (3), which are not otherwise obvious.
      db47b65d
  2. Apr 10, 2020
  3. Mar 25, 2020
  4. Jan 21, 2020
    • Karl Fogel's avatar
      Restore section title size hierarchy in contracts · fea7af4e
      Karl Fogel authored
      Before this change, a section would have a small (5pt) title size, but
      then subsections within it would have a larger title size -- I don't
      know exactly what size, because it was some LaTeX default, but it was
      clearly larger than 5pt in any case.
      
      Probably the reason we never noticed this before is that our contracts
      tended not to have subsections.  But then we wrote one that included
      an SOW in the contract, and the SOW's subsections looked all wonky:
      their title lines were larger than those of the containing sections.
      This fixes the problem; I know not whether it introduces new problems.
      fea7af4e
  5. Jan 11, 2020
  6. Jan 09, 2020
  7. Jan 08, 2020
Loading