Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

last hour of cb

by Tanktalus (Canon)
on Jan 26, 2007 at 20:59 UTC ( #596792=document: print w/replies, xml ) Need Help??

Updates more-or-less every 5 minutes (except when there is no activity). Extracted from Tanktalus' CB Stats' database. Feedback
Shows the last hour or so, but never more than will fit in 64k, nor over two hours. Other sources of cb history
Last update: Jul 30, 2021 at 14:10 UTC
[erix]Anyone Tex/Lyx knowledgable?
[erix]I am using LyX and want to display code block in something like Courier (or Typewriter)
[erix]But rhe produced text as produced in (for instance) pdf displays these curious double-quotes that are different when opening doublequotes or closing double-quotes
[erix](I want it to make it easy to copy & paste from the document, and this quoting-stuff fucks it up)
[erix]So: looks quite nice, but the copy-paste is kaputt
[choroba]How do you format the code block?
[choroba]I don't know Lyx much, but it should support verbatim
[erix]I've just chosen the 'Typewriter' 'Text style'
[Corion]\verbatim ?
[erix]I'll look up verbatim; one can insert literal TeX code so perhaps that will work
[Corion]erix: Try it using a \begin{verbatim} section
[Corion]\begin{verbatim} ... \end{verbatim} - it's mostly like <pre> tags
[choroba]There might be some fancy "code" packages, but I usually just used the verbatim env when inserting code.
[aitap]The problem could be in the mapping from Computer Modern font to Unicode code points in the PDF file: LaTeX faithfully represents the quotes, but then they are mapped to U+2018 instead of '. Perhaps the https://ctan.org/pkg/upquote could help.
[erix]the verbatim trick worked nicely, thanks all!
[erix]and the CTAN package might be a good idea too (to get the Typewriter quoting 'working')
[marto]good afternoon all
[choroba]Hi marto!
[erix]buona serata

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2021-07-30 21:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?