TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using xelatex.exe and need to iterate through the list of fonts installed on my Windows 7 machine. The following code is not complete because I have no idea what is the name that contains the list.



\renewcommand\<what should I put here>[<what should I put here>]{%
\input{<what should I put here>.def}


    I can find a tool to convert PDF to EPS
    in my neither bathroom nor kitchen.\par




How to iterate through the list of installed fonts?

share|improve this question

I think you will have to get the list externally, e.g. with fc-list : file, and then process it. With lualatex you can read otfl-names.lua, see e.g. Lualatex: Font table with examples.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.