Bug in chapbook ?

Twine Version: 2.11.1
chapbook Version: 2.3.0

the general intention is having an initial passage for selecting the language, then go to the cover passage, e.g. this minimal .twee example showing the possible bug:

:: StoryTitle
Bug in chapbook ?


:: StoryData
{
  "ifid": "6d24de55-f8af-45fa-b65f-fb9e2777a569",
  "format": "Chapbook",
  "format-version": "2.3.0",
  "start": "boot",
  "zoom": 1
}


:: ITALIANO {"position":"300,300","size":"100,100"}
[align center]
#EDIZIONE ITALIANA
###Di dott. Piergiorgio, MMXXVI

###[[INIZIO->inizio]]


:: NOTE(S) {"position":"0,0","size":"100,100"}
NOTE(S):

scrivere qui le note di sviluppo.


:: boot {"position":"100,600","size":"100,100"}
config.style.page.font: "Gentium 20"
config.style.backdrop: "indigo-4"
config.style.page.color: "yellow-2 on indigo-5"
config.style.page.link.font: "Gentium"
config.style.page.link.color: "orange-3"
config.style.page.link.lineColor: "red-2"
config.style.page.link.active.color: "emerald-4 on cerulean-2"
config.style.page.header.font: "16"
config.style.page.header.link.font: "small caps"
config.style.page.header.borderColor: "yellow-2"
config.style.page.footer.font: "16"
config.style.page.footer.link.font: "small caps"
config.style.page.footer.borderColor: "yellow-2"
config.body.transition.name: 'none'
config.header.center: "_{story.name}_"
config.footer.left: '{back link}'
config.footer.right: '{restart link}'
--
{embed passage: 'root'}


:: english {"position":"300,900","size":"100,100"}
[align center]
#ENGLISH EDITION
###by PGdE, MMXXVI

###[[START->start]]


:: inizio {"position":"500,300","size":"100,100"}
qui inizia la storia...


:: root {"position":"300,600","size":"100,100"}
<center>
<h1>Tema blu-oro</h1>
</center>
[align center]
[[ITALIANO]]
[[english]]


:: start {"position":"500,900","size":"100,100"}
Here the story begins...

As one can see, NOTE(S) and boot & root is my stock skeleton, and the issue is shown in the root passage, where clicking on the language don’t lead to the relevant passage.

checked multiple times, the code seems good in its glorious bareboness, so I suspect that there’s a genuine chapbook bug; perhaps in {embed passage} ?

Best regards from Italy,
dott. Piergiorgio.

1 Like

Your example works fine for me. What’s happening for you?

1 Like

I also tested your example in a new Chapbook v2.3.0 based project, and I was also able to access both the ITALIANO and english sections.

note: there is a syntax error in the Markdown Header markup being used in both of the above mentioned passages. The 1st of the ### marked lines don’t have a preceding blank line, which causes that line to be shown as is.
eg. The current content of the ITALIANO Passage…

[align center]
#EDIZIONE ITALIANA
###Di dott. Piergiorgio, MMXXVI

###[[INIZIO->inizio]]

…while result in the ###Di dott. Piergiorgio, MMXXVI line being shown as plain text instead of a Header line. Simply adding a blank line will fix this issue…

[align center]
#EDIZIONE ITALIANA

###Di dott. Piergiorgio, MMXXVI

###[[INIZIO->inizio]]
1 Like

You may also have intended to use forks:

> [[ITALIANO]]
> [[english]]

which would put the links on separate lines and centre them.