picture of bibliography export
I have the problem that when I export to pdf latex, my bibliography looks a bit strange with the long liks extending beyond the margins. See picture of bibliography export.
Does anyone know how to: (1) break these links, (2) and how to remove the blue/greenish box around the broken links, and (3) how to remove them all together. I sometimes would like to have them, but that the formatting looks better, and sometimes I would like to remove the links all together.
I use zotero to create a bib file, and cite export using csl apa.
I have searched for answers how to solve this problem, tried every solution that I could find, but none that worked for me.
Related
I'm looking for a way to mass-rename many, many lines of code that all end in '.ogg' within a folder. There's more then 4,000 entries so annoying to do one-by-one.
The bigger picture is that I downloaded an open-source game that unfortunately doesn't work because a lot of the sound files are in different directiories, like, "sound/monster, sound/machines, sound/robots", but for SOME REASON literally every .ogg file in the code doesn't contain where the sound file actually is. If the correct path is "sound/machines/lightswitch1.ogg" then the code line is "lightswitch1.ogg" and doesn't work. I am looking for a way to simply rename all the offending files to something like "sound/allsounds/[soundname].ogg", then take every sound file and dump it in the "allsounds" folder. I don't need it to be tidy because I'm the only one using it. Thanks!
Edit: I'm also really ignorant about all things code, so I might've missed some obvious solution.
Edit 2: I tried 'Batch Rename' but it doesn't seem to work for search results (what I'm using to see all the darn filepaths. I think it's only for actual files?).
I have working .Rmd files that contain latex syntax (rendering correctly). However, when I render using the bookdown package, I have experienced that the latex output is incorrect.
I went to check in the source (aka https://bookdown.org/yihui/bookdown/markdown-syntax.html#math-expressions) and I see that the render is not correct there either!
I see similar behavior for bookdown's preview_chapter() rendering but not for Rmarkdown knit of a toy example. I see similar behavior changing web browser.
Is this something on my end? Are there updates I need to do?
It is not an issue on your end, but a server problem (the default MathJax CDN server in bookdown was down). I just changed the server, and the problem should be gone if you
devtools::install_github('rstudio/bookdown')
I can confirm that Yihui Xie's answer is helpful. I didn't have devtools installed in RStudio, so I used:
install.packages('devtools')
After this, I duly followed Yihui's recommendation and ran:
devtools::install_github('rstudio/bookdown')
After this, the problem was solved and maths were rendered correctly in the gitbook format.
Of late, I have observed that pdf generated by latex files are unreadable in certain email browsers (when previewing the attachment in Outlook) as well as the printed hard copy especially math symbols like inner products, integral etc overlap with each other making the file ugly and unreadable. Surprisingly the same file looks perfectly fine when viewed using the ShareLatex built-in pdf browser as well as the desktop version of Adobe Reader.
ShareLatex documentation suggest switching the PDF viewer from built-in to native. Upon changing to native, even the browser version had unreadable characters.
[https://www.sharelatex.com/learn/Kb/Changing_PDF_viewer]
So, I would like to know if there is better way to compile the tex file in Sharelatex so that its readable across platforms and in print.
Most of the "pdf generation from tex" related issues posted on StackOverflow point out problems with viewing images. As such the pdf files I am generating don't contain any images.
Thanks in advance !
AFAIK there's not a single build-in PDF viewer (browser, e-mail client, ...) that works well. But what you could test is if \usepackage{lmodern} makes things better ...
I have a very long url in my bibliography that it's not broken so appears outside margins. How could I fixed id? some breakline stuff?
Thanks!
You should use the url package here, which will automatically allow linebreaks.
You mention in your comment that you are already using the package. Have a look at section 5.2, then, and allow extra linebreaks.
is there anybody out there, with experiences about how to do a gantt-diagram / chart using latex.
I tryed it for a lot of hours today, lastly it worked switching outpout from pdf to dvi.
Maybe someone can tell me what to include, besides pst-gantt, and the normal pstricks stuff.
It showed more than 100 errors for 4 Tasks.. after switching to dvi there was a big 0.
i am using the whole distribution mitex .. upgradet to the newest version. stupidly i have the error log not avaible on this computer. but it was always the same error. i was using pst-gantt, outload missing packages.. hm errors will follow tomorrow morning
Reading the pst-gantt README it looks like this depends on the pstricks package. I believe that the "ps" is for postscript and the functionality is implemented by generating DVI "special" commands; which means that you can't produce output pdf directly using pdflatex. You can get to PDF output, but you must go by way of DVI. Either source->DVI->PDF or even source->DVI->PS->PDF.
I came across this question when having trouble with pst-gantt and pdflatex. As others have pointed out you need to go via DVI, which honestly sucks if you have used pdflatex all the time.
So I did some search, and found this phantastic replacement written by Martin Krumm: http://www.martin-kumm.de/tex_gantt_package.php