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

Adding Patterns formatting #23

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

atambay37
Copy link
Collaborator

Adding folder with .tex templates for Patterns formatting.

Copy link

welcome bot commented Feb 21, 2025

Thanks for opening this pull request! Please don't forget to add your information to _metadata.yml.

@arokem
Copy link
Contributor

arokem commented Feb 21, 2025

Will this supplant the previous quarto-oriented build mechanisms?

@atambay37 atambay37 self-assigned this Feb 21, 2025
@atambay37
Copy link
Collaborator Author

Will this supplant the previous quarto-oriented build mechanisms?

Hmm. Hadn't thought of that. Is it best to adjust the quarto templates to match the .tex ones?

@arokem
Copy link
Contributor

arokem commented Feb 21, 2025

That would be the nicest, but also technically hard. Maybe best to copy all the text from the qmd files into the latex template, fix it up and add a Makefile to build the tex from source.

Something like:

# Target PDF file
TARGET = paper.pdf

# Source .tex file
SOURCE = paper.tex

# Rule to compile the .tex file to PDF
$(TARGET): $(SOURCE)
	pdflatex $(SOURCE)
	bibtex $(basename $(SOURCE))
	pdflatex $(SOURCE)
	pdflatex $(SOURCE)

# Clean rule to remove auxiliary files
clean:
	rm -f *.aux *.log *.out *.toc *.bbl *.bcf *.blg *.run.xml $(TARGET)

@atambay37
Copy link
Collaborator Author

That would be the nicest, but also technically hard. Maybe best to copy all the text from the qmd files into the latex template, fix it up and add a Makefile to build the tex from source.

Something like:

# Target PDF file
TARGET = paper.pdf

# Source .tex file
SOURCE = paper.tex

# Rule to compile the .tex file to PDF
$(TARGET): $(SOURCE)
	pdflatex $(SOURCE)
	bibtex $(basename $(SOURCE))
	pdflatex $(SOURCE)
	pdflatex $(SOURCE)

# Clean rule to remove auxiliary files
clean:
	rm -f *.aux *.log *.out *.toc *.bbl *.bcf *.blg *.run.xml $(TARGET)

Okay, I see! I might need to stop by your office hours for some help with this. I can make it clear to Kris and Carolina to prioritize style and language changes, and I can handle formatting as you mentioned above.

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