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

No preview #35

Open
Map1ed opened this issue Nov 14, 2023 · 1 comment
Open

No preview #35

Map1ed opened this issue Nov 14, 2023 · 1 comment

Comments

@Map1ed
Copy link

Map1ed commented Nov 14, 2023

I use Windows 11 23H2, and install it.
however it is repeatedly displaying Compiling but now file output,
I have installed typst in my %PATH%
However, I can use the lsp of vscode to compile the file,

It can work with single file + template files in ./,
but it won't being effectively when I'm using it with folders.

why?

@johnblommers
Copy link

johnblommers commented Apr 16, 2024

Yes it does this for macOS and for Linux as well. To kickstart this prerelease you should:

  1. Create an empty project directory, say MyProject
  2. Create file main.typ inside that directory.
  3. Launch Typstudio
  4. File -> Open Project
  5. Navigate to MyProjectand open that directory
  6. Click the folder icon in the left most narrow pane.
  7. Click oln main.typ
  8. Now the preview will appear.
  9. It will be empty until you start typing in content in the center pane
  10. Typstudio does autosave.
  11. You can add more files with the + sign and even edit them but they will not appear in the preview pane. Not until you type a statement like this into the text of main.typ:
#include "File two.typ"

This is prerelease software and about all you can do is export to PDF which works.

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

No branches or pull requests

2 participants