Skip to content

Releases

TeX Visual 0.4.2

Choose a tag to compare

@github-actions github-actions released this 01 Dec 19:00
  • Fixed: a macro defined in a file that the preamble reaches through a second \input was not found, and stayed on the page as dim source. A hand-written macros.tex that collects the files a statistics script writes, one per table, is such a case. An \input in the preamble is now followed into the files it names in turn, four levels deep.
  • Fixed: \addbibresource written in a package of your own was not found, so every citation stayed a raw command. A package kept beside the root file, such as \usepackage{style/references} with a style/references.sty there, is now read like a file the preamble inputs: its bibliography, macros, colors and theorem names all reach the editor. Packages of the TeX installation are not looked for.
  • The view follows these files as they change, a .txt of macros that a script rewrites included, and shows what you type in one that is open in another tab before it is saved. (#2)
  • A redefinition that KaTeX cannot run no longer breaks the command it replaces. A poster package that sets \small with \fontsize made every formula that says \small an error; now KaTeX's own \small stays. \renewcommand{\epsilon}{\varepsilon} works as it did.
  • Fixed: a table in its own file was not drawn when a comment in that file mentioned \documentclass (say, a note on how to compile it alone). Only a real \documentclass makes a file a document of its own.

Full Changelog: v0.4.1...v0.4.2

TeX Visual 0.4.1

Choose a tag to compare

@github-actions github-actions released this 01 Dec 18:28
  • A comment macro looks the way it prints. With \newcommand{\hugo}[1]{\textcolor{red}{\textbf{[Hugo: #1]}}}, \hugo{check this} was red text and nothing else; now it is a bold red [Hugo: check this], as in the PDF. A macro of your own that takes one argument brings its font along (\textbf, \textit, \texttt…, or a switch such as \bfseries) and shows the text its body writes around the argument, in text, table cells and captions. With the cursor inside, the source shows as before. A macro that builds something other than text around its argument (a table row, a box, a picture) is left as it was.

Full Changelog: v0.4.0...v0.4.1

TeX Visual 0.4.0

Choose a tag to compare

@github-actions github-actions released this 30 Nov 21:30
  • The line numbers of the source are in the left margin, so you can tell where you are in the file while you read the rendered page. In the visual view a line is numbered beside the row of text it begins on: a paragraph written on four lines carries four numbers, wherever the page breaks its rows. Where two lines begin on the same row the first is shown, unless the cursor is in the second. A table, a figure, a display or the folded preamble carries the number of its first line. The number of the cursor's line is darker. The </> source view numbers every line. texVisual.lineNumbers turns the numbers off.
  • The text starts 12px further from the left edge of the pane, to make room for the numbers.

Full Changelog: v0.3.1...v0.4.0

TeX Visual 0.3.1

Choose a tag to compare

@github-actions github-actions released this 24 Nov 17:00
  • Saving from the visual editor compiles again. LaTeX Workshop builds only while a text editor is the active editor, so with the visual editor in front a save compiled nothing. TeX Visual now runs the LaTeX Workshop recipe itself in that case, and Cmd+Alt+B compiles on demand. The tools' output goes to the TeX Visual output channel. texVisual.buildOnSave turns it off.
  • Fixed: folding the preamble again from its chip left the cursor on \maketitle, which replaced the title block by that command until you clicked elsewhere. Folding now leaves nothing open.
  • With the cursor on \maketitle the title block stays, drawn under the command, so the title is always there to click.
  • Colored text is colored. \textcolor{…}{…}, {\color{…} …}, \hl{…} (with \sethlcolor) and \colorbox{…}{…} show their color in text, table cells, captions and math, and so does a macro of your own that colors its argument, such as \newcommand{\edit}[1]{\textcolor{red}{#1}}. Colors are xcolor's names (with dvipsnames and svgnames), the ones the document sets with \definecolor and \colorlet, and mixes like red!60!black. On a dark theme a color keeps its hue but is lightened enough to read.
  • \sout{…} and soul's \st{…} are struck through, also inside a macro of your own such as \newcommand{\cut}[1]{\textcolor{red}{\sout{#1}}}.
  • Paragraphs look the same however their source is wrapped. A paragraph written on one long line filled the page, while one wrapped at 80 columns or written a sentence per line broke wherever the source did. Now a single line break inside a paragraph is drawn as the space TeX makes of it, in text, list items, captions, notes, theorems and thebibliography entries, and a blank line starts a new paragraph. The file is not touched: its line breaks stay where they are, and the </> button shows them. \\, \item, headings, displays, tables, comments, lines that hold only commands and environments the editor does not know keep their lines.
  • The text of a theorem runs on after a \label written on the line below its \begin, as it already did after one written on the same line.
  • \newblock in a thebibliography entry is hidden.

Full Changelog: v0.3.0...v0.3.1

TeX Visual 0.3.0

Choose a tag to compare

@github-actions github-actions released this 13 Nov 19:17
  • Tables are editable where they are drawn. Click a cell to edit its LaTeX; Tab, Shift+Tab,
    Enter and the arrow keys move between cells, Cmd+Enter adds a row. A cell of a table that
    lives in another file (\input{tables/…}) is changed in that file.
  • A file the document \inputs is redrawn while it is being edited in another tab, before it is
    saved.
  • Fixed: a click on the title block showed \maketitle. A click on the title, the authors, the
    date or a \thanks note now puts the cursor in \title{…}, \author{…} or \date{…}, and
    shows that command alone while the rest of the preamble stays folded.

Full Changelog: v0.2.0...v0.3.0

TeX Visual 0.2.0

Choose a tag to compare

@github-actions github-actions released this 12 Nov 18:47

Brings in what Basil did for applied papers, and makes
the numbering follow real documents.

  • Tables kept in their own files are drawn in place of \input{…}, and redrawn when the file
    changes on disk. A tabular that shares its line with other material (a panel heading) renders
    too. \multirow, \makecell, \resizebox{…}{…}{…} and \parbox show their content.
  • threeparttable notes, \caption* notes and long captions are set as note paragraphs;
    subfigures are drawn side by side with lettered captions.
  • \bibliography{…} / \printbibliography show the cited entries of the .bib files.
  • The title block picks up \title, \author and \date placed after \begin{document}, and
    lists \thanks notes under it.
  • Numbering follows \appendix, \begin{appendices}, \setcounter, \addtocounter,
    \numberwithin, \renewcommand{\the…}{…}, \captionof, theorem environments numbered by hand,
    and continues through \input files. \cref uses \crefname.
  • Layout commands with arguments (\vspace{…}, \setlength{…}{…}, \captionsetup{…}, …) are
    hidden like \centering already was, and a line that shows nothing takes no room.
  • Macros of the document's own used in running text show their value.
  • Completion for environments, common commands and the document's macros.
  • Fixed: \caption* took a figure number; a \label after \caption inside threeparttable
    resolved to the section; a label inside an environment kept the number of an earlier section;
    wide tables broke numbers across lines; a commented-out \nonumber suppressed an equation number.

Full Changelog: v0.1.0...v0.2.0

TeX Visual 0.1.0

Choose a tag to compare

@github-actions github-actions released this 11 Nov 22:57

First release.

  • Visual editor for .tex files: math (KaTeX), sections, text styles, theorem environments,
    lists, tabular, figures (PDF and raster), cross-references and citations render in place.
  • Live preview while editing a formula; source is shown only around the cursor.
  • Two-way sync with the VS Code document, including undo/redo and external edits.
  • Side-by-side mode with scroll sync, raw-source toggle, \ref{ / \cite{ completion.

Full Changelog: https://github.com/hugosantanna/tex-visual/commits/v0.1.0