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

Scope resolution fails from link under scope to directory based scope #284

Open
cirosantilli opened this issue Sep 3, 2022 · 0 comments
Labels
scope subdir This was not a very common use case, so things were often semi broken.

Comments

@cirosantilli
Copy link
Contributor

cirosantilli commented Sep 3, 2022

At 0466217

notindex.bigb

= Notindex
{scope}

<notindex 2>

notindex/notindex-2.bigb

= Notindex 2

Convert:

ourbigbook .

Conversion fails with:

notindex.bigb:4:2: cross reference to unknown id: "notindex-2" at render time

but:

sqlite3 out/db.sqlite3 'select idid from Id'

shows that notindex/notindex-2 is there.

#229 feels related/same base cause.

The following analogous constructs work however:

  1. single source scope
= Notindex
{scope}

<notindex 2>

== Notindex 2
  1. everything in directory based scope: move notindex.bigb to notindex/index.bigb

notindex/index.bigb

= Notindex

<notindex 2>

and

notindex/notindex-2.bigb

= Notindex 2
@cirosantilli cirosantilli added scope subdir This was not a very common use case, so things were often semi broken. labels Sep 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope subdir This was not a very common use case, so things were often semi broken.
Projects
None yet
Development

No branches or pull requests

1 participant