148
submitted 1 year ago* (last edited 1 year ago) by anmnv@discuss.tchncs.de to c/opensource@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] xigoi@lemmy.sdf.org 6 points 1 year ago

…Why is a book about LaTeX written in Google Docs?

[-] anmnv@discuss.tchncs.de 2 points 1 year ago

why it is writtent in Google Docs -_- ? I have made an online preview, but it is just special repo which is hosted book in .pdf

[-] xigoi@lemmy.sdf.org 2 points 1 year ago

Oh, so you're using Google Docs' viewer to view a PDF hosted elsewhere? Interesting, I didn't know that was possible. Why not just link to the PDF directly?

[-] ____@infosec.pub 2 points 1 year ago

That would be a client side issue - your browser is using Google Docs to display the pdf. What’s in the repo is a pdf only, that works equally well in Foxit or whatever you like.

[-] xigoi@lemmy.sdf.org 1 points 1 year ago

The link in the repo explicitly links to Google Docs: https://docs.google.com/viewer?url=https://raw.githubusercontent.com/AnMnv/AnMnv.github.io/master/eBook.pdf

If I open the PDF directly (which GitHub's interface makes unnecessarily difficult), it doesn't open in Google Docs.

[-] anmnv@discuss.tchncs.de 1 points 1 year ago

https://github.com/AnMnv/eBook/blob/main/eBook.pdf here is just the link on .pdf book but the names in TOC in not "clickable" that is why I choose online preview in this way)

[-] xigoi@lemmy.sdf.org 5 points 1 year ago* (last edited 1 year ago)

If you link to the raw file, it's going to open in the browser's PDF viewer, where links are clickable.

[-] anmnv@discuss.tchncs.de 2 points 1 year ago

in this case, downloading starts immediately, it is not ok (at least in my case, I want to have online preview)

[-] xigoi@lemmy.sdf.org 2 points 1 year ago

Looks like your browser doesn't have a PDF viewer built in. You should install an extension that adds it (PDF.js), it's really useful.

this post was submitted on 30 Sep 2023
148 points (97.4% liked)

Open Source

31199 readers
215 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS