Skip to content

Conversation

eponier
Copy link
Contributor

@eponier eponier commented Jul 18, 2025

  • move installation instructions to the doc
  • move jasmin.sty to the doc
  • extend the README

@vbgl
Copy link
Member

vbgl commented Jul 18, 2025

you may want to change that line too:

F.fprintf fmt "@[%% https://github.com/jasmin-lang/jasmin/wiki/resources/jasmin.sty@]@ ";

@eponier eponier force-pushed the update-README-after-wiki-cleaning branch from 4bc58de to ffbdf20 Compare July 18, 2025 22:24
@eponier
Copy link
Contributor Author

eponier commented Jul 18, 2025

Well spotted!

Comment on lines +17 to +29
- with nix
```
nix-env -iA nixpkgs.jasmin-compiler
```

- with opam
```
opam install jasmin
```

- with APT (debian, ubuntu), a package is available in a dedicated repository, see the [documentation](https://jasmin-lang.readthedocs.io/en/latest/misc/installation_instructions.html#debian-packages)

- from source, see the [documentation](https://jasmin-lang.readthedocs.io/en/latest/misc/installation_instructions.html)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you repeat what is in the manual? I think that a link to the manual is as useful and less prone to errors.

F.fprintf fmt "@[%% jasmincode environment provided by the jasmin package@]@ ";
F.fprintf fmt "@[%% defined in file: @]@ ";
F.fprintf fmt "@[%% https://github.com/jasmin-lang/jasmin/wiki/resources/jasmin.sty@]@ ";
F.fprintf fmt "@[%% https://jasmin-lang.readthedocs.io/en/latest/tools/jasmin.sty@]@ ";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In fact, I think that it is too early for this change. The way our deployment of documentation is coupled to our release management means that we must first wait for the jasmin.sty file to be deployed at the target address (i.e., wait for next tag to be set in the repo) before we can change the link in the source code.

jasmin2tex -o output.tex input.jazz

The produced LATEX snippet is meant to be included in a `jasmincode` environment provided by the `jasmin` package defined in the following file: [jasmin.sty](./resources/jasmin.sty).
The produced LATEX snippet is meant to be included in a `jasmincode` environment provided by the `jasmin` package defined in the following file: [jasmin.sty](jasmin.sty).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will not work: you need to tell sphinx to install the jasmin.sty file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants