Mechanism to recover all C++ and scheme error messages in a dedicated TeXmacs buffer, together with foldable backtraces.
Provide correct locations for the
Provide a clean exception semantics for all routines in the basic APIs.
Try hard to recover from errors and segmentation faults, except when configuring using –enable-debug.
Test-suite of TeXmacs documents for different features and automated checks for certain types of correctness.
Perform extensive (automated) checks for memory leaks using
More and more unit tests should be written under the GTest framework.
Encode the system environment variables; this will globally accelerate the program. Also, intermediate data during the typesetting process might be encoded in a more binary way.
Systematically use “const ref” style parameter passing should both decrease the size of the binary and accelerate the global efficiency.
Optimize performance as a function of cost of recomputation and storage requirement
The typesetter should be made lazy in a more fundamental way (see upcoming style rewriting tool).
Transform a tree into a correct tree for the current style. This routine should in particular be called before or after any conversion to an external format.
Downgrade TeXmacs documents to those of a previous version. This should be used in particular in combination with plug-ins: after communication of the version of TeXmacs for which the plug-in was designed, TeXmacs should emulate the behaviour of this, potentially older, version.
Systematically use
Some changes have still to be made in the way font encodings are handled. This should make it easier to maintain fonts with characters from several physical fonts, virtual fonts, special characters, etc.
Currently, the current logical font is determined from a fixed set of environment variables only. The current typesetting font should rather be a tree (instead of a string), which is evaluated (so that environment variables are replaced) and then passed to find_font(display,tree). The current font can then be a joined font and future fonts might depend on user environment variables (i.e. colored fonts, using more than one color).
Implement large brackets and wide delimiters for
Provide standard implementations using vector graphics, which do not depend on fonts, with many parameters for customizing width, shape, etc.
Internally present
A clean interface for manipulating TeXmacs content (a unified
interface for both internal TeXmacs trees and the associated
Better documentation on how to use the
Implement a proper parser and autocompletion mechanism. Add standard IDE code browsing tools and visual aids.
Replace dispatch tables by contextual overloading where possible (i.e. LaTeX export).
Systematic use of closures throughout the code. In particular, we should base our implementation of dialogs on closures instead of continuations.
Rename drd- logic- for routines from kernel/drd.
Appropriate naming convention for routines which operate on markup: when to use tmconcat-, concat-, concat/, tree-concat-, etc., especially for tags like "tree" which are also used as data types.
In TeXmacs, the \topsep always equals 0.75em. It should be possible to modify this. For symmetry, we might also introduce a “bottom sep”.
When attempting to resize a macro application to become smaller than the “x”, the invisible markers may have undesirable side-effects.
Separate environment variables for “typewriter”, “sans serif”, “small caps”, “slant”, etc.
Find rendering font as a function of selected font and language?
Should we still reorganize? It should be easy to access to the page width and height and some other parameters.
Boxes should not have origins; its children should have positions instead.
Example: when pressing Ctrl+Backspace inside
a
In general: the typesetter should not crash in the case of incorrect edit trees.
Distinguish between paragraphs and paragraph units.
Should the corresponding environment variables become macros? Also make the contents editable whenever possible.
Associate baseline skip (or ascent and descent) to each individual box in concatenation. Next compute maximum over each line. Take maximum of maximum after first line and maximum before second line in order to obtain final value. Also for other parameters such as baselineskip?
The scopes of several such variables is currently a bit ill-defined, especially when they are modified several times by macros.
Cursor movement is extremely slow for oriental languages. Line breaking could also be further improved.
Macro for continued fractions, such that right hand sides of fractions are aligned.
Less vertical spacing in text style between numerator/denominator and bar.
Left-numbering of equation arrays. Should be possible now using the extern primitive.
Regard
See section on fonts.
Mode for showing invisible symbols and distinguishing between
other homoglyps. Also show alternatives for homoglyphs in the
Forall and exists as big operators.
Upright and sans serif mathematical symbols.
Introduce a mechanism for style options. For instance, style packages in a given directory might be executed before the actual document style and document packages.
Grey menu entries for parameters which cannot be changed in the style. For instance, a style might provide a limited number of font base sizes.
Replace
<macro|a|b|<drd-props|<drd-prop|a|accessible>|…|body>>
and/or
Implement a
Or simply let use-package never reload the same package twice.
Implement forms by letting field tags link to the main form tag.
Declaration of key-bindings and more complex scheme code in style packages.
Declaration of style packages and macros from within a
Should we provide icons for certain presentation tags and other environment variables, such as font type and size?
The interface for editing document titles is buggy. In particular, we cannot remove authors or transform selections into titles. Also selecting part of the title information is buggy. Finally, the macros for rendering titles are overly complex.
Automatically turn block content into inline content when appropriate.
Maybe use shift-mouse-click for outward selection (besides pointing inside a hyperlink).
User-defined macros can be turned into a compound using the backspace key, builtin macros can't. Why is that? How do I change the name of the call to a buildin macro? Can I avoid removing it and creating a new one?
If the first argument of a call to a user defined macro contains
a
By the way, there seems to be no way to manually create or
remove
Edit the "init" part of a file in source code form.
Make the presentation of source code more customizable by user macros. Done for syntactic highlighting, but should also be done for special rendering of certain primitives and the rendering of tags.
Currently, we may stretch tags. We also need a primitive for stretching tag arguments.
Tags for short commands inside the program.
Display informative flags at places where tags have been stretched or a modification to the source style has been applied.
A facility
Assistant for creating your own styles.
Widget for editing simple macros in the preamble without entering preamble mode.
When author tags for the history management get
large, then the
Relaunch TeXmacs after change of look and feel.
Implement different routines for quoting and quote/unquote using the appropriate routine.
Importation of LaTeX macros whose names coincide with built-in commands may lead to incorrect documents (e.g. the point macro in publs/1998/zeta.tex). We should probably post-correct imported documents.
Some commands, like documentclass, cite, etc. take verbatim arguments, which should not be parsed in the generic way. The string_arg function is a temporary remedy.
Use
Explanatory messages on the status bar.
Better “mouse button layout”: do as much as possible with left mouse button only and reserve right button for contextual menu.
Fine-grained resizing using keyboard (also allow modification of grain?).
Resizing using mouse.
Automatic detection of simple types of curves when dragging in drawing mode.
Automatic detection of simple ornaments (arrows, dots).
Cairo plug-in for nicer looking graphics.
Graphical macros and constraint-based drawings.
Documentation, reference guide (markup specification) and tutorial.
Remove/restore one object (while preserving -order).
Remove/restore a selection of objects (while preserving -order).
Specify decorations for current graphical object.
Undo and cancel.
Possible attributes: color, line width, line style, fill color, etc.
Selecting the value of a given attribute.
Retrieving the value of a given attribute.
Apply attributes to one or more objects.
Retrieve attributes from one (or more) objects.
Set an attribute.
Retrieve an attribute.
Different types of arguments: point, length, content, etc.
Adding an argument to the current object.
Removing an argument from a current object.
Event handlers and how to map mouse buttons to different actions.
Computation of decorations.
Adding an object / region.
Removing an object / region.
Geometric transformations.
Changing -order.
Group / ungroup.
Copy and paste.
Computation of decorations.
Implement grammar rules with productions.
Implement content
When making semantic selections, don't select ignored markup at the border of selections (or only if explicitly selected). For instance, inside maxima sessions, the (%o) output prefix is current included when selecting a complete output semantically.
Automatic correction of formulas editing mode based on “slots”.
Explicit prefix-postfix, prefix-infix and symbol-prefix operator types for operators such as , resp. .
Better scheme for entering big operators and large delimiters as symbols and not binary/ternary constructs.
Above, below, wide and wide* as operator decorations.
Upgrade wide spaces (e.g. 1em) as separating spaces.
Overload and as data access operators.
Symbols for and with the appropriate precedence.
Notations and .
Several precedences for separators in .
Add facility to automatically close partial environments, e.g. with missing } or missing statement after if x then. Applications: highlighting imcomplete input, automatic indentation.
Generalize use of mathematical focus instead of usual focus. For instance, the focus bar, tooltips on math symbols, using semantic_root instead of innermost, etc.
Easy way to switch between semantic and non-semantic selections.
Shortcut for circulating among homoglyphs.
It would be better to use links for dependencies between
cells instead of going through the entire document at each
re-evaluation, as well as links to auxiliary cache for
storing the last computed values. This can for instance be
done by defining an environment variable with the ID of the
current cell and adding a link to this ID for any
Implementation of the possibility to associate an alternative name to a cell.
Possibility to send all inputs at once to the plug-in instead of evaluating them one by one, so as to speed up computations.
How to deal with errors?
The focus bar should be adapted. Inside a spreadsheet, the
facilities for editing tables should still be available and
we should be able to edit the input fields for
Possibilitity to apply operations to subtable selections. For instance, when selecting part of a column and applying “sum”, the sum of the column should be computed at the bottom of the selection. Similarly, applying a unary operation such as “sin” might apply the operation to each cell in the selection and put the result right next to it.
Attention to implicitly changed variables, such as the-tags
Attention to base-file-name
Replace
More systematic usage of symbols instead of strings.
Should
Links and multiple views: which view should be selected when following a hyperlink. More generally: refine criteria for automatically preferring one locus over another one in presence of ambiguities.
There is a problem with auxiliary data in hidden markup (eg. labels, loci, links, indexes).
Analogy: hidden markup loaded file which is not in a buffer. We might want to associate auxiliary data to tree nodes instead of files. Notice that there are different types of hidden structures:
Contents should not be evaluated when hidden, but we need to keep track of auxiliary data. Example: a hidden chapter.
Contents are evaluated but not typeset: auxiliary data may be kept in macro expander. Example: fold.
Contents are not evaluated, not typeset and no auxiliary data are attached to the contents. Example: a comment or any piece of markup which has to be completely ignored.
Attach the action to be applied after popup input to a specific buffer.
Cleaner implementation of read-only parts in documents.
Cleaner implementation of size computation of widget. Also: notebooks and folding constructs, which may require to update the size later on.
Cleaner implementation of widget fields (i.e. the way we associate data to names).
Don't require the specification of a body for hidden input fields.
Argument history and browsing suggestions using keyboard.
Destroy call backs associated to a widget when the corresponding window is closed using another method than dismiss. Idea: potentially associate a dismiss routine to each buffer.
List actions to be undertaken.
CVS mirror at Savannah and automatic update scheme.
Also search for other mirror sites (increases availability and visibility on the web).
Different purposes of TeXmacs.
Writing a simple text.
Style-sheets and writing a simple macro.
Running a computer algebra system.
Inserting an action tag which launches an xterm.
Why are structured documents useful?
How to enter structure into TeXmacs, redundancy of the interface.
Understanding the visual indications, cursor movement.
Editing the structure (removing structure, improper nesting, variants, numbering).
Exploiting structure: spell checking, searching.
Reminders about correct typography.
Entering math mode, equations, equation arrays.
Simple mathematical formulas, recall cursor movement.
Mathematical symbols, variants.
Semantics of multiplication, function application and other implicit semantics.
Simple matrices and other tabular environments.
Rendering of source code, what is source code?
A simple macro.
A simple style package.
Customization of some existing macros.