Skip to content
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

Added Book template #4

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Added Book template #4

wants to merge 8 commits into from

Conversation

WinnerWind
Copy link

Added Book template

Book

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

Added Book template
@universvm
Copy link
Owner

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.

@WinnerWind
Copy link
Author

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!

@universvm
Copy link
Owner

Take your time and thank you!

@WinnerWind
Copy link
Author

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.

@universvm
Copy link
Owner

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

@WinnerWind
Copy link
Author

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

@WinnerWind
Copy link
Author

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

I have fixed the example image and the example PDF. Their headings were broken as they lacked one space.
I have also added the alternate template book_with_citations.tex. This should hopefully ship with citation support.
@WinnerWind
Copy link
Author

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!

@universvm
Copy link
Owner

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!

@WinnerWind
Copy link
Author

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.

@universvm
Copy link
Owner

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

I gave up trying to fix citations.
@WinnerWind
Copy link
Author

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.

@universvm
Copy link
Owner

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

@WinnerWind
Copy link
Author

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
Copy link
Author

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

@universvm
Copy link
Owner

Thanks @WinnerWind !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants