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

help #8

Open
jaan143 opened this issue Oct 30, 2021 · 22 comments
Open

help #8

jaan143 opened this issue Oct 30, 2021 · 22 comments

Comments

@jaan143
Copy link

jaan143 commented Oct 30, 2021

Thank you for your script
i need little help about your script

  1. i am generating pdf from md file so i want to increase font size currently font size is 10
  2. i want to change page size also
  3. in pdf file every image bellow have image file name which i want to remove example after image file name like this image-GHT23.jpg

can you help in script where i can change those setting

thank you

@normanlorrain
Copy link
Owner

normanlorrain commented Oct 30, 2021 via email

@normanlorrain
Copy link
Owner

normanlorrain commented Oct 31, 2021 via email

@jaan143
Copy link
Author

jaan143 commented Nov 2, 2021

@normanlorrain Dear
i dont understand about this where i have to set in which file
caption {width=width%}
you can omit the caption and width:

@jaan143
Copy link
Author

jaan143 commented Nov 2, 2021

@normanlorrain i changed font size in these lines where is already set 10 but i set it to 14 and after save this file i convert pdf but it is still 10 font size
here is those lines where i changed

fontSize = 14 # choose font size of text
headingfontSizes = [18, 16, 14, 12, 10, 10, 10, 14]

after changing this file should i reinstall script ?

@normanlorrain
Copy link
Owner

normanlorrain commented Nov 2, 2021 via email

@normanlorrain
Copy link
Owner

normanlorrain commented Nov 2, 2021 via email

@jaan143
Copy link
Author

jaan143 commented Nov 2, 2021

font size problem is solved
but please explain me little bit more about how can i remove image file name which is showing in every image bellow

@normanlorrain
Copy link
Owner

normanlorrain commented Nov 2, 2021 via email

@jaan143
Copy link
Author

jaan143 commented Nov 2, 2021

where is example
i cannot see

@normanlorrain
Copy link
Owner

quick.md

(attachments via email didn't work, sorry. See this message)

@jaan143
Copy link
Author

jaan143 commented Nov 2, 2021

thank you very much Dear

@jaan143
Copy link
Author

jaan143 commented Nov 2, 2021

@normanlorrain Dear
can i reconstruct my pdf file using rst2pdf ?

can i customize page size in your script in inches ?
if its possible then please help to tell in which files i can add code and which code
like i want to page size 7.25 x 9.25 (inches)

@normanlorrain
Copy link
Owner

normanlorrain commented Nov 3, 2021 via email

@jaan143
Copy link
Author

jaan143 commented Nov 3, 2021

this one i dont understand how i can reate .rst file i just have md and pdf files
pandoc -o test.rst test.md #Converts to rst
rst2pdf test.rst

(What is your use case? Multiple files? One-time use or part of a workflow?)
yes i have to convert multiple pdf files thats why i am asking about these changes (page size)

please Dear Sir
if you have teamviewer then you can come in my computer to help me about using rst2pdf
i will send you teamviewer details in email

@normanlorrain
Copy link
Owner

In this example I'm assuming you'd like to try rst2pdf, which doesn't directly work with markdown. The first step is to convert your markdown to ReStructuredText (rst) format. rst2pdf can then convert this intermediate file.

To simplify things a bit, you can stick to just using pandoc; this tool is excellent. It can convert to all sorts of formats. You could even convert your files to Word...
pandoc -o test.docx test.md
... then use Word's export feature to generate your PDFs.

@jaan143
Copy link
Author

jaan143 commented Nov 4, 2021

@normanlorrain can you help me to setup page size in your script ?
you can tell me code and which file and line i have to add i will do it

Thank you

@normanlorrain
Copy link
Owner

normanlorrain commented Nov 4, 2021 via email

@jaan143
Copy link
Author

jaan143 commented Nov 4, 2021

@normanlorrain yes i knew this command but i asked more custom page size code. eg 7.50 x 9.50

by the way your suggestion about pandoc is too much helpful for me and i am using it.
thank you very very much Dear

@normanlorrain
Copy link
Owner

normanlorrain commented Nov 4, 2021 via email

@jaan143
Copy link
Author

jaan143 commented Nov 4, 2021

its working fine
thank you very much Dear

@jaan143
Copy link
Author

jaan143 commented Feb 10, 2022

@normanlorrain Dear i am trying to convert md to pdf file but its not fetching images which is are in same directory with same md file folder name
can you please help me about it

@normanlorrain
Copy link
Owner

normanlorrain commented Feb 10, 2022 via email

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

2 participants