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

Change the name of the generated output pdf and .docx files #502

Open
tiwns opened this issue Aug 9, 2023 · 4 comments
Open

Change the name of the generated output pdf and .docx files #502

tiwns opened this issue Aug 9, 2023 · 4 comments

Comments

@tiwns
Copy link

tiwns commented Aug 9, 2023

Hello,

How can I change the name of the generated files manuscript.pdf and manuscript.docx during the build process?

@agitter
Copy link
Member

agitter commented Aug 9, 2023

The output filenames are not configurable. You could modify the build script build/build.sh to mv these files after they are generated and rename them, but that could have unintended consequences. For instance, the Manubot command that versions manuscripts assumes particular filenames
https://github.com/manubot/manubot/blob/f62dd4cfdebf67f99f63c9b2e64edeaa591eeb69/manubot/webpage/webpage_command.py#L142

@dhimmel
Copy link
Member

dhimmel commented Aug 9, 2023

If you elaborate where and why you want to change the names, perhaps we can find a solution that is specific to that context (like @agitter's suggestion to modify build/build.sh).

@tiwns
Copy link
Author

tiwns commented Aug 9, 2023

Basically, I would like the names of the docx and pdf files to have names associated with the project and not the generic 'manuscript'. I distribute these files later in SharePoint and would like the name change to be a part of the automated process.

@dhimmel
Copy link
Member

dhimmel commented Aug 10, 2023

Got it. And are you downloading the files from the output or gh-pages branch on github, as created by github actions or are you distributing files you create locally?

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

No branches or pull requests

3 participants