Comments (16)
How do you envision a (sub)tree (multiple notes) being represented in a single PDF file? Just concatenate all the notes together?
There's a stopgap solution to do something like what you want outside of the program right now which is to use pandoc
, which generally does an okay job at converting markdown (including LaTeX math) into LaTeX-rendered PDFs. (I've encountered a handful of cases of it getting stuck though.) Eventually, adding an in-program export function is planned.
from notekit.
Is there any chance to implement this kind of workflow as a single button click?
we've talked about it in the notekit chat-room (mostly about a general "export" button, if we decide to add any other "non-standard" markdown features). Shouldn't be to hard, as the methods already exists.
from notekit.
I've updated the COPR repo, and I will soon update the Fedora NoteKit as well ;) !
from notekit.
How do you envision a (sub)tree (multiple notes) being represented in a single PDF file? Just concatenate all the notes
together?
I was thinking about something like that. When exporting as HTML this should not be too difficult, since HTML files are already tree structured. When exporting as a PDF, it could simply concatenate all the nodes following their hierarchy, starting from the first node, then inlcuding their childs, then adding the next sibling node. I'm taking CherryTree as an example, I suggest you to go have a look at it if you don't mind.
I really like the ability to take notes both with markdown and hand-written in the same place, so I really like your software. But at the moment lacks the exporting feature that other taking notes softwares already have.
Thank you for listening to my feature request, cheers!
from notekit.
There's an alternative that is grip. It's an pypi package that converts it to pdf.
from notekit.
Hello @blackhole89 , sorry for writing under an old issue. I tried pandoc
, but it seems it can't render drawings in PDF
file.
command invoked with its output:
$ pandoc appunti.md -o appunti.pdf
[WARNING] Could not fetch resource 'nk:3572,eNq11k9IVEEcB/Cxv1ILbbFEBw9mFh6sVtyDUNDuex487GEPQhsstcUepCzs1h+Kl0Es/YE9epTQkjSzErXo4Ck8REREeIqOHiIkIoQi+v5mvlOzr2VTW4UPv3He7Px/M+97nVKdSqmdKvwXHNmhYzGFNPU53DyJRSrBPM3BLEU9pSJQT63QC/0QMC15H/k7IeWbIU4JUMkaKRurGX/MMxqgkW23st0OOkyS18Ky4fJxlk1CJ8smnHG0OvVKmQzkIMt0N+ShAD2MBeblWTZXy7moOjdRHW3/smy74PSvh+vXy7W8AUW4SSXOQ5Jz1+HMR8KZ1zTTdp46ORdJr9Zj2q7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Mt0N+ShAD2MBeblWTZXy7moOjdRHW3/smy74PSvh+vXy7W8AUW4SSXOQ5Jz1+HMR8KZ1zTTdp46ORdJr9Zj2q7jc8+YcUzBJE3RBNyFIbgHIzAOL2AA+3SQ6rkn7Lp3Mdq9k3Hmz85ll7cWa7ZNx3nU/Z7ewVt4A6/gJczRaz6XcvOUCO3VuLOvu8kdg13buFfLcUR0/Ik6l+ArfIFF+AyfSPK+sYzyy/ucYL+S7GfG6X9mtfNf1sdNOu5Bu02wm5ooEdrjHf86x8rqXqfjPtSz1/9zrlZb80O+kYB2aIOD1EbtoWcHYL9vzi/3PGvkfo47/bf7Ok0ZqvV5k0V/jlLWcQxycBxOQJ5OQgFO0SLmaYHzJXdKM/eA5Ms7m4cMo73DZmg2Vev3cb05Q9ln6Z+9a6Jetd+ZO/gMyp+mcLrS/2fhHPXBeYqyPXsHR5z7zj7b5ay7fY9amCfPl1Jre89c8I2LdIkuwxW4CgFc81Vg9cN14/c3Rvget3s7FvoOsXNg93ttx7RRx+Qs0jBIko5xrq2Yt5z66nW4hXFSQOq2EUhUKSPKPS77fwPHGvFWOoYtOrJ+dQdtkLJsvsSccyakeVbYezDt5K1uPpt0eORrSuIY4ig8QPo+IgTDMIS0NcxnUkaM8vdPYRqeGcEMIgXTfDaF9KRpS7c3bihR4tmRd86RIr8FJvgNq7i2zTxD0xXuzwzvBHm/5OwZYR0DVKKgwrf2YGoNvwP/a+9v1mHUzLcimX+dHuMZLeeJPasXnfQK25G1DJ6U0+srFkL1y5qo5ZxlZe1sLRuP9P8h98EE8h5XaLeB73aDc4/abyp7HlV995fVrzodPvjOt9ffz9UPn/sx+QuhVcq6" "InvalReplacing image with description.
output file:
appunti.pdf
Am I missing something?
from notekit.
Am I missing something?
NoteKit saves it's drawings as a zlib compressed serialization of a cairo surface (mostly for performance & size reasons). Pandoc can't deal with them.
If you wan't to render a note with pandoc, you'll have to remove your drawings. However, if you copy a drawing into your clipboard, then into some other application (vim, gedit, emacs, etc.) and from there copy it again and back into notekit (notekit will be unable to show you the svg version tho) you should be able to export the drawing too.
from notekit.
Is there any chance to implement this kind of workflow as a single button click?
Anyway I don't want to use pandoc at all costs, any other simpler way would be good as well.
from notekit.
Ty for your swift answers. I'll wait then for the export feature to be implemented.
from notekit.
oops closed by mistake, I'm very sorry :(
from notekit.
Just committed something that adds an export button to the app menu. You can currently choose between the same rendered markdown format that you get if you copypaste into another program, and piping it into pandoc (which needs to be installed) to get a PDF.
Unfortunately, pandoc is a bit temperamental about certain things and can silently fail (check the console output in those situations). For example, it fails to detect LaTeX spans if the starting $ is followed by a space or the final one is preceded by one.
from notekit.
Just committed something that adds an export button to the app menu.
Nice, ty very much. Since I'm using fedora, i'll wait for the copr repo to be updated as well to try out this update.
from notekit.
I'm using fedora, i'll wait for the copr repo
Thanks to @LyesSaadi, Fedora 34 now carries NoteKit (with cLaTeXMath chopped off) in it's repos.
from notekit.
Thanks to @LyesSaadi, Fedora 34 now carries NoteKit (with cLaTeXMath chopped off) in it's repos.
didn't know, ty.
from notekit.
If you're already using the COPR repos, until the cLaTeXMath situation is fixed, you'll be able to keep using the cLaTeXMath features through the COPR without doing anything :D !
from notekit.
thank you very much for your support! You can close the issue if you want.
from notekit.
Related Issues (20)
- Better syntax highlight HOT 1
- [enhancement] Keyboard shortcut for eraser, brush size, pen, colors, etc HOT 10
- Blockquotes not follows theme change HOT 1
- free(): invalid pointer HOT 1
- FR: support OPML files HOT 3
- Get error, HOT 1
- Cannot add PPA: ''This PPA does not support jammy''. ubuntu 22.04
- cannot install on debian HOT 6
- through compiling it, the app won't run HOT 1
- Can't download the windows file HOT 1
- Fail to build on MacOS HOT 10
- ability to change font size
- notekit_0.2_amd64 has (false) unmet dependency on Ubuntu Jammy onwards. HOT 5
- zip link given in readme is not working HOT 1
- features needed HOT 1
- Sync notes from other sources HOT 3
- Cannot add PPA: ''This PPA does not support jammy''. HOT 3
- How the fuck do you install this? HOT 10
- [Feature Request] Obsidian Implementation HOT 1
- All of the Windows artifacts seem to be expired HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from notekit.