Skip to content

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 ​

SystemArchitectureFirst Neutrino Hub version
Linuxamd64, arm640.6.0
Windowsamd640.6.0
macOSApple silicon, Intel0.6.0

Install ​

  1. Open the panel in a browser and sign in. In the lower part of the left sidebar, select the system to install on.

  2. In Module configuration, select + Add module. In the dialog, select the Ayakaleaf card, which shows Needs: Containers. When the card is highlighted, select Close.

    The module list with the Add module button marked in red
    1Select + Add module
    The Add module dialog with the Ayakaleaf card marked in red
    2Select Ayakaleaf
    The Ayakaleaf card highlighted, with the Close button marked in red
    3Select Close
  3. 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.

    The module list with the Ayakaleaf row marked in red
    1Select Ayakaleaf
    The Ayakaleaf tab showing not installed, with the Install button marked in red
    2Select Install
  4. 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.

    The Choose the account that runs the containers dialog
  5. 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 Ayakaleaf tab showing that Windows needs a restart, with the Restart now button marked in red
  6. 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.

    The tab showing installing, with each step listed
    1Installing
    The tab showing installed, with the Start button marked in red
    2Select Start
  7. 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.

    The tab on the step that waits for the app to start, with the Cancel button marked in red
    1First start
    The tab showing running
    2Running

Use ​

Join your phone or computer to the hub first, as Join the hub describes.

  1. 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.

    The client's Apps page with the Use button marked in red
    1Select Use
    The row with a local address, and the Open button marked in red
    2Select Open
  2. 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.

    The project list with Create a new project marked in red
    1Select Create a new project
    The open menu with Blank project marked in red
    2Choose Blank project
  3. 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}.

    The new project dialog with the Create button marked in red
    1Select Create
    The settings dialog with the Compiler field marked in red and XeLaTeX chosen
    2Choose XeLaTeX
  4. When you finish writing, select Recompile at the top of the right side. The compiled PDF appears on the right.

    The editor with the Recompile button marked in red
    1Select Recompile
    The source on the left and the compiled Chinese PDF on the right
    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.

  1. In the panel's left sidebar, select Services. Find the Ayakaleaf row and select Share.

    The Services page with the Share button of the Ayakaleaf row marked in red
  2. 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.

    The share dialog with the Name field marked in red
    1Enter a name
    The share dialog filled in, with the Generate link button marked in red
    2Select Generate link
  3. 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.

    The share dialog showing the link and a QR code, with the link row marked in red
    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.

The Share Project dialog with the Invite button marked in red
1Select Invite
A row with the guest address added to the dialog
2New row

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

The project list open in the visitor's browser

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.

The Ayakaleaf configuration with the AI model field
SettingWhereWhat it does
AI modelConfigure on the tabThe model the AI assistant in the editor uses; set up the AI gateway first
Apply AyakaleafConfigure on the tabSaves the settings; Ayakaleaf restarts, and open editors connect again
Update, Install another version…Under the status on the tabChanges 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.

The version list, with the versions older than the installed one in grey

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.

The Ayakaleaf tab with the Uninstall button marked in red
1Select Uninstall
The uninstall dialog with red text warning that the data is deleted
2Confirm

Uninstalling Ayakaleaf leaves Containers installed.

If the installation or the start stays on one step, see Troubleshooting.