[texworks] Suggestions/questions about TeXworks 0.3r736
murdoch.duncan at gmail.com
Thu Mar 10 01:31:45 CET 2011
On 11-03-09 5:38 PM, Paul A Norman wrote:
> Dear Duncan,
> That pdf appears to have an interesting genesis, produced by R
> 2.12.2, acrobat suggests that one of the fonts has a custom encoding?
Yes, the figure is produced in R. I want to include figures like that
in LaTeX documents. When I do, I see the same font problem, but I
figured it was simpler just to give the figure itself.
> There is an earlier report on poppler doing similar things (link
> below) that point to a solution in the document generation steps - it
> appears to be that possibly a font alias mapping issue is involved
> perhaps in GhostScript if R is using that in the pdf generation work
R doesn't use GhostScript, it has its own pdf driver code. However, I
see in the documentation for that:
"On some systems the default plotting character pch = 1 is displayed in
some PDF viewers incorrectly as a "q" character. (These seem to be
viewers based on the poppler PDF rendering library). This may be due to
incorrect or incomplete mapping of font names to those used by the
system. Adding the following lines to ‘~/.fonts.conf’ or
‘/etc/fonts/local.conf’ may circumvent this problem.
(You can see the full text at
in the "Note" section.)
It gives some workarounds that generate the figure without using the
Dingbats font; they work.
Is there a way to do the equivalent of what was recommended above in
TeXworks? I don't know where to look for a .fonts.conf file or
/etc/fonts/local.conf on Windows.
> For troubleshooting purposes you could consider trying this by making
> a LaTeX file using the same font and circle character in TeXworks, and
> see if the circle sort comes out as a "q" or a circle in poppler when
> LaTeX and pdflatex produce the pdf perhaps?
> Using utf-8 -
> % !TEX TS-program = pdflatex
> % !TEX encoding = UTF-8 Unicode
> at the top of the .tex perhaps.
> On 10 March 2011 09:44, Duncan Murdoch<murdoch.duncan at gmail.com> wrote:
>> Now that I've got my forward and reverse search going, some less important
>> 1. Is there a way to automatically tile the editor and preview windows one
>> above the other? Window|Stack does what other Windows applications call
>> "Cascade", Window|Tile does "Tile horizontally", Window|Side by Side does
>> the same. The other Window menu options only move one window. Some other
>> applications have "Tile vertically" which would do what I want. (I have my
>> monitor in portrait orientation, so tiling horizontally gives me two long
>> thin windows.)
>> 2. There seems to be something wrong with the font selection in TeXworks.
>> If I open the file
>> in other previewers, I see open circles for the points. If I open it in
>> TeXworks, the points show as little q symbols.
>> Duncan Murdoch
More information about the texworks