Document Classes ⇒ Hyperref Colorlinks
Hyperref Colorlinks
Hello everybody,
I am trying to use the "colorlinks=true" option of "hyperref" with "pdftex"... I am getting the following error:
!Too many }'s.
\color@endbox->\color@endgroup\egroup
I looked through the "hyperref" manual and "readme" files, but could not find anything to solve this problem...
Your help is appreciated...
Thanks,
I am trying to use the "colorlinks=true" option of "hyperref" with "pdftex"... I am getting the following error:
!Too many }'s.
\color@endbox->\color@endgroup\egroup
I looked through the "hyperref" manual and "readme" files, but could not find anything to solve this problem...
Your help is appreciated...
Thanks,
If there is no way, we will make one...
Hanibal
Hanibal
NEW: TikZ book now 40% off at Amazon.com for a short time.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Hyperref Colorlinks
Please post a minimum working example (MWE) that reproduces the error and generate a list of the used files.
Copy the list of files from the LOG file and post it here, too.
Code: Select all
\listfiles
\documentclass{article}
…
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Hyperref Colorlinks
Thanks for your help...
I have attached the requested file. I am using pdftex...
Thanks again...
The Log File is the following:
I have attached the requested file. I am using pdftex...
Thanks again...
The Log File is the following:
Code: Select all
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) (format=pdflatex 2007.5.18) 18 AUG 2007 08:33
entering extended mode
\write18 enabled.
%&-line parsing enabled.
**MWE.tex
(./MWE.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, arabic, basque, bulgarian, coptic, welsh, czech, slovak, german, ng
erman, danish, esperanto, spanish, catalan, galician, estonian, farsi, finnish,
french, greek, monogreek, ancientgreek, croatian, hungarian, interlingua, ibyc
us, indonesian, icelandic, italian, latin, mongolian, dutch, norsk, polish, por
tuguese, pinyin, romanian, russian, slovenian, uppersorbian, serbian, swedish,
turkish, ukenglish, ukrainian, loaded.
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/report.cls
Document Class: report 2005/09/16 v1.4f Standard LaTeX document class
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/size12.clo
File: size12.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
)
\c@part=\count79
\c@chapter=\count80
\c@section=\count81
\c@subsection=\count82
\c@subsubsection=\count83
\c@paragraph=\count84
\c@subparagraph=\count85
\c@figure=\count86
\c@table=\count87
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/local/texlive/2007/texmf-dist/tex/latex/tools/hhline.sty
Package: hhline 1994/05/23 v2.03 Table rule package (DPC)
)
(/usr/local/texlive/2007/texmf-dist/tex/latex/subfig/subfig.sty
Package: subfig 2005/06/28 ver: 1.3 subfig package
(/usr/local/texlive/2007/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks14
)
(/usr/local/texlive/2007/texmf-dist/tex/latex/caption/caption.sty
Package: caption 2007/01/07 v3.0k Customising captions (AR)
(/usr/local/texlive/2007/texmf-dist/tex/latex/caption/caption3.sty
Package: caption3 2007/01/07 v3.0k caption3 kernel (AR)
\captionmargin=\dimen103
\captionmarginx=\dimen104
\captionwidth=\dimen105
\captionindent=\dimen106
\captionparindent=\dimen107
\captionhangindent=\dimen108
))
\c@KVtest=\count88
\sf@farskip=\skip43
\sf@captopadj=\dimen109
\sf@capskip=\skip44
\sf@nearskip=\skip45
\c@subfigure=\count89
\c@subfigure@save=\count90
\c@lofdepth=\count91
\c@subtable=\count92
\c@subtable@save=\count93
\c@lotdepth=\count94
\sf@top=\skip46
\sf@bottom=\skip47
)
(./vtthesis.sty
**************************************************************
** VT Thesis Style File, version 1.0, August 1997
** by Greg Walker
** Modified slightly by Jamil M. Renno
** Summer 2007
**************************************************************
\draft=\count95
\hour=\count96
\minute=\count97
\dow=\count98
\leap=\count99
\x=\count100
\y=\count101
) (/usr/local/texlive/2007/texmf-dist/tex/latex/natbib/natbib.sty
Package: natbib 2007/02/05 8.0 (PWD)
\bibhang=\skip48
\bibsep=\skip49
LaTeX Info: Redefining \cite on input line 602.
\c@NAT@ctr=\count102
)
(/usr/local/texlive/2007/texmf-dist/tex/latex/lettrine/lettrine.sty
File: lettrine.sty 2004/05/22 v1.6 (D. Flipo)
\c@DefaultLines=\count103
\DefaultFindent=\dimen110
\DefaultNindent=\dimen111
\DefaultSlope=\dimen112
\L@lbox=\box26
\L@tbox=\box27
\c@L@lines=\count104
\L@Pindent=\dimen113
\L@Findent=\dimen114
\L@Nindent=\dimen115
\L@lraise=\dimen116
\L@first=\dimen117
\L@next=\dimen118
\L@slope=\dimen119
\L@height=\dimen120
\LettrineWidth=\dimen121
(/usr/local/texlive/2007/texmf-dist/tex/latex/lettrine/lettrine.cfg))
(/usr/local/texlive/2007/texmf-dist/tex/latex/tools/multicol.sty
Package: multicol 2006/05/18 v1.6g multicolumn formatting (FMi)
\c@tracingmulticols=\count105
\mult@box=\box28
\multicol@leftmargin=\dimen122
\c@unbalance=\count106
\c@collectmore=\count107
\doublecol@number=\count108
\multicoltolerance=\count109
\multicolpretolerance=\count110
\full@width=\dimen123
\page@free=\dimen124
\premulticols=\dimen125
\postmulticols=\dimen126
\multicolsep=\skip50
\multicolbaselineskip=\skip51
\partial@page=\box29
\last@line=\box30
\mult@rightbox=\box31
\mult@grightbox=\box32
\mult@gfirstbox=\box33
\mult@firstbox=\box34
\@tempa=\box35
\@tempa=\box36
\@tempa=\box37
\@tempa=\box38
\@tempa=\box39
\@tempa=\box40
\@tempa=\box41
\@tempa=\box42
\@tempa=\box43
\@tempa=\box44
\@tempa=\box45
\@tempa=\box46
\@tempa=\box47
\@tempa=\box48
\@tempa=\box49
\@tempa=\box50
\@tempa=\box51
\c@columnbadness=\count111
\c@finalcolumnbadness=\count112
\last@try=\dimen127
\multicolovershoot=\dimen128
\multicolundershoot=\dimen129
\mult@nat@firstbox=\box52
\colbreak@box=\box53
)
(/usr/local/texlive/2007/texmf-dist/tex/latex/tools/enumerate.sty
Package: enumerate 1999/03/05 v3.00 enumerate extensions (DPC)
\@enLab=\toks15
)
(/usr/local/texlive/2007/texmf-dist/tex/latex/graphics/graphicx.sty
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
(/usr/local/texlive/2007/texmf-dist/tex/latex/graphics/graphics.sty
Package: graphics 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)
(/usr/local/texlive/2007/texmf-dist/tex/latex/graphics/trig.sty
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
(/usr/local/texlive/2007/texmf/tex/latex/config/graphics.cfg
File: graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
)
Package graphics Info: Driver file: pdftex.def on input line 90.
(/usr/local/texlive/2007/texmf-dist/tex/latex/pdftex-def/pdftex.def
File: pdftex.def 2007/01/08 v0.04d Graphics/color for pdfTeX
\Gread@gobject=\count113
))
\Gin@req@height=\dimen130
\Gin@req@width=\dimen131
)
(/usr/local/texlive/2007/texmf-dist/tex/latex/float/float.sty
Package: float 2001/11/08 v1.3d Float enhancements (AL)
\c@float@type=\count114
\float@exts=\toks16
\float@box=\box54
\@float@everytoks=\toks17
\@floatcapt=\box55
)
(/usr/local/texlive/2007/texmf-dist/tex/latex/multirow/multirow.sty
\bigstrutjot=\dimen132
)
(/usr/local/texlive/2007/texmf-dist/tex/latex/amsmath/amsmath.sty
Package: amsmath 2000/07/18 v2.13 AMS math features
\@mathmargin=\skip52
For additional information on amsmath, use the `?' option.
(/usr/local/texlive/2007/texmf-dist/tex/latex/amsmath/amstext.sty
Package: amstext 2000/06/29 v2.01
(/usr/local/texlive/2007/texmf-dist/tex/latex/amsmath/amsgen.sty
File: amsgen.sty 1999/11/30 v2.0
\@emptytoks=\toks18
\ex@=\dimen133
))
(/usr/local/texlive/2007/texmf-dist/tex/latex/amsmath/amsbsy.sty
Package: amsbsy 1999/11/29 v1.2d
\pmbraise@=\dimen134
)
(/usr/local/texlive/2007/texmf-dist/tex/latex/amsmath/amsopn.sty
Package: amsopn 1999/12/14 v2.01 operator names
)
\inf@bad=\count115
LaTeX Info: Redefining \frac on input line 211.
\uproot@=\count116
\leftroot@=\count117
LaTeX Info: Redefining \overline on input line 307.
\classnum@=\count118
\DOTSCASE@=\count119
LaTeX Info: Redefining \ldots on input line 379.
LaTeX Info: Redefining \dots on input line 382.
LaTeX Info: Redefining \cdots on input line 467.
\Mathstrutbox@=\box56
\strutbox@=\box57
\big@size=\dimen135
LaTeX Font Info: Redeclaring font encoding OML on input line 567.
LaTeX Font Info: Redeclaring font encoding OMS on input line 568.
\macc@depth=\count120
\c@MaxMatrixCols=\count121
\dotsspace@=\muskip10
\c@parentequation=\count122
\dspbrk@lvl=\count123
\tag@help=\toks19
\row@=\count124
\column@=\count125
\maxfields@=\count126
\andhelp@=\toks20
\eqnshift@=\dimen136
\alignsep@=\dimen137
\tagshift@=\dimen138
\tagwidth@=\dimen139
\totwidth@=\dimen140
\lineht@=\dimen141
\@envbody=\toks21
\multlinegap=\skip53
\multlinetaggap=\skip54
\mathdisplay@stack=\toks22
LaTeX Info: Redefining \[ on input line 2666.
LaTeX Info: Redefining \] on input line 2667.
)
(/usr/local/texlive/2007/texmf-dist/tex/latex/amsfonts/amssymb.sty
Package: amssymb 2002/01/22 v2.2d
(/usr/local/texlive/2007/texmf-dist/tex/latex/amsfonts/amsfonts.sty
Package: amsfonts 2001/10/25 v2.2f
\symAMSa=\mathgroup4
\symAMSb=\mathgroup5
LaTeX Font Info: Overwriting math alphabet `\mathfrak' in version `bold'
(Font) U/euf/m/n --> U/euf/b/n on input line 132.
))
(/usr/local/texlive/2007/texmf-dist/tex/latex/psnfss/palatino.sty
Package: palatino 2005/04/12 PSNFSS-v9.2a (SPQR)
)
(/usr/local/texlive/2007/texmf-dist/tex/latex/hyperref/hyperref.sty
Package: hyperref 2007/02/07 v6.75r Hypertext links for LaTeX
\@linkdim=\dimen142
\Hy@linkcounter=\count127
\Hy@pagecounter=\count128
(/usr/local/texlive/2007/texmf-dist/tex/latex/hyperref/pd1enc.def
File: pd1enc.def 2007/02/07 v6.75r Hyperref: PDFDocEncoding definition (HO)
)
(/usr/local/texlive/2007/texmf/tex/latex/config/hyperref.cfg
File: hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive
)
(/usr/local/texlive/2007/texmf-dist/tex/latex/oberdiek/kvoptions.sty
Package: kvoptions 2006/08/22 v2.4 Connects package keyval with LaTeX options (
HO)
)
Package hyperref Info: Option `pdfdisplaydoctitle' set `true' on input line 223
8.
Package hyperref Info: Option `bookmarksopen' set `false' on input line 2238.
Package hyperref Info: Option `bookmarks' set `true' on input line 2238.
Package hyperref Info: Option `colorlinks' set `true' on input line 2238.
Package hyperref Info: Option `bookmarks' set `true' on input line 2238.
Package hyperref Info: Option `pdffitwindow' set `true' on input line 2238.
Package hyperref Info: Option `pdftoolbar' set `true' on input line 2238.
Package hyperref Info: Option `pdffitwindow' set `true' on input line 2238.
Package hyperref Info: Option `pdfcenterwindow' set `true' on input line 2238.
Package hyperref Info: Option `plainpages' set `false' on input line 2238.
Package hyperref Info: Option `pdfpagelabels' set `true' on input line 2238.
Package hyperref Info: Hyper figures OFF on input line 2288.
Package hyperref Info: Link nesting OFF on input line 2293.
Package hyperref Info: Hyper index ON on input line 2296.
Package hyperref Info: Plain pages OFF on input line 2303.
Package hyperref Info: Backreferencing OFF on input line 2308.
Implicit mode ON; LaTeX internals redefined
Package hyperref Info: Bookmarks ON on input line 2444.
(/usr/local/texlive/2007/texmf-dist/tex/latex/ltxmisc/url.sty
\Urlmuskip=\muskip11
Package: url 2005/06/27 ver 3.2 Verb mode for urls, etc.
)
LaTeX Info: Redefining \url on input line 2599.
\Fld@menulength=\count129
\Field@Width=\dimen143
\Fld@charsize=\dimen144
\Choice@toks=\toks23
\Field@toks=\toks24
Package hyperref Info: Hyper figures OFF on input line 3102.
Package hyperref Info: Link nesting OFF on input line 3107.
Package hyperref Info: Hyper index ON on input line 3110.
Package hyperref Info: backreferencing OFF on input line 3117.
Package hyperref Info: Link coloring ON on input line 3120.
\Hy@abspage=\count130
\c@Item=\count131
\c@Hfootnote=\count132
)
*hyperref using driver hpdftex*
(/usr/local/texlive/2007/texmf-dist/tex/latex/hyperref/hpdftex.def
File: hpdftex.def 2007/02/07 v6.75r Hyperref driver for pdfTeX
\Fld@listcount=\count133
)
(/usr/local/texlive/2007/texmf-dist/tex/latex/oberdiek/hypcap.sty
Package: hypcap 2006/02/20 v1.5 Adjusting anchors of captions (HO)
)
(/Users/renno/Library/texmf/tex/latex/pdfsync.sty
Package: pdfsync 2004/01/31 v0.6
\PDFPOS=\write3
\PDFSYNC@folio=\count134
\PDFSYNC@rder=\count135
) (./MWE.aux)
\openout1 = `MWE.aux'.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 125.
LaTeX Font Info: ... okay on input line 125.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 125.
LaTeX Font Info: ... okay on input line 125.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 125.
LaTeX Font Info: ... okay on input line 125.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 125.
LaTeX Font Info: ... okay on input line 125.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 125.
LaTeX Font Info: ... okay on input line 125.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 125.
LaTeX Font Info: ... okay on input line 125.
LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 125.
LaTeX Font Info: ... okay on input line 125.
LaTeX Font Info: Try loading font information for OT1+ppl on input line 125.
(/usr/local/texlive/2007/texmf-dist/tex/latex/psnfss/ot1ppl.fd
File: ot1ppl.fd 2001/06/04 font definitions for OT1/ppl.
)
(/usr/local/texlive/2007/texmf-dist/tex/latex/ragged2e/ragged2e.sty
Package: ragged2e 2003/03/25 v2.04 ragged2e Package (MS)
(/usr/local/texlive/2007/texmf-dist/tex/late
- Attachments
-
- vtthesis.sty
- (35.8 KiB) Downloaded 371 times
-
- MWE.tex
- (6.8 KiB) Downloaded 354 times
-
- Hubble.pdf
- (101.9 KiB) Downloaded 328 times
If there is no way, we will make one...
Hanibal
Hanibal
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Hyperref Colorlinks
This is not what i expect to be a MWE. And your incomplete log file doesn't contain a file list generated by the \listfiles command, which should look like the following.
Search that passage in your log file and post it separately. There can be found all used files with their version number and a short description.
Code: Select all
*File List*
…
***********
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Hyperref Colorlinks
Thanks a million for your help. I apologize for the files, but I think the problem is in the style file I am using, as the hyperref produced colored links in other simple documents. The problem here is in the style file. The files list is below:
*File List*
report.cls 2005/09/16 v1.4f Standard LaTeX document class
size12.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
hhline.sty 1994/05/23 v2.03 Table rule package (DPC)
subfig.sty 2005/06/28 ver: 1.3 subfig package
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
caption.sty 2007/01/07 v3.0k Customising captions (AR)
caption3.sty 2007/01/07 v3.0k caption3 kernel (AR)
vtthesis.sty
natbib.sty 2007/02/05 8.0 (PWD)
lettrine.sty 2004/05/22 v1.6 (D. Flipo)
lettrine.cfg
multicol.sty 2006/05/18 v1.6g multicolumn formatting (FMi)
enumerate.sty 1999/03/05 v3.00 enumerate extensions (DPC)
graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
graphics.sty 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)
trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
pdftex.def 2007/01/08 v0.04d Graphics/color for pdfTeX
float.sty 2001/11/08 v1.3d Float enhancements (AL)
multirow.sty
amsmath.sty 2000/07/18 v2.13 AMS math features
amstext.sty 2000/06/29 v2.01
amsgen.sty 1999/11/30 v2.0
amsbsy.sty 1999/11/29 v1.2d
amsopn.sty 1999/12/14 v2.01 operator names
amssymb.sty 2002/01/22 v2.2d
amsfonts.sty 2001/10/25 v2.2f
palatino.sty 2005/04/12 PSNFSS-v9.2a (SPQR)
hyperref.sty 2007/02/07 v6.75r Hypertext links for LaTeX
pd1enc.def 2007/02/07 v6.75r Hyperref: PDFDocEncoding definition (HO)
hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive
kvoptions.sty 2006/08/22 v2.4 Connects package keyval with LaTeX options (HO
)
url.sty 2005/06/27 ver 3.2 Verb mode for urls, etc.
hpdftex.def 2007/02/07 v6.75r Hyperref driver for pdfTeX
hypcap.sty 2006/02/20 v1.5 Adjusting anchors of captions (HO)
pdfsync.sty 2004/01/31 v0.6
ot1ppl.fd 2001/06/04 font definitions for OT1/ppl.
ragged2e.sty 2003/03/25 v2.04 ragged2e Package (MS)
everysel.sty 1999/06/08 v1.03 EverySelectfont Package (MS)
supp-pdf.tex
nameref.sty 2006/12/27 v2.28 Cross-referencing by name of section
refcount.sty 2006/02/20 v3.0 Data extraction from references (HO)
MWE.out
MWE.out
Hubble.pdf Graphic file (type pdf)
***********
Thanks a lot for your help...
*File List*
report.cls 2005/09/16 v1.4f Standard LaTeX document class
size12.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
hhline.sty 1994/05/23 v2.03 Table rule package (DPC)
subfig.sty 2005/06/28 ver: 1.3 subfig package
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
caption.sty 2007/01/07 v3.0k Customising captions (AR)
caption3.sty 2007/01/07 v3.0k caption3 kernel (AR)
vtthesis.sty
natbib.sty 2007/02/05 8.0 (PWD)
lettrine.sty 2004/05/22 v1.6 (D. Flipo)
lettrine.cfg
multicol.sty 2006/05/18 v1.6g multicolumn formatting (FMi)
enumerate.sty 1999/03/05 v3.00 enumerate extensions (DPC)
graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
graphics.sty 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)
trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
pdftex.def 2007/01/08 v0.04d Graphics/color for pdfTeX
float.sty 2001/11/08 v1.3d Float enhancements (AL)
multirow.sty
amsmath.sty 2000/07/18 v2.13 AMS math features
amstext.sty 2000/06/29 v2.01
amsgen.sty 1999/11/30 v2.0
amsbsy.sty 1999/11/29 v1.2d
amsopn.sty 1999/12/14 v2.01 operator names
amssymb.sty 2002/01/22 v2.2d
amsfonts.sty 2001/10/25 v2.2f
palatino.sty 2005/04/12 PSNFSS-v9.2a (SPQR)
hyperref.sty 2007/02/07 v6.75r Hypertext links for LaTeX
pd1enc.def 2007/02/07 v6.75r Hyperref: PDFDocEncoding definition (HO)
hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive
kvoptions.sty 2006/08/22 v2.4 Connects package keyval with LaTeX options (HO
)
url.sty 2005/06/27 ver 3.2 Verb mode for urls, etc.
hpdftex.def 2007/02/07 v6.75r Hyperref driver for pdfTeX
hypcap.sty 2006/02/20 v1.5 Adjusting anchors of captions (HO)
pdfsync.sty 2004/01/31 v0.6
ot1ppl.fd 2001/06/04 font definitions for OT1/ppl.
ragged2e.sty 2003/03/25 v2.04 ragged2e Package (MS)
everysel.sty 1999/06/08 v1.03 EverySelectfont Package (MS)
supp-pdf.tex
nameref.sty 2006/12/27 v2.28 Cross-referencing by name of section
refcount.sty 2006/02/20 v3.0 Data extraction from references (HO)
MWE.out
MWE.out
Hubble.pdf Graphic file (type pdf)
***********
Thanks a lot for your help...
If there is no way, we will make one...
Hanibal
Hanibal
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Hyperref Colorlinks
Your MWE produces 3 errors and 2 warnings when compiled with pdflatex and so it's not a MWE for me. You better try to get things work and present it another time.
After a long search, i couldn't find out the cause for the problem. The critical code detected by the compiler seems to be correct. The main cause must be were else. So my efforts have to end here for the moment.
Code: Select all
! Too many }'s.
\color@endbox ->\color@endgroup \egroup
l.163 \end{figure}
You've closed more groups than you opened.
Such booboos are generally harmless, so keep going.
! LaTeX Error: \begin{document} ended by \end{figure}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.163 \end{figure}
Your command was ignored.
Type I <command> <return> to replace it with another command,
or <return> to continue without it.
! Extra \endgroup.
<recently read> \endgroup
l.163 \end{figure}
Things are pretty mixed up, but I think the worst is over.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Hyperref Colorlinks
Thank you for trying...
I cannot get an MWE except with using the style file I am using. I guess I will call off using colors for they hyperlinks, and keep the option "colorlinks=false"...
Thanks for your help, and I apologize for the trouble...
I cannot get an MWE except with using the style file I am using. I guess I will call off using colors for they hyperlinks, and keep the option "colorlinks=false"...
Thanks for your help, and I apologize for the trouble...
If there is no way, we will make one...
Hanibal
Hanibal
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Hyperref Colorlinks
renno wrote: […] I cannot get an MWE except with using the style file I am using. […]
Try to build a MWE with your class file. A MWE is not reduced to the standard classes. It only means that every code or package not needed for the reproduction of the error should be deleted or set as comment.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Hyperref Colorlinks
Seems you're using hyperref with natbib. Are you getting systematically urls for each bib entry in the References ? Actually myself I do. I just wanna get rid of, how could i do ?
Thanx
Thanx
Hyperref Colorlinks
I have a feeling this is related to the redefinition of floats in the style used... since I am having a very similar problem.
If I comment out the above piece of code from the sty file, I am able to compile without the endgroup problem. For some reason, however, I am not getting the link colours!!
Code: Select all
% Redefine the macro used for floats (including figures and tables)
% so that single spacing is used.
% (Note \def\figure{\@float{figure}set single spacing} doesn't work
% because figure has an optional argument)
\def\@xfloat#1[#2]{\ifhmode \@bsphack\@floatpenalty -\@Mii\else
\@floatpenalty-\@Miii\fi\def\@captype{#1}\ifinner
\@parmoderr\@floatpenalty\z@
\else\@next\@currbox\@freelist{\@tempcnta\csname ftype@#1\endcsname
\multiply\@tempcnta\@xxxii\advance\@tempcnta\sixt@@n
\@tfor \@tempa :=#2\do
{\if\@tempa h\advance\@tempcnta \@ne\fi
\if\@tempa t\advance\@tempcnta \tw@\fi
\if\@tempa b\advance\@tempcnta 4\relax\fi
\if\@tempa p\advance\@tempcnta 8\relax\fi
}\global\count\@currbox\@tempcnta}\@fltovf\fi
\global\setbox\@currbox\vbox\bgroup
\def\baselinestretch{1}\small\normalsize
\boxmaxdepth\z@
\hsize\columnwidth \@parboxrestore}