PreFigure

An authoring system for accessible mathematical diagrams

Remembering Alexei Kolesnikov

With profound sadness, I share news of the recent and sudden passing of Alexei Kolesnikov. Alexei played a crucial and ongoing role with PreFigure. Alexei co-organized a summer workshop in 2022 at the National Federation of the Blind, which marked the beginning of PreFigure. Together we later refined the embossing of tactile diagrams; I sent him many drafts of such diagrams, and he promptly embossed them and reported the results and suggestions back to me. He also made contributions to the PreFigure codebase.

In addition to his deep understanding of and commitment to accessibility, his organizational abilities and strategic thinking, and his passion for helping others, I will miss his friendship. Last year, Towson University published this profile of Alexei, which conveys some of his many gifts.

— David Austin

PreFigure is a system for creating mathematical diagrams to include in scholarly documents, such as research articles, textbooks, and other instructional materials. PreFigure is to figures what PreTeXt is to text.

Among its features, PreFigure:

  • provides an intuitive language for describing diagrams so that authors focus on the meaning of their diagrams rather than the details of their construction and visual appearance,
  • encourages the use of established design principles for effective communication,
  • facilitates the creation of accessible diagrams that may be easily navigated with a screen reader or rendered in a tactile format,
  • is fully integrated into PreTeXt so that PreFigure diagrams can be easily included in PreTeXt documents, and
  • will always be free to use and open-source.

To illustrate, here is the type of diagram that could appear in a calculus textbook. On the left is a typical image for including either on a web page or in print. Annotations can easily be added to enable a screen reader to navigate through the diagram. On the right is a tactile version of the diagram that could be embossed and included in a braille edition of the same document.

Graph of a function with its tangent line at the point (a, f(a))
Tactile version of the tangent line diagram, suitable for embossing

Both images are created from the same PreFigure source. Notice how this source reflects the mathematical structure of the diagram rather than the visual appearance.

<diagram dimensions="(300,300)" margins="5">
  <definition> f(x) = exp(x/3)*cos(x) </definition>
  <definition> a = 1 </definition>
  <coordinates bbox="(-4,-4,4,4)">
    <grid-axes xlabel="x" ylabel="y"/>
    <graph function="f"/>
    <tangent-line function="f" point="a"/>
    <point p="(a,f(a))">
      <m>(a,f(a))</m>
    </point>
  </coordinates>
</diagram>
            

Additional resources

Contact

David Austin, austind at gvsu dot edu