Risposte nei forum create
-
AutoreRisposte
-
::
Ho applicato le modifiche che mi avete suggerito, ma ho un problema con le virgolette e con il simbolo di $ all’interno del codice. Ho provato anche proteggere il simbolo $ sostituendolo con \$ ma non ho risolto nulla.
Questo è il mio codice (ho già provato anche a mettere le virgolette corrette ma senza risultato)
`
\begin{lstlisting}
function copia {echo “Processo $2”
# se non esiste la directory “/input/Fax\ 449/” si visualizza “Alfresco E Morto” e si esce
if [ ! -d /input/Fax\ 449/ ];
then
echo “Alfresco E Morto”
exit
fi
# vengono salvati in “RADICE” i caratteri da 0 a 4 presenti in “x”
RADICE=${x:0:4}
# il file “${x}” viene copiato in “/input/Fax\ $1/”
cp /var/coda/alfresco_pdf/$2 /input/Fax\ $1/$2
# crea le directory intermedie come indicato
mkdir -p /var/coda/processed_pdf/${RADICE}
# il file “${x}” viene spostato nella directory “/var/coda/caos/” e rinominato in “${RADICE}”
mv /var/coda/alfresco_pdf/$2 /var/coda/processed_pdf/${RADICE}}
\end{lstlisting}
`e questo è il messaggio di LaTeX
! Package inputenc Error: Unicode char \u8:�\lst@EC� not set up for use with La
TeX.See the inputenc package documentation for explanation.
Type Hfor immediate help.
…l.545 …o un pdf con nome $1 in cui al centro è
presente il testo di $2
?
::
Ho fatto così:
`
\lstset{numbers=left, numberstyle=\tiny,}
\lstset{backgroundcolor=\color{lightgray}}
\begin{lstlisting}
lsnrctl start
export ORACLE_SID=PROD
sqlplus /as sysdba
> startup nomount;
> alter database mount standby database;
exit
export ORACLE_SID=PROD32
sqlplus /as sysdba
> startup nomount;
> alter database mount standby database;
\end{lstlisting}
`
ma il risultato non è il massimo 🙁[attachment=129]Ris.jpg[/attachment]
Attachments:
You must be logged in to view attached files.::
Prova così
`\pagestyle{fancy}
\fancyhead[LE,RO] {\slshape \rightmark}
\fancyhead[LO,RE] {\slshape \leftmark}
\fancyfoot[C] {\thepage}\renewcommand{\chaptermark}[1]{\markboth{\MakeUppercase{#1}}{}}
\fancyhf{} % rimuove l’attuale contenuto dell’intestazione e del pi\‘e di pagina
\fancyhead[LE,RO]{\bfseries\thepage}
\fancyhead[LO]{\bfseries\rightmark}
\fancyhead[RE]{\bfseries\leftmark}
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\footrulewidth}{0pt}
\addtolength{\headheight}{0.5pt} % riserva spazio per la linea
\fancypagestyle{plain}{%
\fancyhead{} % ignora, nello stile plain, le intestazioni
\renewcommand{\headrulewidth}{0pt} % e la linea
}`
-
AutoreRisposte