forked from DustVoice/dotfiles
49 lines
5.7 KiB
Text
49 lines
5.7 KiB
Text
|
2020-05-17 11:59:51 --> dustvoice (~dustvoice@200116b82055020098f1e36c648e2070.dip.versatel-1u1.de) has joined #latex
|
||
|
2020-05-17 11:59:51 -- Topic for #latex is "Please provide a minimal working example | FAQ: http://texfaq.org | Ask donald-bot about ,,lshort | For previews, ask donald-bot about ,,texbot | listings package for source code. Due to spam only registered users can speak"
|
||
|
2020-05-17 11:59:51 -- Topic set by mh_le (~Mads@unaffiliated/mhle/x-0173978) on Thu, 27 Feb 2020 19:38:49
|
||
|
2020-05-17 11:59:51 -- Channel #latex: 268 nicks (1 op, 0 voices, 267 normals)
|
||
|
2020-05-17 11:59:51 -- PvNotice(ChanServ): Hi and Welcome to #LaTeX! Before you ask, please read the FAQ at http://faq.tug.org and the documentation at http://www.tug.org/begin.html
|
||
|
2020-05-17 11:59:53 -- Channel created on Sun, 26 Nov 2006 07:42:42
|
||
|
2020-05-17 12:08:15 dustvoice Hope this is the right place to ask. I'm currently pretty happy with my latex document but one thing is really annoying me and I can't seem to find a solution on the internet. \texttt, as well as \mintedinline don't seem to do linebreaks correctly. The generated PDF can be found under https://git.dustvoice.de/DustVoice/DustArch/raw/branch/master/latex/Documentation.pdf. On page 26 an example of a
|
||
|
2020-05-17 12:08:15 dustvoice non occuring but needed linebreak in \mintedinline can be seen, on page 27 an example for \texttt. The source code can be found under https://git.dustvoice.de/DustVoice/DustArch/src/branch/master/latex/Documentation.tex with the page 26 example being on line 739 and the page 27 one on line 757. I would love to resolve this last issue I can't seem to get working. I am compiling using xelatex. Thanks
|
||
|
2020-05-17 12:08:15 dustvoice in advace
|
||
|
2020-05-17 12:08:51 dustvoice EDIT: Sorry its \mintinline not \mintedinline
|
||
|
2020-05-17 12:16:45 hrnz btw I use arch
|
||
|
2020-05-17 12:19:03 hrnz anyway, font selection does not change hyphenation, but I wouldn't know how to hyphenate /usr/share/zoneinfo either
|
||
|
2020-05-17 12:19:22 hrnz I don't know whether \mintinline is breakable but it's probably in the manual
|
||
|
2020-05-17 12:20:39 hrnz you can propose possible hyphenation points like this: /usr/\-share/\-zone\-info
|
||
|
2020-05-17 12:20:45 hrnz but seriously, don't break that.
|
||
|
2020-05-17 12:24:52 dustvoice Yeah thought about that too, but would it be possible somehow, to make latex put 'too long' texttt lines on the next line or smth?
|
||
|
2020-05-17 12:24:55 <-- Logical-Boysenbe (~Thunderbi@net-2-37-185-98.cust.vodafonedsl.it) has quit (Quit: Logical-Boysenbe)
|
||
|
2020-05-17 12:25:24 dustvoice Cause if I have to handle all those things manually, I feel more like working in Word than LaTeX
|
||
|
2020-05-17 12:27:03 dustvoice I also tried enabling an option of the 'hyphenat' package, but it just lead to a situation where half of the texttt worked like intended and the other half didn't
|
||
|
2020-05-17 12:27:12 dustvoice Thanks btw for the fast response
|
||
|
2020-05-17 12:27:40 hrnz \texttt just sets its argument in the tt font.
|
||
|
2020-05-17 12:28:35 dustvoice ah I see. Well how would one resolve such an issue in the LaTeX world ':)
|
||
|
2020-05-17 12:28:51 dustvoice Hyphenation really does seem to be a bad idea
|
||
|
2020-05-17 12:29:11 dustvoice but I don't know if a linebreak before such a long texttt would make sense either
|
||
|
2020-05-17 12:29:58 dustvoice In addition to it not being automatic. Or is there a way to make LaTeX break before the texttt automatically if it's "too long"
|
||
|
2020-05-17 12:30:16 dustvoice I'm lost x_X
|
||
|
2020-05-17 12:33:44 dustvoice Yeah I understand it now. Wouldn't work either if it wasn'
|
||
|
2020-05-17 12:33:48 dustvoice t in tt fon
|
||
|
2020-05-17 12:33:53 dustvoice *font
|
||
|
2020-05-17 12:35:05 dustvoice But the question still stands as to how one would normally resolve such an issue. Linebreak before the non-hyphenatable word would still be the most reasonable way to do it in my opinion, but I might be completely wrong...
|
||
|
2020-05-17 12:41:12 --> linux_dream (~isaac@unaffiliated/linux-dream/x-5839402) has joined #latex
|
||
|
2020-05-17 12:46:32 <-- sagax (~sagax_nb@213.138.71.146) has quit (Remote host closed the connection)
|
||
|
2020-05-17 12:48:24 --> greedom (~greedom@2001:16b8:2e72:df00:add6:6775:6cee:d440) has joined #latex
|
||
|
2020-05-17 12:59:50 dustvoice Alright so I tried using \allowbreak{} to allow a linebreak to occur within /usr/share/zoneinfo (/usr/\allowbreak{}share/\allowbreak{}zoneinfo) and it works ... kind of ... Cause one line below it, it looks ugly af. It breaks the word, but so "late" that it still overfills the line
|
||
|
2020-05-17 13:00:49 dustvoice See https://git.dustvoice.de/DustVoice/DustArch/raw/branch/master/latex/Documentation.pdf page 27 for the problem again.
|
||
|
2020-05-17 13:01:41 dustvoice And https://git.dustvoice.de/DustVoice/DustArch/src/branch/master/latex/Documentation.tex line 754 for the source
|
||
|
2020-05-17 13:01:55 dustvoice Thanks again for the help. Really appreciate it
|
||
|
2020-05-17 13:54:47 <-- jkwnki (~jkwnki@p200300CD472B60001E1BB5FFFE7A47F7.dip0.t-ipconnect.de) has quit (Ping timeout: 260 seconds)
|
||
|
2020-05-17 14:01:09 --> barteks2x (~barteks2x@c137-123.icpnet.pl) has joined #latex
|
||
|
2020-05-17 14:01:15 <-- linux_dream (~isaac@unaffiliated/linux-dream/x-5839402) has quit (Quit: WeeChat 2.8)
|
||
|
2020-05-17 14:03:12 <-- aliss (~ypm@238.red-88-22-57.staticip.rima-tde.net) has quit (Quit: WeeChat 2.8)
|
||
|
2020-05-17 14:03:41 --> aliss (~ypm@238.red-88-22-57.staticip.rima-tde.net) has joined #latex
|
||
|
2020-05-17 14:52:27 dustvoice exit
|
||
|
2020-05-17 14:52:32 dustvoice oops
|
||
|
2020-05-17 14:52:37 dustvoice \leave
|
||
|
2020-05-17 14:53:21 --> jkwnki (~jkwnki@p200300CD472B60001E1BB5FFFE7A47F7.dip0.t-ipconnect.de) has joined #latex
|
||
|
2020-05-17 14:53:27 <-- dustvoice (~dustvoice@200116b82055020098f1e36c648e2070.dip.versatel-1u1.de) has left #latex ("WeeChat 2.8")
|
||
|
2020-05-17 14:53:31 -- irc: disconnected from server
|