LaTeX error: `tracklang.sty' not found

784 views
Skip to first unread message

Fernando Ferreira

unread,
Jan 14, 2015, 1:06:49 PM1/14/15
to unlt...@googlegroups.com
Boa tarde,

Descarreguei o template para a minha tese de mestrado em LaTeX no seguinte link(https://github.com/joaomlourenco/unlthesis/archive/master.zip), abri a pasta Latex depois de descomprimir e executei o ficheiro “template.tex”. Não fazendo qualquer alteração ao ficheiro e correndo (F1) dá um erro “! LaTeX Error: File `tracklang.sty' not found.”. 

Gostava de saber se que me podiam auxiliar com esta questão por favor. Além disso, o ficheiro pdf que vem na pasta Latex, no capitulo Glossary tem 3 items, enquanto o ficheiro glossary.tex apenas contém 1 item que é “computer”.

Eu utilizo o software MiKTeX 2.9.

Agradeço desde já a disponibilidade e atenção para este assunto.

Com os melhores cumprimentos,
Fernando Ferreira

Joao Lourenco

unread,
Jan 14, 2015, 1:17:28 PM1/14/15
to unlt...@googlegroups.com
Boa tarde,

O ficheiro "tracklang.sty" faz parte do pacote "tracklang".  Esse pacote não é utilizado diretamente pelo pacote "unlthesis.cls".

Penso que a utilização deste pacote seja uma especificidade do MikTeX, mas é estranho… pois o MikTeX faz download automaticamente dos pacotes que necessita.

Faça um reply a este post com o ficheiro "template.log" (assumindo que não mudou o nome do ficheiro base de "template.tex") como anexo/attachment, para eu analisar.

João Lourenço

Fernando Ferreira

unread,
Jan 14, 2015, 1:29:34 PM1/14/15
to unlt...@googlegroups.com
Segue em anexo o ficheiro pedido.

Obrigado
template.log

Joao Lourenco

unread,
Jan 14, 2015, 1:45:21 PM1/14/15
to unlt...@googlegroups.com
Aparentemente é o pacto "glossaries-compatible-307.sty" que requere o "tracklang.sty", se bem que  aversão que está no TexLive não pede.

Na linha 112 do ficheiro "template.tex" deve ter
\usepackage[nonumberlist,translate=babel]{glossaries}

Imediatamente **antes** desta linha, adicione
\usepackage{tracklang}
e verifique se já funciona.

Obrigado.

Fernando Ferreira

unread,
Jan 14, 2015, 1:50:17 PM1/14/15
to unlt...@googlegroups.com
Dá o mesmo erro. Mas, agora o erro é na linha 113: \usepackage[nonumberlist,translate=babel]{glossaries}, e não na linha 819 (que nem sequer existe neste ficheiro!!!)

Joao Lourenco

unread,
Jan 14, 2015, 1:55:05 PM1/14/15
to unlt...@googlegroups.com
Huumm… o mesmo erro????
Estranho…  Acho que não deve ser exatamente o mesmo.
Faça de novo post o ficheiro "template.log", ou copie só as últimas 30 linhas (mais ou menos)

Obrigado.

Fernando Ferreira

unread,
Jan 14, 2015, 1:59:09 PM1/14/15
to unlt...@googlegroups.com
Segue em anexo.

Obrigado
template.log

Joao Lourenco

unread,
Jan 14, 2015, 2:07:22 PM1/14/15
to unlt...@googlegroups.com
O MikTeX faz download automaticamente dos ficheiros "*.sty" que necessita, mas por algum motivo não está a fazer download deste.

Sugiro que coloque o fiheiro "tracklang.sty" que envio em anexo na pasta principal (onde está o fichero "template.tex") e processe e tente de novo. 

Obrigado.
tracklang.sty

Fernando Ferreira

unread,
Jan 14, 2015, 2:13:03 PM1/14/15
to unlt...@googlegroups.com
Agora apareceu outro erro, mas na linha 46.

 LaTeX Error: File `tracklang.tex' not found.

Em anexo segue também o ficheiro template.log.

Obrigado
template.log

Joao Lourenco

unread,
Jan 14, 2015, 2:17:25 PM1/14/15
to unlt...@googlegroups.com
Vamos fazer-lhe a vontade… :)
tracklang.tex em anexo :)
tracklang.tex

Fernando Ferreira

unread,
Jan 14, 2015, 2:29:20 PM1/14/15
to unlt...@googlegroups.com
Correu e gerou o pdf sem qualquer erro :)

O capítulo "Glossary" não aparece no índice. É mesmo assim? Não há problema?

Obrigado

Joao Lourenco

unread,
Jan 14, 2015, 3:24:49 PM1/14/15
to unlt...@googlegroups.com
O Glossário não é um capítulo. :)

Já agora, experiente comentar a linha que adicionou no ficheiro "template.tex", ou seja colocar um "%" e ficar
%\usepackage{tracklang}
a ver se ainda funciona.

Obrigado.

Fernando Ferreira

unread,
Jan 14, 2015, 5:43:22 PM1/14/15
to unlt...@googlegroups.com
Funciona na mesma :) 

Obrigado.

s.t...@campus.fct.unl.pt

unread,
Dec 29, 2016, 6:47:14 PM12/29/16
to UNL Thesis
Dear João,

First of all, Merry Christmas and happy holidays!

My time has come to start writing my thesis, but I have encountered a problem right at the first step :) 

I have a similar problem as Fernardo. I have downloaded the .zip file and without any alterations tried to compile it. It gave an error that mfirstuc.sty was not found. I have downloaded it from the internet, but it gave me two different errors: one same as Fernando's first error about the tracklang.sty not found and the other one saying "LaTeX Error: \mfirstucMakeUppercase undefined." To solve the first one, I have followed the advices you gave to Fernando (after downloading your tracklang.sty it asked for tracklang.tex, which I also downloaded), but then Latex just gone crazy giving me a lot (A LOT) of different errors; and the error "LaTeX Error: \mfirstucMakeUppercase undefined." still remains. I attached the .log file in case you want to see it.

I would greatly appreciate any help you can give me! Thank you in advance.

Best regards,
Slavisa
template.log

Joao Lourenco

unread,
Dec 29, 2016, 7:14:00 PM12/29/16
to unlt...@googlegroups.com
Hi,

Assuming you are using MikTeX, the first things to do are:

1) Update your local list of MikTeX packages with the "Package manager (Admin)" application available in the MikTeX submenu. Go to "Repository" and select "Synchronize..."

2) Update your local installation of MikTeX with the "MikTeX Update (Admin)" wizard available in the MikTeX submenu.

3) Download the NOVAthesis template again and try to process it.  It should generate a PDF with no errors.

If step 3 fails, let me know.

João L.

P.S. Happy holidays for you as well.  :)

s.t...@campus.fct.unl.pt

unread,
Dec 30, 2016, 5:24:07 AM12/30/16
to UNL Thesis
Thank you very much for such a quick reply! I have done what you suggested, and I got a different error: "Missing \endcsname inserted." line 246. However, I can compile the .pdf file now. Just in case you want to see the .log file, I attached it to this message.

Thank you once again!
Slavisa
template.log

Joao Lourenco

unread,
Dec 30, 2016, 5:43:17 AM12/30/16
to UNL Thesis
Your babel version is to old.
You have to use the MikTeX Update Manager to update your MikTeX distribution.

João

Slavisa Tomic

unread,
Dec 30, 2016, 7:11:09 AM12/30/16
to Joao Lourenco, UNL Thesis
I have update the distribution as you said. Babel version is from 2016 now. However, I get a new error now saying: Option clash for package babel (line 98) and also Undefined control sequence \lipsum (line 72, 84, 10, etc.).
Slavisa

--
You received this message because you are subscribed to a topic in the Google Groups "UNL Thesis" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/unlthesis/7jRpdt_uQHg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to unlthesis+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/unlthesis.
To view this discussion on the web visit https://groups.google.com/d/msgid/unlthesis/ec540905-6363-457d-a66b-cd91e51fee3d%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

template.log

Joao Lourenco

unread,
Dec 30, 2016, 8:30:47 AM12/30/16
to UNL Thesis, joao.l...@fct.unl.pt
That means you have changed the 'template.tex' file!

Please try it WITHOUT changing anything at all.  Just download a fresh version from
and process it as is.

Let me know if it still fails.

J.L.

Slavisa Tomic

unread,
Dec 30, 2016, 9:06:44 AM12/30/16
to Joao Lourenco, UNL Thesis
I didn't, but never mind... I have unistalled Miktex and reinstall it again. Then I downloaded a fresh version of the template (the whole .zip file). When I tried to compile the first time, it gave me an error "mfirstuc.sty not found". I have then gone to package manager/repository and synchronized the packages. It now gives me again the error "Missing \endcsname inserted." (line 246) and "Undefined control sequence.\user@sh@"@-@->\babelhyphen{repeat} ...zzzz zzz zzzz zzz...".
Slavisa

template.log

Slavisa Tomic

unread,
Dec 30, 2016, 9:19:46 AM12/30/16
to Joao Lourenco, UNL Thesis
Can you please send me your babel.sty file?
Slavisa

Joao Lourenco

unread,
Dec 30, 2016, 11:02:38 AM12/30/16
to UNL Thesis, joao.l...@fct.unl.pt
babel is not a single sty file.   You can find it on CTAN.ORG.  But IMHO that is not the way to go…   The template is working with a correct and updated installation of MikTeX or any other LaTeX installation.  

You say you reinstalled MikTeX.  Did you run the update program again?  You have to do it…

Your problem is not in the template.  Is in the outdated version of the packages.  Learn to update them in the proper way and you won't have problems again.

J.L.

Slavisa Tomic

unread,
Dec 30, 2016, 11:55:48 AM12/30/16
to Joao Lourenco, UNL Thesis
Thank you for all your help João! In the end the problem was with the babel package as you said. I uninstalled it (again) and installed it again, but I changed the package repository (from the Internet), and that did the trick.
Slavisa

Joao Lourenco

unread,
Dec 30, 2016, 12:29:51 PM12/30/16
to UNL Thesis, joao.l...@fct.unl.pt
Great!! Another happy costumer!  :)

Happy 2017 fir you.

Cheers.
Reply all
Reply to author
Forward
0 new messages