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.
Related
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.
I have stumbled across an error in my Latex File. Currently I have a link on every page which leads to the directory of my Latex project. I haven't set this link though and I want it to disappear. It is also visible when I download the PDF.
Okay i fixed it but its very embarrassing ... Accidently the link was put into the header of the pages. I don't know how that happened but I solved the error
I am trying to attach a .condarc file to my Latex journal as an installation guide. I want users for my workshop to click on a hyperlink and be able to save/download the file. Is this possible through Latex in general? What about on Overleaf?
I've looked all over the place, however there seem to only be file specific packages.
I tried using the embedfile and attachfile packages. Here's an example of what I did:
\usepackage{embedfile}
\embedfile[
desc={Source of Package 'embedfile'}
]{.condarc }
I did the above because I thought the first step is to get the file embedded somewhere, anywhere. Then I could reference the file in later steps.
Thank you for any guidance!
If you use a pdf viewer that supports attachments (e.g. adobe reader) the following example using the attachfile package will attach the .codarc file to the pdf and produce a text link that will prompt the user for future action:
\documentclass{article}
\usepackage{attachfile}
\begin{document}
test \textattachfile[color=1 0 0]{.codarc}{.codarc}
\end{document}
(please be aware that even if a pdf viewer might be technically equipped to open such embedded files, users may have this feature disabled due to security concerns)
Instead of attaching the file, one could also host it somewhere on the internet and put a link into the pdf. This will work for a much larger variety of pdf viewers.
\documentclass{article}
\usepackage{hyperref}
\begin{document}
test
\href{https://raw.githubusercontent.com/samcarter/tikzducks/master/LICENSE.txt}{LICENSE.txt}
\end{document}
I created a file using TeXstudio, I have lots of comments in the document. I want publish the document one version with the comments and the other without it. Is three a way to put on and off comments when publishing a PDF file in LaTEX?
I think, you mean the comments by you as todo notes. If so, you can do use
%\usepackage[]{todonotes}
\usepackage[disable]{todonotes}
to disable comments and use
\usepackage[]{todonotes}
%\usepackage[disable]{todonotes}
to get the comments in the pdf.
Alternatively, you can use if statements around the comments. But personally, I prefer the former.
I'm working on my first symfony project (it's great !), i am using the sfWidgetFormTextareaTinyMCE widget for a form in the backend (to display the WYSIWYG).
It works fine, but at the frontend, instead of showing me the formated text, i have the strong,p,... tags in the text.
Same if i paste a youtube code for example.
Does someone knows how i could solve this issue ?
Thanks in advance.
Julien
so these strongs and p's... did you create them in WYSIWYG mode on the back end or did you try and paste actual code into the editor? To cut and paste code you need to be in source mode. Other wise you need to use the controls for bold on the tool bar and and line breaks for the p's.
If you used source mode, make sure strong and p are configured to be allowed by tinyMCE - i thought they were by default, but maybe not.
Thank's for your answer.
Actually i justed used the $object->getRaw()->getValue() method instead of $object->getValue() and i got the "raw" result.
In fact it was properly saved in the database, i just didn't knew how to avoid the auto escaping.