| <<<Back 1 day (to 2014/11/11) | 20141112 |
andre___ | I feel stupid for asking this, but I am unable to find a solution online it seems | 10:41.33 |
| Is there any way to display the pdf index with mupdf? | 10:42.03 |
tor8 | define "pdf index" | 10:42.17 |
andre___ | (I am about to, because I noticed it is not clear :{ ) | 10:42.31 |
| It seems I am "only" (I love this feature) able to set my own bookmarks. Many pdfs have preset bookmarks for each chapter and with other pdf viewers I am able to see an index of all these bookmarks. Evince shows this bookmark index in a sidebar, for example. | 10:44.04 |
tor8 | ah, you mean the outline | 10:44.20 |
andre___ | Ah, yes | 10:44.25 |
| Outline is the word I was missing here :) | 10:44.36 |
tor8 | the linux and win32 viewers don't support showing the outline | 10:44.46 |
| I'm sitting on a rewrite of those viewers that has outline support, but that rewrite is still missing basic features like search and text selection and copying | 10:45.14 |
andre___ | Ah | 10:45.24 |
| Can you explain why it is not supported in short? And is there a way I might help? | 10:46.12 |
tor8 | it needs a scroll bar, and the linux/win32 viewers are bare to the metal no-UI viewers so that just hasn't been implemented | 10:46.55 |
andre___ | Ok, I see, it is a simple matter of "has yet to be implemented" | 10:47.20 |
tor8 | there's a "glut" branch on my private repo, which has the new in-progress linux viewer | 10:47.55 |
| http://git.ghostscript.com/?p=user/tor/mupdf.git;a=shortlog;h=refs/heads/glut | 10:47.57 |
| and there's a more full-featuren Qt-based viewer in the works as well | 10:48.16 |
andre___ | So you are a developer of the team, I assume? | 10:48.29 |
| And also thanks for all the information | 10:48.36 |
tor8 | I am the main developer of MuPDF, but I'm not the main UI guy. | 10:48.48 |
| I tend to leave UI programming to other people; but I did write the original linux/win32 viewer, which is why it's got such a basic interface | 10:49.22 |
andre___ | Ah ok, then I want to state that I appreciate your work very much. mupdf is the only pdf viewer without a single dislike from my side. Thank you for all your efforts | 10:49.36 |
tor8 | glad to be of service! | 10:49.55 |
andre___ | ;) | 10:49.58 |
| is there any guestimate for the qt-version? | 10:50.23 |
tor8 | if you can live without search and copy/paste, give the glut branch a spin | 10:50.30 |
| andre___: sorry, no. it's a branch I haven't had the time to look at recently. | 10:50.51 |
andre___ | ok, no problem | 10:51.07 |
| without search as in the "/" text search function? | 10:51.22 |
tor8 | https://github.com/fredrossperry/mupdf/ it's available there if you want to try it | 10:51.25 |
| andre___: yeah. | 10:51.28 |
| that's next on my TODO list, but I haven't worked on that branch for 2 months and don't anticipate to doing so again before christmas | 10:51.48 |
andre___ | I will give it a spin for sure, maybe I can find ways to support you guys | 10:52.03 |
| I am only a C developer though, not a UI guy | 10:52.22 |
Oddmonger | hello, i'm using mupdf (without zathura) and i wonder if it's possible to display TOC when viewing pdf | 14:41.58 |
| according to old documentations found on internet, it's the 'C' key. According to the the manpage, it's ⦠nothing | 14:42.27 |
kens | By TOC you mean the PDF outline ? | 14:42.34 |
Oddmonger | the «table of content» you can have in some pdf | 14:42.51 |
kens | It sounds like you mean the outline, what OS are you on ? | 14:43.18 |
Oddmonger | arch linux, with mupdf 1.6 | 14:43.35 |
kens | Hmm, well I thought that should work. I know that it doesn't work on Android | 14:43.52 |
| Drat, I only have mudraw built at the moment | 14:44.49 |
| Well, as far as I can see there is no current support for viewing the outline, but maybe tor8 can tell you more. | 14:47.23 |
Oddmonger | thank you for the check | 14:47.53 |
Robin_Watts | ios certainly has an option to show the outline. | 14:53.44 |
kens | What's the key binding ? | 14:53.53 |
| Its not listed in the WIndows help as far as I can see | 14:54.08 |
Robin_Watts | no key binding for ios :) | 14:54.39 |
kens | Ah | 14:54.45 |
Robin_Watts | the normal browser doesn't have the option. | 14:54.52 |
| not sure about android. | 14:54.58 |
marcosw | henrys: you updated XCode on your macpro and now whenever the cluster runs svn it returns an error: Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo. | 14:55.14 |
kens | I htink I saw a comment from tor saying Android didn't have it. Mind you I also thought he said that about ios too | 14:55.20 |
Robin_Watts | Android does do it. | 14:55.24 |
marcosw | could you run "sudo svn log" or any other svn command? | 14:55.29 |
Robin_Watts | The third icon in the top bar does it. | 14:55.50 |
kens | Oooh, on the WINdows viewer c changes the background colour O.O | 14:56.03 |
henrys | watching this comet landing - amazing | 14:58.15 |
| alright svn ... | 14:58.28 |
kens | The Reg has a live feed | 14:58.28 |
Robin_Watts | kens: URL? | 15:00.23 |
kens | http://www.theregister.co.uk/2014/11/12/watch_philae_land_on_comet/ | 15:00.33 |
| Its kind of dull at the moment | 15:00.39 |
Robin_Watts | Same feed as the bbc, but lower res | 15:01.06 |
kens | :-) | 15:01.10 |
Robin_Watts | http://www.bbc.co.uk/news/live/science-environment-29985988 | 15:01.31 |
henrys | apparently it has some kind of legs that can attach it... very little gravity to keep it there. | 15:02.22 |
kens | ice screws | 15:02.30 |
| But he cold gas thruster is buggered | 15:02.39 |
henrys | marcosw: try it now | 15:06.37 |
Robin_Watts | let me know when there is anything worth watching on the video feed. | 15:09.01 |
kens | thinks maybe 45 minutes or so | 15:09.25 |
Robin_Watts | http://www.xkcd.com/ | 15:09.37 |
kens | Seen it :-) | 15:09.45 |
henrys | they'll probably nudge it onto a collision course with earth | 15:12.35 |
| marcosw: are you good? | 15:19.58 |
| landing is scheduled for 16:00 | 15:31.05 |
kens | approximately | 15:31.17 |
| THe presenter just said it could take up to 45 minutes, they're going to a live feed shortly | 15:31.36 |
| OMG Kirk just turned up.... | 15:32.28 |
| The feed just moved to the control room, nominal landing time is about 34 minutes | 15:36.19 |
jogux | wow, I've so not been paying close attention. I'd somehow assumed this was a NASA mission. | 15:39.18 |
kens | ROFL | 15:39.28 |
Robin_Watts | xkcd just updated. | 15:40.08 |
kens | I se.... | 15:40.31 |
tor8 | kens: Oddmonger: the linux and win32 viewer doesn't support viewing the outline | 15:41.18 |
kens | Oh well, there you are then | 15:41.31 |
tor8 | kens: second time I get the question here today :) | 15:41.43 |
kens | I thought I';d seen the question | 15:41.53 |
tor8 | kens: there's an in-progress rewrite of the basic linux/win32 viewer that does support showing the outline | 15:41.59 |
kens | should have checked the logs | 15:42.02 |
tor8 | but that in-progress rewrite doesn't have search and text selection and copying yet | 15:42.13 |
| I was hoping to have that done by christmas, but then this EPUB project came along :) | 15:42.48 |
| and now I'm trying to figure out how to do page breaking with the CSS box model | 15:43.12 |
lilltiger | Hi, I am using GS to convert .eps and .ai files to PDF, but for some files the color becomes all wrong, and from googling it says that this issue was resolved in 2012, but in my gs version from 2014 it still happens | 15:43.44 |
| gs -sDEVICE=ps2write -dNOCACHE -sOutputFile=- -q -dbatch -dNOPAUSE -dQUIET '{$dir}/{$name}_tmp.pdf' -c quit | ps2pdf - '{$dir}/{$name}_nofont.pdf' | 15:46.28 |
| that is the line i am using, could it be ps2pdf that is messing up? | 15:46.45 |
kens | I suggest you open a bug report as we'll need to see the PDF file, also fill in all the $variables with actual values | 15:47.03 |
lilltiger | or do I need to give some extram param to gs to ensure rgb colors? | 15:47.12 |
kens | You are not converting to PDF there, but to PostScript | 15:47.27 |
Robin_Watts | kens: He's converting first to ps, then piping through ps2pdf. | 15:48.18 |
kens | WHy are you converting to PS and then to PDF ? | 15:48.24 |
Robin_Watts | So, I think, basically "WTF?" | 15:48.30 |
kens | I just spotted that also | 15:48.43 |
Robin_Watts | lilltiger: gs -sDEVICE=pdfwrite -dNOCACHE -o out.pdf in.pdf | 15:49.02 |
lilltiger | well, it was the way i found on a blog for how to vectorize text, maybe i should not send it to ps2pdf? | 15:49.16 |
kens | Ah, cargo cult programming at its best | 15:49.31 |
| No you shodl not send it to ps2write, tehre is no point | 15:49.44 |
lilltiger | ok, so pdfwrite will also vectorize the embedded fonts? | 15:50.05 |
kens | ps2write and pdfwrite are essentially the same device | 15:50.23 |
lilltiger | ok, testing it | 15:50.40 |
kens | While there are (obviously) some differences they behave in essentially the same way | 15:50.45 |
| Note that you don't really want to use -dNOCACHE | 15:51.05 |
| Because that is not reliable | 15:51.12 |
| THe latest code has a defined method for including text as paths. | 15:51.26 |
| Ah here we go -dNoOutputFonts | 15:52.00 |
| THat was added in July, so you will need to use 9.15 to use that feature | 15:52.50 |
| -dNOCACHE worked with *pswrite*, it did not work with *ps2write* (for small values of 'work) | 15:54.23 |
lilltiger | ohh, and i have 9.14 so i need to upgrade before dNoOutputFonts will work | 15:55.14 |
| checking the repo | 15:55.17 |
Oddmonger | tor8: ok, now i can stop searching at least :) | 15:55.51 |
kens | xkcd.com just changed | 16:01.37 |
| WEell they seem very happy | 16:03.57 |
| I'm guessing that's good news | 16:04.06 |
| Seems like it has landed | 16:08.53 |
| Landed and tehy have telemetry | 16:09.35 |
lilltiger | ohh, kens left :/ | 17:13.50 |
Robin_Watts | lilltiger: Yes. Did you have a problem? | 17:15.00 |
lilltiger | Robin_Watts: I had, but his advince solved it all, so I just wanted to say thanks | 17:15.32 |
Robin_Watts | Ok, he'll read the logs when he arrives tomorrow, so consider him thanked. | 17:15.50 |
| And thank you, on his behalf, for letting us know that it worked. | 17:16.01 |
| http://xkcd1446.org/ | 18:22.10 |
| Forward 1 day (to 2014/11/13)>>> | |