Closed aymericdp closed 3 months ago
Dear Aymeric, thanks so much for reaching out and your kind words. Soon I will be working with a publisher to provide a hard copy version and they will be making their own adjustments to the text to adjust the formatting for their purposes.
At the same time, I would be interested to find out more about your idea. I don't use Word to produce the book, it is written in markdown and then converted for pdf and screen reading. All the files are available on GitHub. Let me know if this is something you could work with, and how you would reduce the page numbers in the pdf version.
With all good wishes. David
Dear David,
Many thanks for taking the time to read me. I am a second-year psychology student and have absolutely no background in coding. I actually discovered the Quarto format as I went through your files a few days ago. I installed Visual Studio code along with the Quarto add-on to open the .qmd files, and since I had no idea what to do next, I asked ChatGPT to modify the code in order to reduce page border size to its bare minimum (.5 for printing) and to switch to single-line spacing, which I believe are the two main features I can play with to end up with a shorter document to print. Sadly the tweaks made by ChatGPT only reduced border size by spreading the text on a larger width but each line still contains the same number of words, so the total length of the text remains the same. ChatGPT doesn’t "know" how to reduce line spacing either. I spent several hours on it yesterday, trying various prompts, to no avail. That’s an extremely steep learning curve for me so I’m afraid I am stuck at this stage. I also tried converting the PDF files back to Word format, but this systematically messes up the figures and mathematical symbols. I will try in the next few days to search around to figure out what portion of code determines border size and line spacing. If you have any advice on this, it would of course be very helpful. Many thanks again for such a valuable ressource for students like me. Even though I am enrolled in a French university, it is an ideal companion to my course.
Best wishes, Aymeric
Le mer. 17 juil. 2024 à 12:37, davidfoxcroft @.***> a écrit :
Dear Aymeric, thanks so much for reaching out and your kind words. Soon I will be working with a publisher to provide a hard copy version and they will be making their own adjustments to the text to adjust the formatting for their purposes.
At the same time, I would be interested to find out more about your idea. I don't use Word to produce the book, it is written in markdown and then converted for pdf and screen reading. All the files are available on GitHub. Let me know if this is something you could work with, and how you would reduce the page numbers in the pdf version.
With all good wishes. David
— Reply to this email directly, view it on GitHub https://github.com/davidfoxcroft/lsj-book/issues/49#issuecomment-2232989092, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOK22QBCM3TMB4NHJUMVWOLZMZCOPAVCNFSM6AAAAABK3I2M7KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZSHE4DSMBZGI . You are receiving this because you authored the thread.Message ID: @.***>
Hi, page/line formatting for each type of document can be specified in the _quarto.yml file. And then it is a matter of rebuilding the documents in R, a software program I use for running quarto and writing documents. It is very powerful but I think a very steep learning curve.
Best wishes. David
On Wed, 17 Jul 2024 at 20:47, aymericdp @.***> wrote:
Dear David,
Many thanks for taking the time to read me. I am a second-year psychology student and have absolutely no background in coding. I actually discovered the Quarto format as I went through your files a few days ago. I installed Visual Studio code along with the Quarto add-on to open the .qmd files, and since I had no idea what to do next, I asked ChatGPT to modify the code in order to reduce page border size to its bare minimum (.5 for printing) and to switch to single-line spacing, which I believe are the two main features I can play with to end up with a shorter document to print. Sadly the tweaks made by ChatGPT only reduced border size by spreading the text on a larger width but each line still contains the same number of words, so the total length of the text remains the same. ChatGPT doesn’t "know" how to reduce line spacing either. I spent several hours on it yesterday, trying various prompts, to no avail. That’s an extremely steep learning curve for me so I’m afraid I am stuck at this stage. I also tried converting the PDF files back to Word format, but this systematically messes up the figures and mathematical symbols. I will try in the next few days to search around to figure out what portion of code determines border size and line spacing. If you have any advice on this, it would of course be very helpful. Many thanks again for such a valuable ressource for students like me. Even though I am enrolled in a French university, it is an ideal companion to my course.
Best wishes, Aymeric
Le mer. 17 juil. 2024 à 12:37, davidfoxcroft @.***> a écrit :
Dear Aymeric, thanks so much for reaching out and your kind words. Soon I will be working with a publisher to provide a hard copy version and they will be making their own adjustments to the text to adjust the formatting for their purposes.
At the same time, I would be interested to find out more about your idea. I don't use Word to produce the book, it is written in markdown and then converted for pdf and screen reading. All the files are available on GitHub. Let me know if this is something you could work with, and how you would reduce the page numbers in the pdf version.
With all good wishes. David
— Reply to this email directly, view it on GitHub < https://github.com/davidfoxcroft/lsj-book/issues/49#issuecomment-2232989092>,
or unsubscribe < https://github.com/notifications/unsubscribe-auth/AOK22QBCM3TMB4NHJUMVWOLZMZCOPAVCNFSM6AAAAABK3I2M7KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZSHE4DSMBZGI>
. You are receiving this because you authored the thread.Message ID: @.***>
— Reply to this email directly, view it on GitHub https://github.com/davidfoxcroft/lsj-book/issues/49#issuecomment-2234116049, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMNGANJUJTNQ5B7L6UFQS3ZM3C5NAVCNFSM6AAAAABK3I2M7KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZUGEYTMMBUHE . You are receiving this because you modified the open/close state.Message ID: @.***>
Hello David,
Many thanks for the pointers. Unfortunately I was not even able to recreate the original PDF using the original files, let alone modify it. I installed R, RStudio, Quarto, MikTex, and TeXworks, but no matter what I tried, there was always a missing package or a Quarto.exe error, or an apparent incompatibility issue with some labels in the .qmd files and the latest version of Quarto. All I can say is that the .yml file would need to be modified by replacing all the "geometry" parameters with: pdf: documentclass: article geometry: margin=0.5in output: pdf_document: latex_engine: xelatex includes: in_header: header.tex
And the header would need to be modified to switch to single-line spacing as follows: \usepackage{setspace} \singlespacing
After spending a good 12 hours over the weekend in this bottomless pit, I now have to give up unfortunately, but I hope those modest suggestions can be useful to whomever already has the whole software suite up and runnig and would be willing to try those minor tweaks.
Thanks again, Aymeric
Thanks for trying. The latest version of quarto did break some of the table labels which is a pity. I haven't checked to see if there is a fix for this yet, and I have been using an older version of quarto. I really should put my working build into a docker file, I'll add this to my to-do list.
When the publisher asks for some formatting changes I'll create a copy of all the files and use that for making any changes. If I get a chance I'll also try your suggestions as well.
With all good wishes. David
On Mon, 22 Jul 2024 at 11:49, aymericdp @.***> wrote:
Hello David,
Many thanks for the pointers. Unfortunately I was not even able to recreate the original PDF using the original files, let alone modify it. I installed R, RStudio, Quarto, MikTex, and TeXworks, but no matter what I tried, there was always a missing package or a Quarto.exe error, or an apparent incompatibility issue with some labels in the .qmd files and the latest version of Quarto. All I can say is that the .yml file would need to be modified by replacing all the "geometry" parameters with: pdf: documentclass: article geometry: margin=0.5in output: pdf_document: latex_engine: xelatex includes: in_header: header.tex
And the header would need to be modified to switch to single-line spacing as follows: \usepackage{setspace} \singlespacing
After spending a good 12 hours over the weekend in this bottomless pit, I now have to give up unfortunately, but I hope those modest suggestions can be useful to whomever already has the whole software suit up and runnig and would be willing to try those minor tweaks.
Thanks again, Aymeric
— Reply to this email directly, view it on GitHub https://github.com/davidfoxcroft/lsj-book/issues/49#issuecomment-2242661735, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMNGANZCSDXQMJLE4BMXDDZNTPUFAVCNFSM6AAAAABK3I2M7KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBSGY3DCNZTGU . You are receiving this because you modified the open/close state.Message ID: @.***>
Hello,
First of all, congratulations and a huge thank you for this amazing book. Like a certain percentage of learners I assume, I have always preferred studying on hard copies of manuals. Yours is very well formatted for on-screen reading, but the 513 pages could easily come down to almost half that number by tweaking the formatting, which would make the file much easier to print. I would be happy to volunteer to do that, however I would need the original Word file (I can't do it from the PDF file). Would you be able to make it available? If I can make a printer-friendly version, I will be happy to have it published on your website for download by other users.
Thank you. Aymeric