obsidian-pandoc-templates icon indicating copy to clipboard operation
obsidian-pandoc-templates copied to clipboard

Added Book template

Open WinnerWind opened this issue 1 year ago • 16 comments

Added Book template

Book

A simple minimalist plug and play book template for Obsidian. Works out of the box without any YAML

WinnerWind avatar Jan 09 '24 08:01 WinnerWind

Hi @WinnerWind ,

Thanks for your contribution. I'd be very happy to include it, however could you do some modifications?

Have a look at: https://github.com/universvm/obsidian-pandoc-templates/tree/main/dissertation for a template on the README. Try to follow the way it is laid out (with the same titles). I'd like to keep templates more concise with about 1 sentence description.

Also could you add support for citations? It would simplify the workflow for people wanting to use your template in a professional environment. Have a look at how natbib is imported here: https://github.com/universvm/obsidian-pandoc-templates/blob/main/dissertation/dissertation.tex

Btw, the addition of citation support does not affect your ability to use the template without YAML input.

universvm avatar Jan 09 '24 11:01 universvm

Hi there! I felt that the Readme of the dissertation was too short, so I made my own, but at your request, I'll make it a simple one sentence. Though, this is a template made to emulate real books (which often don't have citations) I'll try to add citations. I'll let you know if I succeed. Do give me some time. Thanks!

WinnerWind avatar Jan 10 '24 12:01 WinnerWind

Take your time and thank you!

universvm avatar Jan 10 '24 12:01 universvm

I am very sorry to ask, but I checked out how dissertation.tex does it, and I think that I have got it to work. How exactly do I test it? I read the Overleaf article, but it is not very useful for testing it in Obsidian.

WinnerWind avatar Jan 10 '24 12:01 WinnerWind

Hi there,

Perhaps it'd help if you setup a bib file and cite in the file. If integrated correctly there should be citations at the end of the document.

This might be a bit long but you can follow the tutorial here: https://betterhumans.pub/obsidian-tutorial-for-academic-writing-87b038060522

universvm avatar Jan 10 '24 13:01 universvm

Thank you so much! I'm looking into it now.

WinnerWind avatar Jan 10 '24 13:01 WinnerWind

Hi there! Just an update : I wasn't able to figure out how to do the citations. I'm still working on it.

WinnerWind avatar Jan 14 '24 13:01 WinnerWind

Hi there! I think that I have got it to work. I have included both the book without citations template, and the book with citations template. Please do check them out and let me know if they work for you. Book with citations may still be broken, as honestly I am not sure how to get it to work. It seems to export fine on my setup though. Thanks!

WinnerWind avatar Jan 15 '24 06:01 WinnerWind

Hi @WinnerWind thanks for all the work, it looks great!

One small thing I'd suggest is to use one template only and add an if condition. if the user passes a bib file, then do citations. ChatGPT should be able to help you out with this. Also it seems like you include the bib file in the template but the example png/pdf does not contain any citations. Would it be possible to only include an example with citations?

Thanks in advance for this!

universvm avatar Jan 15 '24 09:01 universvm

Sure thing. I'll try to do this. Give me some time. I might take a little longer than usual because I'll be holidaying sometime after the 19th, so there's a lot of other stuff in my life.

WinnerWind avatar Jan 15 '24 14:01 WinnerWind

Hi @WinnerWind , no worries at all, take your time and thanks again for the contribution!

universvm avatar Jan 15 '24 15:01 universvm

Hi there! I am so sorry but after two weeks of trying and a lot of headaches later, I was not able to add citations. I am really sorry that this is the case. I don't know how to add it, even though I have analyzed every inch of dissertation.tex. I'm still pretty new to LATEX. I hope that one day I can add it, but I have to throw in the towel for now.

WinnerWind avatar Jan 30 '24 17:01 WinnerWind

@WinnerWind don't worry about it, I will continue your work whenever I have more time. Thanks for everything you've done so far!

universvm avatar Jan 31 '24 13:01 universvm

Sure thing! I'm still trying to do it, and I'll keep you posted if I make any new developments. Feel free to modify the code however you like and make it yours :)

WinnerWind avatar Feb 01 '24 10:02 WinnerWind

Hi there! I'm going to give this one another shot. No gaurentees though.

WinnerWind avatar Jun 04 '24 12:06 WinnerWind

Thanks @WinnerWind !

universvm avatar Jun 04 '24 12:06 universvm