Skip to content

Commit

Permalink
Some small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mgubi committed Jan 3, 2025
1 parent 8f2c5be commit 246ff4b
Show file tree
Hide file tree
Showing 4 changed files with 222 additions and 43 deletions.
70 changes: 37 additions & 33 deletions src/font-mechanics.tm
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
<TeXmacs|2.1.4>

<style|<tuple|notes|doc>>
<style|notes>

<\body>
<\hide-preamble>
\;
<assign|cpp-code|<\macro|body>
<\pseudo-code>
<cpp|<arg|body>>
</pseudo-code>
</macro>>
</hide-preamble>

<notes-header>
Expand Down Expand Up @@ -403,7 +407,7 @@

<section|The abstract font class>

The main abstract <verbatim|font> class is defined in <verbatim|font.hpp>:\
The main abstract <verbatim|font> class is defined in <verbatim|font.hpp>:

<\cpp-code>
struct font_rep: rep\<less\>font\<gtr\> {
Expand Down Expand Up @@ -3869,37 +3873,37 @@

<\references>
<\collection>
<associate|auto-1|<tuple|?|3>>
<associate|auto-10|<tuple|1|10>>
<associate|auto-11|<tuple|2|11>>
<associate|auto-12|<tuple|3|11>>
<associate|auto-13|<tuple|5|11>>
<associate|auto-14|<tuple|6|13>>
<associate|auto-15|<tuple|7|15>>
<associate|auto-16|<tuple|7.1|19>>
<associate|auto-17|<tuple|8|26>>
<associate|auto-18|<tuple|8.1|26>>
<associate|auto-19|<tuple|8.2|32>>
<associate|auto-2|<tuple|1|5>>
<associate|auto-20|<tuple|8.3|40>>
<associate|auto-21|<tuple|8.4|44>>
<associate|auto-22|<tuple|8.5|48>>
<associate|auto-1|<tuple|?|?>>
<associate|auto-10|<tuple|1|?>>
<associate|auto-11|<tuple|2|?>>
<associate|auto-12|<tuple|3|?>>
<associate|auto-13|<tuple|5|?>>
<associate|auto-14|<tuple|6|?>>
<associate|auto-15|<tuple|7|?>>
<associate|auto-16|<tuple|7.1|?>>
<associate|auto-17|<tuple|8|?>>
<associate|auto-18|<tuple|8.1|?>>
<associate|auto-19|<tuple|8.2|?>>
<associate|auto-2|<tuple|1|?>>
<associate|auto-20|<tuple|8.3|?>>
<associate|auto-21|<tuple|8.4|?>>
<associate|auto-22|<tuple|8.5|?>>
<associate|auto-23|<tuple|8.6|?>>
<associate|auto-24|<tuple|9|?>>
<associate|auto-3|<tuple|2|6>>
<associate|auto-4|<tuple|3|6>>
<associate|auto-5|<tuple|3|6>>
<associate|auto-6|<tuple|3|6>>
<associate|auto-7|<tuple|1|8>>
<associate|auto-8|<tuple|1|8>>
<associate|auto-9|<tuple|4|9>>
<associate|font-base-size|<tuple|1|8>>
<associate|font-size|<tuple|1|8>>
<associate|sec:other|<tuple|8|26>>
<associate|sec:rubber|<tuple|8.1|26>>
<associate|sec:rubber-unicode|<tuple|8.3|40>>
<associate|sec:unicode-font|<tuple|8.2|32>>
<associate|sec:virtual-font|<tuple|8.4|44>>
<associate|auto-3|<tuple|2|?>>
<associate|auto-4|<tuple|3|?>>
<associate|auto-5|<tuple|3|?>>
<associate|auto-6|<tuple|3|?>>
<associate|auto-7|<tuple|1|?>>
<associate|auto-8|<tuple|1|?>>
<associate|auto-9|<tuple|4|?>>
<associate|font-base-size|<tuple|1|?>>
<associate|font-size|<tuple|1|?>>
<associate|sec:other|<tuple|8|?>>
<associate|sec:rubber|<tuple|8.1|?>>
<associate|sec:rubber-unicode|<tuple|8.3|?>>
<associate|sec:unicode-font|<tuple|8.2|?>>
<associate|sec:virtual-font|<tuple|8.4|?>>
</collection>
</references>

Expand Down Expand Up @@ -3946,7 +3950,7 @@
<datoms|<macro|x|<repeat|<arg|x>|<with|font-series|medium|<with|font-size|1|<space|0.2fn>.<space|0.2fn>>>>>|<htab|5mm>>
<no-break><pageref|auto-4>

4.<space|2spc>Font substition and emulation
4.<space|2spc>Font substitution and emulation
<datoms|<macro|x|<repeat|<arg|x>|<with|font-series|medium|<with|font-size|1|<space|0.2fn>.<space|0.2fn>>>>>|<htab|5mm>>
<no-break><pageref|auto-9>

Expand Down
155 changes: 155 additions & 0 deletions src/list-articles.tm
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

<hrule>

<<<<<<< HEAD
<notes-entry|wishlist.tm|Wishlist|This wishlist collects suggestions for
improvements and nice ideas for addition to TeXmacs. These should be of
limited scope and somewhat reasonable technical difficulty. It is mostly
Expand Down Expand Up @@ -88,17 +89,77 @@
<notes-entry|jolly-coders.tm|Jolly coders|This page gather informations on
the activities of the TeXmacs hacking group.|Fri Jan \ 3 14:26:02 2025 UTC>
=======
<notes-entry|list-articles.tm|List of all the articles|A list of all the
articles in the website, ordered by the most recent modification time.|Fri
Jan \ 3 01:06:46 2025 UTC>
>>>>>>> 8969c4a (Some small fixes)
<notes-entry|font-mechanics.tm|Font mechanics|We describe the various
mechanisms and features of TeXmacs font handling, from the user interface
at the level of documents to the inner workings of the various fonts types
at the level of the <verbatim|C++> source code. TeXmacs implements
sophisticate algorithms to allow to use a wide variety of fonts despite of
the facts that they do to have all the necessary glyphs, especially for the
<<<<<<< HEAD
typesetting of technical documents.|Fri Jan \ 3 14:26:02 2025 UTC>
=======
typesetting of technical documents.|Fri Jan \ 3 01:03:28 2025 UTC>
<notes-entry|main.tm|Notes on <TeXmacs>|(no abstract)|Thu Jan \ 2 23:53:16
2025 UTC>
<notes-entry|create-bibliography-style.tm|Creating a Bibliography Style for
TeXmacs|This tutorial covers customizing one of the premade TeXmacs
bibliography styles to use for your project. |Sun Dec \ 8 00:31:42 2024
UTC>
<notes-entry|windows-output-error.tm|Standard Output and Standard Error on
Microsoft Windows|We show how to see <TeXmacs>' standard output and
standard error on Microsoft Windows.|Wed Sep 27 21:38:25 2023 UTC>
<notes-entry|dev-notes.tm|Development resources and ideas|This page
contains idea and resources pertaining to the development of TeXmacs.|Fri
Apr 21 10:28:13 2023 UTC>
<notes-entry|build-using-cmake-and-mxe-on-wsl.tm|Build <TeXmacs> using
CMake and MXE on WSL for Windows |(no abstract)|Fri Feb 17 21:32:00 2023
UTC>
<notes-entry|new-lists.tm|New list types|How to define new list types in
<TeXmacs>.|Thu Feb 16 10:39:04 2023 UTC>
<notes-entry|community.tm|Community links|We gather here links to websites
and blogs discussing <TeXmacs>.|Sat Oct 29 16:35:34 2022 UTC>
<notes-entry|menu-shortcuts.tm|Keyboard shortcuts for menu items|How to
write a keyboard shortcut for a menu item\Vand searching for text in
<TeXmacs> <scheme> files.|Fri Sep 23 11:52:19 2022 UTC>
<notes-entry|compiling-texmacs-with-guile-3-and-qt-5-on-ubuntu-22.tm|Compiling
TeXmacs on Ubuntu 22 with Guile3 and Qt5 |This guide describes how to
compile TeXmacs on Ubuntu 22 with Guile 3 support and Qt 5.|Fri Sep 16
13:23:32 2022 UTC>
<notes-entry|jolly-coders.tm|Jolly coders|This page gather informations on
the activities of the TeXmacs hacking group.|Sat Jun \ 5 17:51:12 2021 UTC>
<\notes-entry|art-of-math-writing.tm|<TeXmacs> and the art of mathematical
writing>
A blog post which presents the motivations behind the design of <TeXmacs>
from a personal perspective.<next-line>[by
<hlink|@maxgubi|https://twitter.com/maxgubi>]
</notes-entry|Wed May \ 5 10:30:07 2021 UTC>
<notes-entry|scheming.tm|Scheming|We discuss some aspects of the choice of
the Scheme language implementation used in <TeXmacs>.|Mon Apr 12 12:50:27
2021 UTC>
>>>>>>> 8969c4a (Some small fixes)
<notes-entry|example-documents.tm|A list of documents created with
<TeXmacs>|We gather here some examples of documents created with <TeXmacs>
to showcase the daily usage of the system. We indicate when sources are
<<<<<<< HEAD
included since looking at examples is a great way to learn. |Fri Jan \ 3
14:26:02 2025 UTC>
Expand Down Expand Up @@ -154,6 +215,19 @@
<notes-entry|awesome-texmacs.tm|Awesome GNU TeXmacs|(no abstract)|Fri Jan
\ 3 14:26:02 2025 UTC>
=======
included since looking at examples is a great way to learn. |Thu Apr \ 8
21:15:54 2021 UTC>
<notes-entry|awesome-texmacs.tm|Awesome GNU TeXmacs|(no abstract)|Thu Apr
\ 8 21:15:54 2021 UTC>
<notes-entry|macro-editor.tm|The Macro editor and easy macro
modification|The Macro editor is a shortcut tool for examining and
modifying macro definitions; it can be used as well to write a new macro
starting from an existing macro. We look at its use with the help of two
examples.|Wed Mar 17 20:57:33 2021 UTC>
>>>>>>> 8969c4a (Some small fixes)
<notes-entry|articles-wishes.tm|A wishlist for <TeXmacs> articles|It would
be useful to have some short articles or tutorials covering the topics
Expand All @@ -162,6 +236,7 @@
exercises to improve one own <TeXmacs> knowledge: learning by teaching. In
case you manage to cover, even partially, one of the topic, please add a
remark here to point to relevant material. If the topic is covered, move it
<<<<<<< HEAD
to the \PAlready covered\Q section.|Fri Jan \ 3 14:26:02 2025 UTC>
<\notes-entry|art-of-math-writing.tm|<TeXmacs> and the art of mathematical
Expand All @@ -173,6 +248,86 @@
<notes-entry|a-tikz-example.tm|Example of TikZ figure generation with the
Graph plugin|(no abstract)|Fri Jan \ 3 14:26:02 2025 UTC>
=======
to the \PAlready covered\Q section.|Wed Mar 17 20:57:33 2021 UTC>
<notes-entry|plugin-status.tm|Status of Plugins for <TeXmacs>|We review the
current status and limitations of the various plugins on
Windows/Mac/Linux.|Thu Feb 18 15:29:33 2021 UTC>
<notes-entry|customize-syntax-color.tm|Customizing the color of code
snippets|(no abstract)|Thu Feb 18 15:29:33 2021 UTC>
<notes-entry|compile-texmacs-on-raspi.tm|Compile <TeXmacs> on the Raspberry
Pi|Unfortunately, there is no prepackaged <TeXmacs> for RaspberryPi OS,
because of its ARM chipset. Likewise there are no precompiled binaries, but
it is not hard to built it yourself.|Mon Dec \ 7 07:17:01 2020 UTC>
<notes-entry|comments-in-texmacs.tm|Implementing comments in <TeXmacs>|We
discuss the implementation of comments in <TeXmacs> documents. This is a
new feature introduced by Joris in <tt|r13254> with some additions in
subsequent revisions, the current description is based on revision
<tt|r13256>.|Sat Dec \ 5 15:09:47 2020 UTC>
<notes-entry|modular-scheme-graphics.tm|Modular graphics with
<name|Scheme>|(no abstract)|Wed Nov 25 23:42:07 2020 UTC>
<notes-entry|editorial-guidelines.tm|Editorial scope and author
guidelines|(no abstract)|Wed Nov 25 23:08:42 2020 UTC>
<notes-entry|build-using-cmake-and-homebrew-on-macos.tm|Build <TeXmacs>
using CMake and Homebrew |This article serves as a guide for <TeXmacs>
contributors and developers on macOS. We talk about how to build and test
GNU <TeXmacs> on macOS using CMake and Homebrew.|Fri Nov 20 20:36:27 2020
UTC>
<notes-entry|scheme-graphics.tm|Composing TeXmacs graphics with Scheme|(no
abstract)|Mon Nov 16 13:28:34 2020 UTC>
<notes-entry|scheme-graphics-embedding.tm|Embedding graphics composed with
Scheme into documents|(no abstract)|Mon Nov 16 13:28:34 2020 UTC>
<notes-entry|wishlist.tm|Wishlist|This wishlist collects suggestions for
improvements and nice ideas for addition to TeXmacs. These should be of
limited scope and somewhat reasonable technical difficulty. It is mostly
meant for developers or technically savyy users to collect good ideas. It
should be clear that the functionality is not already provided in some
form. This wishlist must not be used for very broad and vague requests
(e.g. ``make the program more versatile and powerful").|Sun Nov 15 21:17:44
2020 UTC>

<notes-entry|website-builder-dialog.tm|Adding a dialog to build websites|In
this article we document the construction of a user interface to the
website building facilities of <TeXmacs>.|Sun Nov 15 17:36:40 2020 UTC>

<notes-entry|previews.tm|Implementing previews for link targets|(no
abstract)|Fri Nov 13 23:58:44 2020 UTC>

<notes-entry|embedding-tikz-figures-short.tm|Example of TikZ figure
embedding within a document|(no abstract)|Fri Nov 13 12:26:43 2020 UTC>

<notes-entry|contribution-guide.tm|Contribution guide|(no abstract)|Thu Nov
12 18:54:10 2020 UTC>

<notes-entry|tm-and-html.tm|TeXmacs and HTML|In this article we discuss
question related to conversion from/to <name|HTML>.|Thu Nov 12 17:03:27
2020 UTC>

<notes-entry|template.tm|Template article|This file provides a template for
typical notes/articles. You can use the tag <markup|notes-abstract> to
provide a small summary of the content, as exemplified by this very
text.|Thu Nov 12 17:03:27 2020 UTC>

<notes-entry|overview.tm|An overview of <TeXmacs> from altitude|A rapid
overview/executive summary of the <TeXmacs> system.|Thu Nov 12 17:03:27
2020 UTC>

<notes-entry|tetris.tm|Tetris with <TeXmacs> tables|(no abstract)|Wed Nov
11 19:49:14 2020 UTC>

<notes-entry|a-tikz-example.tm|Example of TikZ figure generation with the
Graph plugin|(no abstract)|Tue Nov 10 16:01:20 2020 UTC>
>>>>>>> 8969c4a (Some small fixes)

<hrule>
</body>
16 changes: 10 additions & 6 deletions src/main.tm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<TeXmacs|2.1.4>

<style|<tuple|notes|html-font-size>>
<style|notes>

<\body>
<hrule>
Expand Down Expand Up @@ -210,23 +210,27 @@
<datoms|<macro|x|<repeat|<arg|x>|<with|font-series|medium|<with|font-size|1|<space|0.2fn>.<space|0.2fn>>>>>|<htab|5mm>>
<no-break><pageref|auto-5>>

<with|par-left|<quote|1tab>|Plugins
<with|par-left|<quote|1tab>|Bibliographies
<datoms|<macro|x|<repeat|<arg|x>|<with|font-series|medium|<with|font-size|1|<space|0.2fn>.<space|0.2fn>>>>>|<htab|5mm>>
<no-break><pageref|auto-6>>

<with|par-left|<quote|1tab>|Graphics
<with|par-left|<quote|1tab>|Plugins
<datoms|<macro|x|<repeat|<arg|x>|<with|font-series|medium|<with|font-size|1|<space|0.2fn>.<space|0.2fn>>>>>|<htab|5mm>>
<no-break><pageref|auto-7>>

<with|par-left|<quote|1tab>|Graphics
<datoms|<macro|x|<repeat|<arg|x>|<with|font-series|medium|<with|font-size|1|<space|0.2fn>.<space|0.2fn>>>>>|<htab|5mm>>
<no-break><pageref|auto-8>>

Developers' notes <datoms|<macro|x|<repeat|<arg|x>|<with|font-series|medium|<with|font-size|1|<space|0.2fn>.<space|0.2fn>>>>>|<htab|5mm>>
<no-break><pageref|auto-8>
<no-break><pageref|auto-9>

<with|par-left|<quote|1tab>|Compilation
<datoms|<macro|x|<repeat|<arg|x>|<with|font-series|medium|<with|font-size|1|<space|0.2fn>.<space|0.2fn>>>>>|<htab|5mm>>
<no-break><pageref|auto-9>>
<no-break><pageref|auto-10>>

Contributing <datoms|<macro|x|<repeat|<arg|x>|<with|font-series|medium|<with|font-size|1|<space|0.2fn>.<space|0.2fn>>>>>|<htab|5mm>>
<no-break><pageref|auto-10>
<no-break><pageref|auto-11>
</associate>
</collection>
</auxiliary>
24 changes: 20 additions & 4 deletions src/notes.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<TeXmacs|1.99.16>
<TeXmacs|2.1.4>

<style|source>

Expand Down Expand Up @@ -28,9 +28,7 @@
</src-comment>
</active*>

<assign|full-screen-mode|false>

<assign|font-base-size|12>
<assign|font-base-size|11>

<assign|page-medium|papyrus>

Expand Down Expand Up @@ -110,6 +108,24 @@

<assign|tmhtml-notes-entry-abstract|<macro|abs|<compound|html-div-class|tmweb-entry-abstract|<arg|abs>>>>

\;

<assign|pseudo-code|<\macro|body>
<\very-small>
<\surround||<no-indent*>>
<\framed-quoted>
<\with|par-first|0fn|par-par-sep|0fn|item-hsep|<macro|1.5fn>>
<\framed-code>
<arg|body>
</framed-code>
</with>
</framed-quoted>
</surround>
</very-small>
</macro>>

\;

<\active*>
<\src-comment>
Other customizations
Expand Down

0 comments on commit 246ff4b

Please sign in to comment.