Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated to TeXmacs 2.1 from the main repository. #47

Merged
merged 1 commit into from
Sep 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
28 changes: 9 additions & 19 deletions docs/compiling-texmacs-with-guile-3-and-qt-5-on-ubuntu-22.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ <h1 id="auto-1">Compiling TeXmacs on Ubuntu 22 with Guile3 and Qt5 <span style="
</p>
<p>
Guile 1.8.8 is no longer supported on modern distributions. Let us build
mgubi's Guile3 scheme TeXmacs fork.
the Guile3 scheme TeXmacs fork.
</p>
<h2 id="auto-2">1.<span style="margin-left: 1em"></span>Dependencies<span style="margin-left: 1em"></span></h2>
<p>
Expand All @@ -49,22 +49,17 @@ <h2 id="auto-3">2.<span style="margin-left: 1em"></span>Compiling<span style="ma
in.
</p>
<p>
Clone mgubi's repo and navigate into it.
Clone the TeXmacs git repository and navigate into it.
</p>
<pre class="verbatim" xml:space="preserve">
git clone https://github.com/mgubi/texmacs.git texmacs-guile3 </pre>
git clone https://github.com/texmacs/texmacs.git texmacs-guile3 </pre>
<pre class="verbatim" xml:space="preserve">
cd texmacs-guile3</pre>
<p>
Checkout the Guile 3 branch.
</p>
<pre class="verbatim" xml:space="preserve">
git checkout guile3</pre>
<p>
Go into the src directory.
</p>
<pre class="verbatim" xml:space="preserve">
cd src</pre>
git checkout guile3_branch_2.1</pre>
<p>
Run the configure command (the first dashes are double dashes &ndash; it
is just weird HTML rendering
Expand All @@ -79,31 +74,26 @@ <h2 id="auto-3">2.<span style="margin-left: 1em"></span>Compiling<span style="ma
<pre class="verbatim" xml:space="preserve">
make -j4</pre>
<p>
It took me around 2 minutes to compile the sources with -j12. I guess
the scaling is nonlinear so with -j4 it should take no more than 6
minutes or so (just a guess).
</p>
<p>
The texmacs binary is placed in <tt class="verbatim">&lt;repodirectory&gt;/src/TeXmacs/bin/texmacs</tt>
The TeXmacs binary is placed in <tt class="verbatim">&lt;repodirectory&gt;/TeXmacs/bin/texmacs</tt>
</p>
<h2 id="auto-4">3.<span style="margin-left: 1em"></span>Running<span style="margin-left: 1em"></span></h2>
<p>
To run texmacs you have to setup the <tt class="verbatim">TEXMACS_PATH</tt>
To run TeXmacs you have to setup the <tt class="verbatim">TEXMACS_PATH</tt>
variable. Run
</p>
<pre class="verbatim" xml:space="preserve">
export TEXMACS_PATH=&lt;repodirectory&gt;/src/TeXmacs</pre>
export TEXMACS_PATH=&lt;repodirectory&gt;/TeXmacs</pre>
<p>
then you can run
</p>
<pre class="verbatim" xml:space="preserve">
<tt class="verbatim">&lt;repodirectory&gt;/src/TeXmacs/bin/texmacs</tt></pre>
<tt class="verbatim">&lt;repodirectory&gt;/TeXmacs/bin/texmacs</tt></pre>
<p>
and TeXmacs should start after it compiled its modules. To make <tt
class="verbatim">TEXMACS_PATH</tt> setting persistent, put the command:
</p>
<pre class="verbatim" xml:space="preserve">
export TEXMACS_PATH=&lt;repodirectory&gt;/src/TeXmacs</pre>
export TEXMACS_PATH=&lt;repodirectory&gt;/TeXmacs</pre>
<p>
into your <tt class="verbatim">~/.bashrc</tt>.
</p>
Expand Down
30 changes: 13 additions & 17 deletions src/compiling-texmacs-with-guile-3-and-qt-5-on-ubuntu-22.tm
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
\;

Guile 1.8.8 is no longer supported on modern distributions. Let us build
mgubi's Guile3 scheme TeXmacs fork.
the Guile3 scheme TeXmacs fork.

<section|Dependencies>

Expand All @@ -37,19 +37,16 @@

Navigate to the directory where you want TeXmacs' sources to be placed in.

Clone mgubi's repo and navigate into it.
Clone the TeXmacs git repository and navigate into it.

<verbatim|git clone https://github.com/mgubi/texmacs.git texmacs-guile3 \ >
<verbatim|git clone https://github.com/texmacs/texmacs.git texmacs-guile3
\ >

<verbatim|cd \ texmacs-guile3>

Checkout the Guile 3 branch.

<verbatim|git checkout guile3>

Go into the src directory.

<verbatim|cd src>
<verbatim|git checkout guile3_branch_2.1>

Run the configure command (the first dashes are double dashes -- it is just
weird HTML rendering \<less\>dash\<gtr\>\<less\>dash\<gtr\>with\<less\>dash\<gtr\>guile2
Expand All @@ -61,26 +58,22 @@

<verbatim|make -j4>

It took me around 2 minutes to compile the sources with -j12. I guess the
scaling is nonlinear so with -j4 it should take no more than 6 minutes or
so (just a guess).

The texmacs binary is placed in <verbatim|\<less\>repodirectory\<gtr\>/src/TeXmacs/bin/texmacs>
The TeXmacs binary is placed in <verbatim|\<less\>repodirectory\<gtr\>/TeXmacs/bin/texmacs>

<section|Running>

To run texmacs you have to setup the <verbatim|TEXMACS_PATH> variable. Run
To run TeXmacs you have to setup the <verbatim|TEXMACS_PATH> variable. Run

<verbatim|export TEXMACS_PATH=\<less\>repodirectory\<gtr\>/src/TeXmacs>
<verbatim|export TEXMACS_PATH=\<less\>repodirectory\<gtr\>/TeXmacs>

then you can run \

<verbatim|<verbatim|\<less\>repodirectory\<gtr\>/src/TeXmacs/bin/texmacs>>
<verbatim|<verbatim|\<less\>repodirectory\<gtr\>/TeXmacs/bin/texmacs>>

and TeXmacs should start after it compiled its modules. To make
<verbatim|TEXMACS_PATH> setting persistent, put the command:

<verbatim|export TEXMACS_PATH=\<less\>repodirectory\<gtr\>/src/TeXmacs>
<verbatim|export TEXMACS_PATH=\<less\>repodirectory\<gtr\>/TeXmacs>

into your <verbatim|~/.bashrc>.

Expand Down Expand Up @@ -118,6 +111,9 @@

2.<space|2spc>Compiling <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-3>

3.<space|2spc>Running <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>
</associate>
</collection>
</auxiliary>