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

READMEのminimum.satyのエラー #23

Closed
estis75 opened this issue Nov 22, 2021 · 2 comments
Closed

READMEのminimum.satyのエラー #23

estis75 opened this issue Nov 22, 2021 · 2 comments

Comments

@estis75
Copy link

estis75 commented Nov 22, 2021

README.mdを読んでminimum.satyをコンパイルしてみようと思ったんですが,そのままだと

! [Type Error] at "minimum.saty", line 3, characters 0-8:
    undefined variable 'document'.

というエラーが出るので以下のように書き換えて動くようにしました.

@require: class-slydifi/theme/plain

SlydifiPlain.document (|
  draft-mode = false;
|) '<
  +frame{\SLyDIFi; のテスト}<
    +p{Hello, \SLyDIFi;!}
  >
>

README.mdやexample/*のコードを読んでみたところ,全体に渡ってmodule名やdocumentの第一引数が省略されていますが,それでコンパイルできるようにできる方法がありましたらご教示いただけると助かります.

よろしくお願いします.

@monaqa
Copy link
Owner

monaqa commented Nov 23, 2021

インストールされている SLyDIFi のバージョンが古いと思われます。最新版 (v0.4.0) にして試していただけますか?

@estis75
Copy link
Author

estis75 commented Nov 23, 2021

確かにSATySFi及びSLyDIFiのバージョンが低いままでした……
バージョンアップしたら動きました.ありがとうございます!

@estis75 estis75 closed this as completed Nov 23, 2021
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