Risposte nei forum create
-
AutoreRisposte
-
::
ciao grazie per la pazienza, l’errore che mi da é che non trova le immagini
l’errore non potrebbe essere qui??\newcommand{\imgloc}{\begingroup\catcode`\_=12 \doimgloc}
`************** SUMMARY ************** :
line 61 -> ! Undefined control sequence. \imgloc
line 61 -> ! Missing $ inserted. \imgloc{FOND_
line 61 -> ! Extra }, or forgotten $. \imgloc{FOND_BOIS.jpg}
line 63 -> ! Missing $ inserted.
************** LOG FILE *************** :
This is pdfeTeX, Version 3.141592-1.21a-2.2 (MiKTeX 2.4) (preloaded format=latex 2007.12.14) 20 MAR 2008 14:49
entering extended mode
**Test-3.tex
(Test-3.tex
LaTeX2e <2003/12/01>
Babeland hyphenation patterns for english, dumylang, nohyphenation, ge
rman, ngerman, french, loaded.
(C:\texmf\tex\latex\base\article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(C:\texmf\tex\latex\base\size10.clo
File: size10.clo 2004/02/16 v1.4f Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
) (C:\texmf\tex\latex\geometry\geometry.sty
Package: geometry 2002/07/08 v3.2 Page Geometry
(C:\texmf\tex\latex\graphics\keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks14
)
\Gm@cnth=\count87
\Gm@cntv=\count88
\c@Gm@tempcnt=\count89
\Gm@bindingoffset=\dimen103
\Gm@wd@mp=\dimen104
\Gm@odd@mp=\dimen105
\Gm@even@mp=\dimen106
\Gm@dimlist=\toks15
(C:\texmf\tex\latex\geometry\geometry.cfg))
(C:\texmf\tex\latex\base\inputenc.sty
Package: inputenc 2004/02/05 v1.0d Input encoding file
(C:\texmf\tex\latex\base\latin1.def
File: latin1.def 2004/02/05 v1.0d Input encoding file
))
(C:\texmf\tex\latex\base\fontenc.sty
Package: fontenc 2004/02/22 v1.99f Standard LaTeX package
(C:\texmf\tex\latex\base\t1enc.def
File: t1enc.def 2004/02/22 v1.99f Standard LaTeX file
LaTeX Font Info: Redeclaring font encoding T1 on input line 43.
))
(C:\texmf\tex\latex\psnfss\mathpazo.sty
Package: mathpazo 2005/04/12 PSNFSS-v9.2a Palatino w/ Pazo Math (D.Puga, WaS)
\symupright=\mathgroup4
)
(C:\texmf\tex\latex\graphics\graphicx.sty
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
(C:\texmf\tex\latex\graphics\graphics.sty
Package: graphics 2001/07/07 v1.0n Standard LaTeX Graphics (DPC,SPQR)
(C:\texmf\tex\latex\graphics\trig.sty
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
) (C:\texmf\tex\latex\00miktex\graphics.cfg
File: graphics.cfg 2003/03/12 v1.1 MiKTeX 'graphics' configuration
)
Package graphics Info: Driver file: pdftex.def on input line 80.
(C:\texmf\tex\latex\graphics\pdftex.def
File: pdftex.def 2005/06/20 v0.03m graphics/color for pdftex
\Gread@gobject=\count90
))
\Gin@req@height=\dimen107
\Gin@req@width=\dimen108
)
(C:\texmf\tex\latex\graphics\color.sty
Package: color 1999/02/16 v1.0i Standard LaTeX Color (DPC)
(C:\texmf\tex\latex\00miktex\color.cfg
File: color.cfg 2003/03/08 v1.0 MiKTeX 'color' configuration
)
Package color Info: Driver file: pdftex.def on input line 125.
) (C:\texmf\tex\latex\hyperref\hyperref.sty
Package: hyperref 2003/11/30 v6.74m Hypertext links for LaTeX
\@linkdim=\dimen109
\Hy@linkcounter=\count91
\Hy@pagecounter=\count92
(C:\texmf\tex\latex\hyperref\pd1enc.def
File: pd1enc.def 2003/11/30 v6.74m Hyperref: PDFDocEncoding definition (HO)
)
(C:\texmf\tex\latex\00miktex\hyperref.cfg
File: hyperref.cfg 2003/03/08 v1.0 MiKTeX 'hyperref' configuration
)
Package hyperref Info: Hyper figures OFF on input line 1880.
Package hyperref Info: Link nesting OFF on input line 1885.
Package hyperref Info: Hyper index ON on input line 1888.
Package hyperref Info: Plain pages ON on input line 1893.
Package hyperref Info: Backreferencing OFF on input line 1900.
Implicit mode ON; LaTeX internals redefined
Package hyperref Info: Bookmarks ON on input line 2004.
(C:\texmf\tex\latex\ltxmisc\url.sty
\Urlmuskip=\muskip10
Package: url 2005/06/27 ver 3.2 Verb mode for urls, etc.
)
LaTeX Info: Redefining \url on input line 2143.
\Fld@menulength=\count93
\Field@Width=\dimen110
\Fld@charsize=\dimen111
\Choice@toks=\toks16
\Field@toks=\toks17
Package hyperref Info: Hyper figures OFF on input line 2618.
Package hyperref Info: Link nesting OFF on input line 2623.
Package hyperref Info: Hyper index ON on input line 2626.
Package hyperref Info: backreferencing OFF on input line 2633.
Package hyperref Info: Link coloring OFF on input line 2638.
\c@Item=\count94
\c@Hfootnote=\count95
)
*hyperref using default driver hpdftex*
(C:\texmf\tex\latex\hyperref\hpdftex.def
File: hpdftex.def 2003/11/30 v6.74m Hyperref driver for pdfTeX
(C:\texmf\tex\latex\psnfss\pifont.sty
Package: pifont 2005/04/12 PSNFSS-v9.2a Pi font support (SPQR)
LaTeX Font Info: Try loading font information for U+pzd on input line 63.
(C:\texmf\tex\latex\psnfss\upzd.fd
File: upzd.fd 2001/06/04 font definitions for U/pzd.
)
LaTeX Font Info: Try loading font information for U+psy on input line 64.
(C:\texmf\tex\latex\psnfss\upsy.fd
File: upsy.fd 2001/06/04 font definitions for U/psy.
))
\Fld@listcount=\count96
\@outlinefile=\write3
)
(C:\texmf\tex\latex\caption\caption.sty
Package: caption 2005/06/28 v3.0g Customising captions (AS)
(C:\texmf\tex\latex\caption\caption3.sty
Package: caption3 2005/06/11 v3.0f caption3 kernel (AS)
\captionmargin=\dimen112
\captionwidth=\dimen113
\captionindent=\dimen114
\captionparindent=\dimen115
\captionhangindent=\dimen116
)
Package caption Info: hyperref package v6.74m (or newer) detected on input line
260.
)
(C:\texmf\tex\latex\fancyhdr\fancyhdr.sty
\fancy@headwidth=\skip43
\f@ncyO@elh=\skip44
\f@ncyO@erh=\skip45
\f@ncyO@olh=\skip46
\f@ncyO@orh=\skip47
\f@ncyO@elf=\skip48
\f@ncyO@erf=\skip49
\f@ncyO@olf=\skip50
\f@ncyO@orf=\skip51
) (Test-3.aux)
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 44.
LaTeX Font Info: … okay on input line 44.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 44.
LaTeX Font Info: … okay on input line 44.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 44.
LaTeX Font Info: … okay on input line 44.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 44.
LaTeX Font Info: … okay on input line 44.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 44.
LaTeX Font Info: … okay on input line 44.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 44.
LaTeX Font Info: … okay on input line 44.
LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 44.
LaTeX Font Info: … okay on input line 44.
LaTeX Font Info: Try loading font information for T1+ppl on input line 44.
(C:\texmf\tex\latex\psnfss\t1ppl.fd
File: t1ppl.fd 2001/06/04 font definitions for T1/ppl.
)
——————– Geometry parameters
paper: a4paper
landscape: true
twocolumn: —
twoside: —
asymmetric: —
h-parts: 28.45274pt, 788.14136pt, 28.45274pt
v-parts: 42.67912pt, 512.14963pt, 42.67912pt
hmarginratio: —
vmarginratio: —
lines: —
heightrounded: —
bindingoffset: 0.0pt
truedimen: —
includehead: —
includefoot: —
includemp: —
driver: pdftex
——————– Page layout dimensions and switches
\paperwidth 845.04684pt
\paperheight 597.50787pt
\textwidth 788.14136pt
\textheight 512.14963pt
\oddsidemargin -43.81725pt
\evensidemargin -43.81725pt
\topmargin -66.59087pt
\headheight 50.0pt
\headsep 11.38092pt
\footskip 30.0pt
\marginparwidth 57.0pt
\marginparsep 11.0pt
\columnsep 10.0pt
\skip\footins 9.0pt plus 4.0pt minus 2.0pt
\hoffset 0.0pt
\voffset 0.0pt
\mag 1000
(1in=72.27pt, 1cm=28.45pt)
———————–
\big@size=\dimen117
(C:\texmf\tex\context\base\supp-pdf.tex
(C:\texmf\tex\context\base\supp-mis.tex
loading : Context Support Macros / Miscellaneous (2004.10.26)
\protectiondepth=\count97
\scratchcounter=\count98
\scratchtoks=\toks18
\scratchdimen=\dimen118
\scratchskip=\skip52
\scratchmuskip=\muskip11
\scratchbox=\box26
\scratchread=\read1
\scratchwrite=\write4
\zeropoint=\dimen119
\onepoint=\dimen120
\onebasepoint=\dimen121
\minusone=\count99
\thousandpoint=\dimen122
\onerealpoint=\dimen123
\emptytoks=\toks19
\nextbox=\box27
\nextdepth=\dimen124
\everyline=\toks20
\!!counta=\count100
\!!countb=\count101
\recursecounter=\count102
)
loading : Context Support Macros / PDF (2004.03.26)
\nofMPsegments=\count103
\nofMParguments=\count104
\MPscratchCnt=\count105
\MPscratchDim=\dimen125
\MPnumerator=\count106
\everyMPtoPDFconversion=\toks21
)
Package hyperref Info: Link coloring OFF on input line 44.
(C:\texmf\tex\latex\hyperref\nameref.sty
Package: nameref 2003/12/03 v2.21 Cross-referencing by name of section
\c@section@level=\count107
)
LaTeX Info: Redefining \ref on input line 44.
LaTeX Info: Redefining \pageref on input line 44.
(Test-3.out) (Test-3.out)
(C:\texmf\tex\latex\ms\ragged2e.sty
Package: ragged2e 2003/03/25 v2.04 ragged2e Package (MS)
(C:\texmf\tex\latex\ms\everysel.sty
Package: everysel 1999/06/08 v1.03 EverySelectfont Package (MS)
LaTeX Info: Redefining \selectfont on input line 125.
)
\CenteringLeftskip=\skip53
\RaggedLeftLeftskip=\skip54
\RaggedRightLeftskip=\skip55
\CenteringRightskip=\skip56
\RaggedLeftRightskip=\skip57
\RaggedRightRightskip=\skip58
\CenteringParfillskip=\skip59
\RaggedLeftParfillskip=\skip60
\RaggedRightParfillskip=\skip61
\JustifyingParfillskip=\skip62
\CenteringParindent=\skip63
\RaggedLeftParindent=\skip64
\RaggedRightParindent=\skip65
\JustifyingParindent=\skip66
)
! Undefined control sequence.
l.61 \imgloc
{FOND_BOIS.jpg}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Missing $ inserted.
$
l.61 \imgloc{FOND_
BOIS.jpg}
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
LaTeX Font Info: Try loading font information for OT1+ppl on input line 61.
(C:\texmf\tex\latex\psnfss\ot1ppl.fd
File: ot1ppl.fd 2001/06/04 font definitions for OT1/ppl.
)
LaTeX Font Info: Try loading font information for OML+zplm on input line 61.
(C:\texmf\tex\latex\psnfss\omlzplm.fd
File: omlzplm.fd 2002/09/08 Fontinst v1.914 font definitions for OML/zplm.
)
LaTeX Font Info: Try loading font information for OMS+zplm on input line 61.
(C:\texmf\tex\latex\psnfss\omszplm.fd
File: omszplm.fd 2002/09/08 Fontinst v1.914 font definitions for OMS/zplm.
)
LaTeX Font Info: Try loading font information for OMX+zplm on input line 61.
(C:\texmf\tex\latex\psnfss\omxzplm.fd
File: omxzplm.fd 2002/09/08 Fontinst v1.914 font definitions for OMX/zplm.
)
LaTeX Font Info: Try loading font information for OT1+zplm on input line 61.
(C:\texmf\tex\latex\psnfss\ot1zplm.fd
File: ot1zplm.fd 2002/09/08 Fontinst v1.914 font definitions for OT1/zplm.
)
! Extra }, or forgotten $.
l.61 \imgloc{FOND_BOIS.jpg}
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.
! Missing $ inserted.
$
l.63
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
<"C:/!CAD_BASE/Loghi/"U-Congress.jpg, id=7, 301.125pt x 192.72pt>
File: “C:/!CAD_BASE/Loghi/”U-Congress.jpg Graphic file (type jpg)
::
continuo a non capire perché a me non funzioniqui il codice corretto secondo il suggerimento
`\documentclass[a4paper,10pt]{article}
\usepackage[a4paper,landscape,left=1.0cm,right=1.0cm,top=1.5cm,bottom=1.5cm]{geometry}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}\usepackage{mathpazo}%carattere tipo Times
\usepackage{graphicx}
\usepackage{color}
\usepackage{hyperref}\newcommand{\event}{\Large Novartis \hspace {1.5 cm} Chapelle St Louis le 07 Juin 2008}
\definecolor{PROXI-Orange}{rgb}{0.51,0.50,0.5} %definisce i colori per la linea
\definecolor{PROXI-Blue}{rgb}{0.0,0.0,0.0} %definisce i colori per le scritte
\definecolor{Ucongress-Blue}{RGB}{80,132,244} %definisce i colori per le scritte
%con rgb maiuscolo metto i numeri dei colori con il minuscolo le percentuali%HEADER PAGES
\usepackage{fancyhdr}
\pagestyle{fancy}
\setlength {\headheight}{50 pt}\headsep 0.4 cm %altrimenti si sovrappone il testo alla hdr
%\fancyhead[R]{\includegraphics[width=3.0cm]{\LOGOPATH U-Congress}}
%\fancyhead[L]{\color{PROXI-Blue}{\event}}\lhead{\color{PROXI-Blue}{\event}}
\rhead{\includegraphics [width=1.7cm] {\LOGOPATH U-Congress}}
%\lfoot{\color{PROXI-Blue}{\thepage}}
%\fancyfoot[CO,CE]{\textbf{\thepage}}\renewcommand\headrule{{\color{PROXI-Orange}\hrule height 0.5mm}}
%trattino dell'header
\newcommand{\LOGOPATH}{“C:/!CAD_BASE/Loghi/”} %questo crea il percorso per il logo\newcommand{\PATHlocale}{“C:/Documents and Settings/m.ingenuo/Bureau/TEST_TEX/”}%questo crea il percorso locale del folder
\author{Ingoenius}
\title{U-Congress to \LaTeX}\begin{document}
\newcommand{\doimgloc}[1]{\centering
\colorbox{Ucongress-Blue}
{\includegraphics [width=25.0cm, height=15.0cm, keepaspectratio]{\PATHlocale #1}}%mette in scala razionalmente
\captionof{figure}{\color {PROXI-Blue}{\large \hspace {0.5 cm}#1}}
\endgroup\clearpage}\doimgloc{N_02.jpg}
\end{document}`
e questi gli errori che mi dice di avere
`************** SUMMARY ************** :
line 57 -> ! Undefined control sequence. \doimgloc{N_02.jpg}
line 57 -> ! Missing $ inserted. \doimgloc{N_02.jpg}
line 57 -> ! Extra }, or forgotten $. \doimgloc{N_02.jpg}
line 57 -> ! Extra }, or forgotten $. \doimgloc{N_02.jpg}
line 57 -> ! Missing $ inserted. \doimgloc{N_02.jpg}
line 57 -> ! Missing } inserted. \doimgloc{N_02.jpg}
line 57 -> ! Missing } inserted. \doimgloc{N_02.jpg}
line 57 -> ! Extra \endgroup. \doimgloc{N_02.jpg}
************** LOG FILE *************** :
`
::
scusa mi spiego meglio,la situazione é questa,
mi ritrovo a dover montare in una specie di slideshow tutta una serie di immagini che provengono da posti diversi e hanno dimensioni diverseio vorrei avere un impianto di base uguale per tutte le pagine, con alcuni loghi e diciture in alto poi ci deve essere l’immagine che va centrata e messa alle dimensioni piur grandi possibili (mantenendo le proporzioni) , e sotto di essa la dicitura del nome dell’immagine
prima usavo il comando keepaspectratio per fare questa cosa adesso dovrei gi’a avere le immagini alle giuste dimensioni?
cosa consigli?
::
vi metto qui il codice sicuramente ho fatto degli errori grossolani
diciamo che il documento tipico che devo fare é come questo`
\documentclass[a4paper,10pt]{article}
\usepackage[a4paper,landscape,left=1.0cm,right=1.0cm,top=1.5cm,bottom=1.5cm]{geometry}
\usepackage[latin1]{inputenc}\usepackage{mathpazo}%carattere tipo Times
\usepackage{graphicx}
\usepackage{color}
\usepackage{hyperref}\newcommand{\event}{\Large Novartis \hspace {1.5 cm} Chapelle St Louis le 07 Juin 2008}
\definecolor{PROXI-Orange}{rgb}{0.51,0.50,0.5} %definisce i colori per la linea
\definecolor{PROXI-Blue}{rgb}{0.0,0.0,0.0} %definisce i colori per le scritte
\definecolor{Ucongress-Blue}{RGB}{80,132,244} %definisce i colori per le scritte
%con rgb maiuscolo metto i numeri dei colori con il minuscolo le percentuali%HEADER PAGES
\usepackage{fancyhdr}
\pagestyle{fancy}
\setlength {\headheight}{50 pt}\headsep 0.4 cm %altrimenti si sovrappone il testo alla hdr
%\fancyhead[R]{\includegraphics[width=3.0cm]{\LOGOPATH U-Congress}}
%\fancyhead[L]{\color{PROXI-Blue}{\event}}\lhead{\color{PROXI-Blue}{\event}}
\rhead{\includegraphics [width=1.7cm] {\LOGOPATH U-Congress}}
%\lfoot{\color{PROXI-Blue}{\thepage}}
%\fancyfoot[CO,CE]{\textbf{\thepage}}\renewcommand\headrule{{\color{PROXI-Orange}\hrule height 0.5mm}}
%trattino dell'header\newcommand{\LOGOPATH}{“C:/!CAD_BASE/Loghi/”} %questo crea il percorso per il logo
\newcommand{\PATHlocale}{“L:/!PLANS/N/NOVARTIS_EXT_ST-LOUIS/NOVARTIS_IMG_SEULES/”}%questo crea il percorso locale del folder
\author{Ingoenius}
\title{U-Congress to \LaTeX}\begin{document}
%QUESTA LA MACRO Locale nel folder events
\newcommand{\imgloc}{\begingroup\catcode`\_=12 \doimgloc}\newcommand{\doimgloc}[1]{\begin{figure}[p]
\centering
\colorbox{Ucongress-Blue}
{\includegraphics [width=27.0cm, height=17.0cm, keepaspectratio]{\PATHlocale #1}}%mette in scala razionalmente
\caption{\color {PROXI-Blue}{\large \hspace {0.5 cm}#1}}
\end{figure}
\endgroup}
%fine macro
%test max\imgloc{N_01.jpg}
\imgloc{N_02.jpg}
\imgloc{N_03.jpg}
\imgloc{N_04.jpg}
\imgloc{N_05.jpg}
\imgloc{N_06.jpg}
\imgloc{N_07.jpg}
\imgloc{N_08.jpg}
\imgloc{N_09.jpg}
\imgloc{N_10.jpg}%\imgloc{TECH_01.jpg}
%\imgloc{TECH_02.jpg}
%\imgloc{TECH_03.jpg}
\imgloc{TECH_04.jpg}
\imgloc{TECH_05.jpg}
\imgloc{TECH_06.jpg}
\imgloc{TECH_07.jpg}
%\imgloc{TECH_08.jpg}
%\imgloc{TECH_09.jpg}
%\imgloc{TECH_10.jpg}
%\imgloc{TECH_11.jpg}
%\imgloc{TECH_12.jpg}
%\imgloc{TECH_13.jpg}\imgloc{CAM_Face_01.jpg}
\imgloc{CAM_Fond_01.jpg}
\imgloc{CAM_Middle_01.jpg}
\imgloc{CAM_Orator_01.jpg}\end{document}`
solo che se tolgo il commento da tutte le immagini mia da l’errore, come devo correggere la cosa ?
::
non funziona neanche cambiando la dimensione delle \headheight
il fatto é che sulla prima pagina ottengo l’immmagine con al di sotto di essa la caption ed il numero di pagina, mentre nelle pagine successive ottengo solo l’immagine, come é possibile? visto che le inserzioni di immagini sono le medesime e vengono dall’utilizzo della stessa macro??help ;-(
::
ho provato, ma non ci sono riuscito
ho letto il documento come installare i pacchetti che dice di compilare i files ins e dtxapro con texmaker sia il file ins sia il file dtx, ma la compilazione mi da errori e quindi non si genera il file sty
non c’é modo di trovarlo gia fatto questo file sty??ho la risposta da texmaker che dice che c’é un errore, se cerco di vedere l’errore mi dice che non c’é il log file
-
AutoreRisposte