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
Per-page commands #188
Comments
This looks very tricky. I would need separate Latex runs for each page. |
I'm not sure I'm following. Why is that a bad/tricky thing? |
I think I misunderstood this ticket. You simply want each page to possibly carry preamble commands, and when Latex is run, Ipe would simply concatenate the commands from all pages to form the actual preamble? |
No, I think I want it the other way around. I want pages compiled individually, where the commands they have are the global preamble commands, plus their local commands. I imagine having the same command repeated on many pages. The point is that I want to make it easy to copy pages between presentations, something that's quite painful right now. This would be a step towards that. |
Compiling pages separately is not an option. One issue is that it would be super-slow - so I would have to add logic to only recompile the pages that could possibly have changed after some action, and most likely compiling in the background so the first page of a document would appear fast, but the main issue is that combining PDF resources from different PDF files would be much harder than taking them from a single file. (For instance, you would have multiple copies of the same font but with different character subsets - how do you merge these?) |
I see. Then I suppose it's possible to make it work the way you suggest: concatenating all the commands. Actually, is it possible, instead of concatenated in the beginning, to paste commands before the page content? Then I'd use something like It would require the user to be more careful than what I had in mind, but I suppose that's the general spirit of Ipe. |
Merged with #258 |
It would be nice if it was possible to record Latex preamble commands for each page separately. It would make it much easier to copy-paste pages between presentations.
The text was updated successfully, but these errors were encountered: