https://github.com/clsty/xopp-merge
Merge multiple Xournalpp files into one
https://github.com/clsty/xopp-merge
Last synced: over 1 year ago
JSON representation
Merge multiple Xournalpp files into one
- Host: GitHub
- URL: https://github.com/clsty/xopp-merge
- Owner: clsty
- License: mit
- Created: 2023-11-20T02:32:43.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-20T03:00:36.000Z (over 2 years ago)
- Last Synced: 2025-01-20T16:42:32.857Z (over 1 year ago)
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# xopp-merge
The python scripts merge multiple [Xournalpp](https://github.com/xournalpp/xournalpp)'s note file `*.xopp` into one.
## Usage
On most Linux distros, run `./install` to copy scripts to `/usr/bin/`, and run `./uninstall` to remove them.
Then you can directly use these scripts in shell.
`xopp-mergefolder` will merge `*.xopp` files in alphabetical order.
## Known issues
The script `xopp-merge` seems to be broken.
Similar as [this issue](https://github.com/xournalpp/xournalpp/issues/2474#issuecomment-1265735863).
Error output:
```
Traceback (most recent call last):
File "/usr/bin/xopp-merge", line 51, in
pageNb = elements[0].attrib["pageno"]
~~~~~~~~~~~~~~~~~~^^^^^^^^^^
KeyError: 'pageno'
```
And the author [said](https://github.com/xournalpp/xournalpp/issues/2474#issuecomment-1312756149):
> The script first looks for the pagenb attributes in the tags (which define a "page" for the script) which are missing for files with built-in background layouts/models (i.e. those without a pdf background, like the attached files). In other words, the script should not skip the tags to work properly.
> Honestly, I should just rewrite it in a complete all-layer-, all-background-supporting and platform-independent way with much cleaner code.
>
> I really appreciate your work and feedback btw.! I'll see what I can do with the "CLI/offline" solution (unless we want to wrap your solution in an electron app, making it nice, easy-to-use and user-friendly).
## History
It's originally created as , and modified as .
For more info, see
-
-