English
Ayakaleaf
Ayakaleaf is a web editor for writing LaTeX papers. You can write together with other people, and the papers are stored on your own computer.
SystemsLinuxWindowsmacOS
EditionsInternationalChina
Sincev0.6.0
Ayakaleaf runs in Containers, with one instance per system. Its interface is in English and resembles Overleaf.
Supported systems
| System | Architecture | First Neutrino Hub version |
|---|---|---|
| Linux | amd64, arm64 | 0.6.0 |
| Windows | amd64 | 0.6.0 |
| macOS | Apple silicon, Intel | 0.6.0 |
Install
Open the panel in a browser and sign in. In the lower part of the left sidebar, select the system to install on.
In Module configuration, select + Add module. In the dialog, select the Ayakaleaf card, which shows Needs: Containers. When the card is highlighted, select Close.

1Select + Add module 
2Select Ayakaleaf 
3Select Close After the dialog closes, select the Ayakaleaf row in the list on the left, and its tab opens on the right. Select Install. If Containers is not installed yet, a confirmation appears first, and Yes installs both modules. In the pictures, Containers is already installed, so the confirmation does not appear.

1Select Ayakaleaf 
2Select Install On Windows and macOS, the first installation then opens Choose the account that runs the containers. Choose an account and select Install; the details are in Apps that need containers. Linux has no such dialog.

On Windows, if a restart is needed, the tab shows a notice with Restart now beside it. Select Restart now. After the computer restarts, the installation continues automatically.

The tab lists each step. It pulls three images, which takes a few minutes. To give up, you can select Cancel. When the tab shows installed, select Start.

1Installing 
2Select Start On the first start, Ayakaleaf initializes its database, creates an administrator and installs the Chinese TeX packages. This takes from a few minutes to over ten minutes, and the start keeps running if you close the page. To give up, you can select Cancel. When the tab shows running, the installation is complete.

1First start 
2Running
Use
Join your phone or computer to the hub first, as Join the hub describes.
In the client, open the Apps page and find the Ayakaleaf row. Select Use, and the row shows a local address with the buttons Stop, Configure and Open. Select Open.

1Select Use 
2Select Open The browser opens the project list, and you are signed in as the administrator without a password. Select Create a new project, then choose Blank project to create an empty project.

1Select Create a new project 
2Choose Blank project Enter a project name and select Create. The editor opens with the source on the left and the PDF on the right. To write in Chinese, select the gear in the lower-left corner, change Compiler from pdfLaTeX to XeLaTeX, and press Esc to close. The first start installs the Chinese packages, so begin the document with
\documentclass{ctexart}.
1Select Create 
2Choose XeLaTeX When you finish writing, select Recompile at the top of the right side. The compiled PDF appears on the right.

1Select Recompile 
2Compiled PDF
When you finish, return to the client and select Stop. On a phone, the steps are the same: on the Apps page, select Use, then Open.
Share
Ayakaleaf can generate a link with App share. Each link has a guest account of its own, so the visitor signs in without registering or entering a password.
In the panel's left sidebar, select Services. Find the Ayakaleaf row and select Share.

In the dialog, enter a Name that helps you recognize the link; the name is visible only to you. Expires defaults to 7 days, and you can choose another option. Select Generate link.

1Enter a name 
2Select Generate link Select Copy right away and send the link to the visitor. Keep the dialog open, because after it closes, the panel no longer shows the link.

Select Copy
Under the link, the dialog also shows a guest address such as [email protected], and the picture shows an example address. Copy this address for the invitation that follows, then select Done to close the dialog. While the share's Status shows preparing, wait a moment before you continue.
The visitor sees only the projects that you invite this guest address to, so you must also send an invitation.
Open the project and select Share in the top-right corner. Paste the guest address into Add email address and select Invite. A new row appears with the address and Editor. You can ignore the Invite not yet accepted. beside it, because the invitation is accepted automatically when the visitor opens the link.


When the visitor opens the link, the project list opens directly.

When the share is revoked or expires, the guest account is deleted, and its changes stay in the project.
Risks and limits
All compilations run in the same container with no isolation between them, so send the link only to people you trust.
Ayakaleaf uses about 1.6 GB of memory when idle and about 5.5 GB of disk. On Windows and macOS, the virtual machine must reserve 3 GiB of memory, and when memory is short, the tab shows the suggested value. With too little memory, Ayakaleaf still runs, only slower.
When you change the version, the TeX packages install again, which takes a few more minutes.
Ayakaleaf limits zip downloads to 10 per minute. Past that limit, the page shows an error, and refreshing the page restores it.
The Git sync feature of Ayakaleaf is unavailable.
Settings
Apart from the version, the following settings can stay at their defaults. To change them, select Configure on the tab.

| Setting | Where | What it does |
|---|---|---|
| AI model | Configure on the tab | The model the AI assistant in the editor uses; set up the AI gateway first |
| Apply Ayakaleaf | Configure on the tab | Saves the settings; Ayakaleaf restarts, and open editors connect again |
| Update, Install another version… | Under the status on the tab | Changes the version; the steps are in Change version |
Ayakaleaf only upgrades, because an older version can fail to read data that a newer version migrated. In the Install another version… list, versions older than the installed one are grey and cannot be selected.

Uninstall
On the Ayakaleaf tab, select Uninstall. The red text in the dialog warns that the papers and projects are deleted for good. Download the projects you want to keep from Ayakaleaf first, then select the red Uninstall to confirm.


Uninstalling Ayakaleaf leaves Containers installed.
If the installation or the start stays on one step, see Troubleshooting.
