$this->config->numerotation = [];
foreach ($this->sources as $source) {
- $this->config->numerotation += array_slice($source->getDocument()->getPageNumbers(), $source->getStart(), $source->getPages());
+ $this->config->numerotation += array_slice($source->getDocument()->getPageNumbers(), $source->getStart() - 1, $source->getPages());
}
- dd($this->config->numerotation,$this->sources);
+ dd($this->config->numerotation, $this->sources);
}
protected function compileChapters()