These are chat archives for ipython/ipython

29th
Feb 2016
epifanio
@epifanio
Feb 29 2016 01:10 UTC
guys, do you know where/how to signal bugs to the github rendering system for the notebooks?
the latex rendering is actually broken, I understand that depend on github .. perhaps they need to update theyr nbviewer/nbconver based code …
but I have no idea on where to open an issue
epifanio
@epifanio
Feb 29 2016 01:25 UTC
i guess is the same issue jupyter/nbviewer#452
Min RK
@minrk
Feb 29 2016 07:31 UTC
Use GitHub support to report issues on GitHub things. I believe it's only Firefox that is affected.
epifanio
@epifanio
Feb 29 2016 08:01 UTC
the issue 452 is slightly different, I noticed a not perfect rendering also on chrome, e.g: github vs nbviewer note the vertical line at the end of each latex expression
Min RK
@minrk
Feb 29 2016 08:03 UTC
The vertical line is fixed in MathJax 2.6. They probably have it pinned to 2.5 (same as live notebook 4.1).
epifanio
@epifanio
Feb 29 2016 08:11 UTC
I see, so it is known. i’ll report here: https://github.com/contact . I’ll also add a comment about images … they are not rendered when using, in markdown, direct path to a file (eg.: png on the same repository) while it works on nbviewer. Images are render only if in urls github vs nbviewer
epifanio
@epifanio
Feb 29 2016 08:17 UTC
I sent it, the png rendering I think is important to have it fixed on their side
thejivester
@thejivester
Feb 29 2016 16:28 UTC

Hello! Can anyone tell me how can I make this python script ignore DS store files... very silly issue. I have this function, I've googled but I don't know where to put the code in my current function. Thank you!

def list_files(dir):
r = []
subdirs = [x[0] for x in os.walk(dir)]
for subdir in subdirs:
files = os.walk(subdir).next()2
if (len(files) > 0):
for file in files:
r.append(subdir + "/" + file)
return r

the_list = list_files(file_rep)

@rsvp
Feb 29 2016 17:10 UTC
@epifanio Re: how to signal bugs to the github rendering system for the notebooks? It's odd how GitHub's own issues are handled, e.g. the difficulty of even finding the internal developers for the rendering. Apparently it's closed source. So elementary stuff, e.g. italics and bold, are sometimes broken -- which makes a panda very sad.
epifanio
@epifanio
Feb 29 2016 17:32 UTC
@rsvp this the reply from customer support:
Hi epifanio,

We use open source TextMate-style language grammars for syntax highlighting, which are available here:

https://github.com/github/linguist/blob/master/grammars.yml

The fastest way to get this fixed would be to find the issue tracker for the specific grammar and open an issue or contribute a fix there.

Linguist pulls in grammar updates with each new release, which usually happens every couple of weeks. This should get fixed on GitHub.com shortly after that happens.

Regards,
I’ve been on grammars.yml but I wasn’t able to find the correct grammar file to render python-notebooks (the issue happens in markdown cells, so I don’t know where to look for it)
i replied withthe text above …