       filename = path.format filename
     if maybeWrite filename, @renderTeX filename, relativeDir
       console.log ' &', filename
-      filename
     else
-      console.log ' &', filename, '(unchanged)'
-      null
+      console.log ' &', filename, '(UNCHANGED)'
+    filename
 
 class ASCIIDrawing extends Drawing
   @title: "ASCII drawing (one character per symbol)"

        else if input instanceof Drawing or input instanceof Drawings
          filenames = input.writeSVG mappings, styles
          input.writeTeX() if settings.texText
          ## Convert to any additional formats
          if filenames? and filenames.length
            convert filenames, formats, settings
        else if input instanceof SVGFile
          convert input.filename, formats, settings
  unless files

      filename = path.format filename
    if maybeWrite filename, @renderSVG mappings, styles
      console.log '->', filename
    else
      console.log '->', filename, '(UNCHANGED)'
    filename
  renderSVGDOM: (mappings, styles) ->
    ###
    Main rendering engine, returning an xmldom object for the whole document.
