Hot answers tagged

19

Here's my method, on Windows. Your mileage may vary: Nothing against it, but I use the "appropriate" document class rather than standalone. I open the result in my PDF reader, at 100% I take a screen shot (usually a subrectangle of the whole window), using MWSNAP, and save it (automatically) as a .png for uploading When, occasionally, the output is ...


17

The suggested method works on Linux with X11. Here we go: For recording, FFmpeg is used, xwininfo for getting the window dimensions including the window handle and some Perl to process the information from xwininfo output. The following script is invoked as: ffmpegWinCast.sh <my_window_recording>.(gif|mp4|mpg|...) After clicking an application ...


17

My method, on Mac OS X. Sometimes I use \usepackage[convert,border=2]{standalone}, which requires pdflatex --shell-escape and that ImageMagick is installed (it is if one has a full MacTeX distribution). This has a limitation, because not everything can be obtained just as if a real class were used. So most of the times I compile the document with the ...


15

Hopefully my answer below is still useful for you and others, especially for Windows users. Theory Once you have had a PDF output, you need to convert it to PNG by using the following batch file named pdf2png.bat. It is convenient to register the batch path to the system variable. rem pdf2png.bat echo off rem %1 PDF filename without extension rem %2 ...


15

This seems status-by-design with IMGUR. That is when the size of the image reaches some threshold, conversion to JPG is automatically initiated. The threshold seem to be around 1MB. Here is an external reference to a discussion on one of IMGUR's forums: PNG file changes to JPG when uploaded Posted by Kiana Gordon, updated Jan 28, 2012 I'm trying to upload a ...


14

The easiest solution I've found involves using the pdfpages package: Compile the MWE into a pdf. pdfpages allows "Several logical pages [to] be arranged onto each sheet of paper", like so: \documentclass{article} \usepackage{nopageno} \usepackage{pdfpages} \begin{document} \includepdf[nup=4x4,pages={1-16},frame=true]{<filename>.pdf} \end{document} ...


13

Every site from the StackExchange network has a mobile version. And that includes our beloved community as well. :) According to the Powers That Be: If we detect a whitelisted mobile device user agent, you will automatically receive an optimized mobile view of any Stack Exchange on your smartphone. And also: Please note, however, that if you do find ...


12

I made myself a seperate command-line tool pdlcrop. It's form in bash is as follows: #!/bin/bash pdflatex $1 && pdfcrop -margin 6 ${1%.tex}.pdf && mv ${1%.tex}-crop.pdf ${1%.tex}.pdf && convert -density 300 ${1%.tex}.pdf ${1%.tex}.png && cp ${1%.tex}.png ~/crop.png This works as follows: (1) run pdflatex, (2) crop the ...


12

What changed is that we started using imgur thumbnails by default in chat; so when you link to http://i.stack.imgur.com/iSQFI.png, we display http://i.stack.imgur.com/iSQFIm.png, but link to the original: <a rel="nofollow" href="//i.stack.imgur.com/DmZBd.png"> <img src="//i.stack.imgur.com/DmZBdm.png" class="user-image" alt="user image"> <...


9

I think you should paste the contents of the pdf_tex file into your question. Then all the necessary info will be in the question itself, which is better than relying on external sites, in my opinion. Note also that if you upload a PDF as an image to the post, it will be converted to PNG, I don't think the original PDF is saved.


8

I'm not a lawyer, and copyright laws differ from country to country, but in the U.S., copyright does not need to be asserted: it exists the moment you produce the work. So in reality there is no such thing as "unknown copyright"; the safest assumption is that it belongs to the author or has been transferred to someone else. That said, it seems to me that ...


8

Windows Vista and higher comes shipped with a Snipping Tool that allows you to copy any part of the screen to the clipboard and then paste it using the updated Stack Exchange image insertion protocol using Ctrl+G; formerly you could not copy-and-paste. This is a step up from using PrnScr that captures the entire screen to the clipboard, which then requires ...


8

Thanks for sharing! I can definitely see such recordings being helpful in some situations, but I want to add a caveat: Videos should only illustrate textual descriptions, but not replace them because of accessibility for users with impaired reading skills or devices that don't display images/animated gifs, and printing (or you have to provide an elaborate ...


8

Finally! It seems that the Imgur system, which is now used for the "Uploaded picture" option in your profile page (see this link), does not support .png with an alpha channel. Every time I've tried to upload one, it was rendered with a white background on TeX.SE: I was misled by this 2008 discussion about Gravatar's discontinued support for .png with an ...


8

In TeXmaker Cross-platform Editor, Starting from Version 3.4 It is easily possible to export a .png image from the internal pdf viewer with simple right click on the current .pdf page. Screenshot for .png preparation from .pdf using TeXmaker: Zoom your browser to see closer to code


7

I suspect the poor resolution you are talking about might be poor antialiasing. This is the convert one-liner you want: convert -density 384 mwe.pdf -resize 25% mwe.png Explanation Standard monitor resolution is 96 dots per inch, so simply sampling the pdf at 96 dpi produces a PNG image equal in size to PDF image on your screen. # this looks ugly convert ...


7

There doesn't exist a native way of doing that on the network. However, as already mentioned in Schrödinger's cat's answer, you can use the image search option with Google, targeting this site via site:tex.stackexchange.com Note though that this may only be valuable in select instances where posters did use images. Some threads only post an image in the ...


6

True, comments provide only a limited set of markdown features (actually referred to as mini-markdown) with no convenient image-inclusion technique. The only way is to insert the image using the way described in how can i upload an image to be included in a question or answer? (that is, in the "Your Answer" box press Ctrl+G or via the GUI), copy the link ...


6

ShareX Tool This tool allows you to quickly capture portions of your screen, automatically uploads the screenshot to imgur.com, then automatically copies the imgur link to your clipboard. All you need to do is press CTRL+V wherever you need it. Personally, made the hotkeys such that... CTRL+SHIFT+Z: Capture of piece of the screen. ALT+PRTSC: Capture the ...


6

[Answered from my iPad] A shorter workflow is to submit screenshots rather than the actual pictures. You take a screenshot by pressing the "home" and "power" buttons simultaneously. The screenshot automatically goes to the camera roll, which can be directly accessed from Safari--it's the only thing you can get to from a conventional "upload" menu. The ...


6

As of now, Stack Exchange only provides image uploader on all sites using Imgur's service. While some SE sites got their customization like Code Snippet (SO, etc), MathJax (Mathematics.SE, etc), embedded YouTube video (SciFi.SE, etc), ABC notation (Music.SE)... but PDF uploader is not one of them. The community of Blender.SE provides an unofficial way to ...


5

Flatten the image by taking a screen capture of the content; Paste it in an image editor; Crop to size; Upload This would be the direct/I-have-access-to-an-image-editor way. However, ... The StackExchange image hosting service IMGUR also allows "online cropping of images". Flatten the image by taking a screen capture of the content; Visit IMGUR and click ...


5

Nope. There is no caching being done (in a reasonable amount of time) by the system. Any and all images not hosted by StackExchange's (paid) imgur account are susceptible to breaking. It should be noted, however, that upon inserting links through the button interface of a q/a, the image is re-hosted immediately. I suppose a fair way to do this would be ...


5

The Firefox plugin LightShot offers a similar functionality with the exception that it uses Prntscr.com for uploading and you can edit online. You can also share in Twitter, Facebook (why I don't know). One function I find often useful is to look for similar images on Google (the right top button).


4

This has been fixed for about a month now, working on WebKit-based browsers.


4

To second Torbjørn: It is strongly preferred to include content of your TeX file into your question. But in almost all cases you should reduce the code to the absolutely necessary parts. This is called a minimal working example or short MWE. We have an own meta question here (see I've just been asked to write a minimal example, what is that?), and you ...


4

ShareX Tool This tool allows you to quickly capture portions of your screen, automatically uploads the screenshot to imgur.com, then automatically copies the imgur link to your clipboard. All you need to do is press CTRL+V wherever you need it. Personally, made the hotkeys such that... CTRL+SHIFT+Z: Capture of piece of the screen. ALT+PRTSC: Capture the ...


4

On a Mac, the quickest way I know is to use Command ⌘-SHIFT-4 which gives you a target like cursor and selecting the two opposite corners of a rectangle will grab the image within that rectangle. This will creae a file named Screen shot 2013-07-08 at 6.36.53 PM.png on the Desktop with the current time stamp.


4

On Ubuntu 12.04 LTS the fastest way would be to use screenshot app and/or shutter that can be accessed from Dash Home as shown in screenshot below


Only top voted, non community-wiki answers of a minimum length are eligible