Risposte nei forum create
-
AutoreRisposte
-
::
Passuello” post=111209Buongiorno a tutti.
Vi scrivo perchè mentre cercavo di ottenere un pdf da LaTex mi appare questo messaggio :
” Error: Could not start the command: pdflatex -synctex=1 -interaction=nonstopmode “prova”.tex “.
Premetto che non sono un esperto in programmazione, ma l’aiuto sarebbe prezioso dato che mi servirebbe per scrivere la tesi. Nello specifico uso TexMaker.
Grazie mille a tuttiCiao e benvenuto 🙂
Sarebbe meglio se tu incollassi qui il codice che ti dà problemi.
Ciao
Tommaso
::
Questo a me funziona:
`% !TEX encoding = UTF-8 Unicode
% !TEX TS-program = lualatex\documentclass{article}
\usepackage{fontspec}
\usepackage{polyglossia}
\setmainlanguage[babelshorthands]{italian}
\usepackage{caption,booktabs}\usepackage{siunitx}
\sisetup{output-decimal-marker={,}}\begin{document}
\begin{table}
\centering
\caption{Energia ionizzante di alcuni elementi chimici.}
\begin{tabular}{lS[table-format=2.4]}
\toprule
Elemento & {Energia} \\
\midrule
Potassio & 4,3407 \\
Laurencio & 4,9 \\
Sodio & 5,1391 \\
Attinio & 5,17 \\
Litio & 5,3917 \\
Polonio & 8,417 \\
Zolfo & 10,36 \\
Ossigeno & 13,6181 \\
\bottomrule
\end{tabular}
\end{table}\end{document}`
La mia distribuzione:
`This is LuaTeX, Version 1.0.4 (TeX Live 2017)
restricted system commands enabled.
(./dcolumn.tex
LaTeX2e <2017-04-15>`Ciao
Tommaso
::marghemate” post=110871Ciao a tutti,
sto scrivendo la tesi ed ho un problema che non riesco a sistemare:
quando scrivo i teoremi lemmi, osservazioni etc è tutto in inglese (ok!) però quando vado a fare le dimostrazioni mi scrive dimostrazione in italiano 🙁 🙁 🙁 qualcuno sa darmi indicazioni per sistemare questa cosa???
grazie mille a tutti
😀Benvenuta nel forum!
Dai informazioni insufficienti per poterti aiutare: dovresti incollare nel prossimo messaggio il codice che ti dà questo problema.
Ciao
Tommaso
::OldClaudio” post=110418A me risulta questa situazione:
1) MacTeX viene installato con TeXLive completo e con l’editor TeXShop, più altre cosette come LaTeXit e BibDesk e qualcosa d’altro che non ricordo, e che comunque non uso mai.
2) TexLive epr Windows instlalla quel minimo di Perl che serve a tlmgr.exe per fare il suo lavoro e ovviamente a installer per installare il sistema. Insieme a TeXlive completo l’installer mette a disposizione TeXworks.
3) TeXLive per Linux, sia installandolo dai suoi repositories, sia da CTAN instlla o può installare TeXLive completo e dai suoi repositories può installare sia TeXworks, sia TeXstudio, sia TeXmaker, nel senso che questi ed altri editor sono idisponibili per i pinguini doc. Emacs anche non è generalmente installato di default, ma lo si installa dai repositories insieme anche al plugin auctex.
4) MiKTeX fino a pochi anni fa installava sia TeXworks, ma non lo diceva a nessuno, sia TeXnicCenter. Ora ha abbandonato TeXnicCenter e al suo posto installa TeXstudio, forse anche TeXworks, ma come lo installava di soppiatto allora forse lo installa di soppiatto anche oggi.Ora, è evidente che per chi ha il Mac, secondo te, Lorenzo, ma anche secondo me, non c’è niente di meglio di TeXShop; tuttavia molti lo considerano troppo spartano. TeXworks è ancora più spartano, ma ha alcune (poche) funzionalità che mancano a TeXShop.
Ma per chi non ha il Mac, le alternative semplici sono TeXworks e TeXstudio. emacs+auctex sono per tutte le piattaforme (sul Mac questa accoppiata si chiama Aquamacs) ma non sono semplici finché non si è presa la mano.
Io direi che TeXstudio per chi non ha il Mac sia la cosa migliore; è chiaro che se te lo installi, di primo acchito non ti piace, perché è diverso da TeXShop. Ma ha diverse funzionalità che a me piacerebbero, anche se ne posso fare tranquillamente a meno; per esempio quella di poter navigare da un punto all’altro del file in lavorazione semplicemente cliccando sull’albero della struttura del documento (un po come i bookmarks dei file PDF) nella barra laterale sinistra.
Da un po’ di tempo non uso più piattaforme windows o linux, quindi non ho esperienze recenti, ma per me dopo TeXShop viene TeXstudio; non ho dubbi.
Siccome però, L’Arte non è solo per i possessori di Mac, direi che trascurare un minimo di descrizione di TeXstudio non è una buona scelta, specialmente tendo conto che più della metà dei lettori, presumibilmente, usa piattaforme Windows.
Concordo con OldClaudio. TeXworks non viene più fornito insieme a TeXShop su Mac, né viene fornito su Linux. Mentre so per certo che è contenuto nella TeX Live per Windows. Detto questo, so che dà qualche problema su Windows 10 (a meno che non sia un caso isolato, e parlo dell’ultima versione disponibile, la 0.6.1).
TeXworks andrebbe benissimo, ma gli aggiornamenti sono annuali e decisamente laconici.
TeXstudio non va male, anche se è tanto ingombrante.
TeXShop? Va benissimo. Anzi, andava: a me l’ultima versione, la 3.77, si chiude inaspettatamente in continuazione.
In altre parole, l’unico editor multipiattaforma che sembri funzionare è proprio TeXstudio. Questo il calibro degli ultimi change log:
`TeXstudio 2.12.4
—————-
– detect definition of tex counts using \newcount
– improve config dialog layout
– make todo comment detection configurable
– show frame titles in structure view
– support table alignment in IEEEeqnarray, xtabular and mpxtabular
– table alignment: fix aligning of empty cols
– table alignment: place \\ if last columns is empty
– warn if \begin{column} is used outside columns-env
– workaround for not interpreting $ inside sweave \Sexpr{}
– option to deactivate interperation of command definition in magic comments
– remove pdf viewer subtypes from “Default Viewer” config. PDF viewer subtypes should be selected in “PDF Viewer”.
– increase the maximal resolution for pdf rendering (bug 2003)
– toolbar for embedded viewer can not turned-off anymore
– show shortcuts in tooltips (can be deactivated in the options)
– pass non-breaking space to grammar check (fixes bug 2040)
– \item completion no adds a space (feature request 994)
– fix highlighting of current section in structure (bug 2103)
– fix delays when typing _abc
– fix bug in log parser: wrong filename if empty brackets () occur in text
– fix word repetition erro on non-breaking space (~)
– fix file detection in latex/include file
– fix width of side panel not saved (bug 2083)
– fix ampersand in in recent session names
– fix parsing of \RequirePackage in style files if the argument is completed on the same line
– fix misinterpretation of closing brace if extra opening brace is used over multilines
– fix jumping to first page when changing magnifier/hand in pdfviewer
– fix spelling error on words followed by
– show option –version when calling with –help
– fix link to LibreOffice dictionaries
– fix crash on pressing Esc in options
– fix entering persian half-space letter
– fix \maketitle completion
– fix shortcut context on OSX
– fix robustcommand definition
– use $* instead of $@ in BUILD.sh (bug 2042)
– add needspace.cwl
– update some cwls
– add turkish translationTeXstudio 2.12.2
—————-
– PDF shortcuts are now changable
– Support LanguageTool json API (needed for LanguageTool > 3.5)
– slightly improved layout of config dialog
– improved detection of stdout and stderr redirection (bug 2019)
– fix: duplicate side panel icons (bug 2016)
– fix: togglefullscreen from maximised and in reverse (bug 2021)
– fix: don't try to call bibtex/biber if there are no bibtex-files (bug 2025)
– fix: detection of programs (bug 2037)
– fix: avoid problems if check latex is called without open documentsTeXstudio 2.12.0
—————-
– improved user interface: optimized layout, some new icons, some changes of color
– warn if file-saving fails
– cwl-based highlighting of todo-like commands
– partly support \todo commands spanning multiple lines (starting line is considered for highlighting and structure entry)
– partly support highlighting of multi-line titles: first line is highlighted
– move cursor to context in line when clicking on log entry
– add “Move all to other view” to editor tabs context menu
– add shortcut Ctrl+Alt+X to open the current pdf in the external viewer
– open the annotation dialog by double-clicking on an annotation in the list
– indicate LanguageTool server in tooltip
– indicate cursor RTL state in status bar
– build commands can be edited in non-advanced mode
– auto user commands on single argument math commands e.g. \overbrace{abc}
– support \input of PGF/TikZ files in graphics wizard
– support fix %BEGIN_FOLD in .rnw files
– improved highlighting for pweave and sweave
– improved tooltips on structure entries
– improved text completion: support compound words, apostrophe, subscript in braces, words with underscores
– Parenthesis -> Select Inner/Outer work also when the cursor is not next to a parenthesis but inside
– don't clear highlights of search in pdf after timeout
– revert to pre 2.11.0 save method on windows because the new QSaveFile has problems with Dropbox folders
– option to disable safe writing of files (using QSaveFile) – non-Windows only
– option to disable showing logfile/error list in case of compile errors
– option to deactivate all reactions to external file changes
– option to control the triple click behavior
– additional shortcuts with Tab, Backspace, Del in shortcut options
– portable version does now store all settings in a subfolder “config”
– improved automatic handling of hg version information (relevant when building from source tar)
– improved handling of cwl dublets
– use Ctrl+Space for completion on OS X (was Cmd+Space which conflicts with Spotlight search)
– deprecate command line option –ini-file FILE in favor of –config DIR
– deprecate command line option –master in favor of –root
– remove View -> Align Windows (obsolete because of the embedded viewer)
– remove old toolbox style of side panel
– fix crash (newenv without any arguments)
– fix freeze when parsing incorrect \texorpdfstring with incorrect arguments (bug 1948)
– fix label detection in glossaries.cwl (bug 1963)
– fix: automatically run bibliography if there is no bbl file
– fix: “Close last open environment” works now also for environments opened on the same line (bug 1957)
– fix: hg version comparision assumed 'larger' if the version could not be determined
– fix: do not lose focus to editor for “Find in PDF”
– fix grammar check on words in text arguments
– fix addchap/addpart entries not recognized as structure elements
– fix incorrect double-click and drag behavior (bug 1936)
– fix issues with not-updated bookmarks (bug 1950)
– fix math hover preview in subfile
– fix “Tab or Indent Selection”
– fix detection of MikTeX 64bit
– fix build with phonon
– improved some cwl filesTeXstudio 2.11.2
—————-
– major performance speedup, in case some default section commands were not defined in any used package
– speed up pasting into large documents (factor 100x)
– add comment toggle
– improved search panel layout
– improved bracket detection for \todo highlighting (bug 1789)
– improved parsing of section titles (bug 1817)
– added shorter auto-save intervals (1 min, 2 min)
– detection of user-local installation of MikTeX
– cwl-format: suffix %plain disables possible semantics associated with an argument name
– cwl-format: suffix %labeldef for definition of labels
– cwl-format: %suffix notation takes precedence over detection by argument name
– cwl-format: allow 'key' to be used in label if #l is set
– replace babel german by ngerman in presentation wizard
– highlight cursorEnums in script
– support reading an application style sheet from stylesheet.qss
– fix crash on qt4 if update check is sucessful
– fix: auto-indent
– fix: make insertion of tabs work with cursor mirrors (bug 1788)
– fix: verbatim setting for \verb|abc| (bug 1795)
– fix: update of save icon after SaveAll (bug 1808)
– fix: dictionaries in extracted .oxt files not recognized (bug 1804)
– fix: replace with regexp containing lookahead (bug 1779)
– fix: keep indentation when using the graphics wizard (1816)
– fix: quote replacement on formerly hidden child documents (1827)
– fix: do not interpret double backslash within braces as column end in tabular environment (bug 1831)
– fix: show a warning if file could not be saved
– fix: correctly handle optional arguments in command definitions
– fix: handling of \let arguments
– fix: spellchecking of words with apostrophe
– fix: visibility of option for system theme icons on Linux
– fix: scripting: cursor.movePostition(n, Left/Right) across empty lines and beyond end of file
– fix: running scripts from the macro window
– fix: mixture of zoom and scroll on ctrl+mouse wheel (bug 1847)
– fix: scrreprt detection
– fix: editor font rendering in case of UI scaling (note: this fix is partial and does currently only apply if Options -> Advanced Editor -> Disable Line Cache is chosen)
– fix: argument scanning when option contain key/val pairs
– fix: editor hiding when updating a windowed pdf viewer which was enlarged
before changing to windowed mode (Bug #1876)
– fix: repetition checking for words followed by colon (bug 1884)
– fix: position of completer when competion words become very large
– fix: freeze while typing \texorpdfstring (bug 1898)
– fix: script error on editor.search with options and callback (bug 1899)
– fix: regExp replace in multi doc search
– updated some cwl filesTeXstudio 2.11.0
—————-
– support two editors next to each other
– new tabular wizard
– support multi-line commands
– add scrollbar marks for search and bookmarks
– add command option –no-session
– add manual to mac OS X app bundle data
– improve table manipulation of tabu/longtabu
– select words by doubleclick + hold + mousemove
– restructure cwl search paths to settings/completion/user :/completion settings/completion/autogenerated
– safer way of obtaining the PATH on OS X
– add option for image tooltip
– do not show explicit hyphens in section titles of the structure view
– do not parse for structure in non-LaTeX-like languages
– make preview work with \input in preamble (files get rewritten to absolute paths for the temporary compilation)
– use QSaveFile for file saving instead of our custom file saving strategy if available (Qt5 only)
– eneable left/right shortcuts for embedded viewer
– remove multiple default values for latexmk (fixes bug 1694)
– support environment variables in additional search paths
– support [txs-app-dir] and [txs-settings-dir] in additional search paths for log and pdf
– add statusbar icon for LanguageTool
– make LanguageTool arguments configurable
– add align cursor mirrors options
– make pasting into cursor mirrors a single undo block
– do not remove cursor mirrors on undo
– select text of current item in Packages Help to allow easier overwriting (feature request 1063)
– select search/replace texts when switchting there using Tab / Backtab (feature request 1064)
– added optional workingDirectory argument to script function system()
– added editor->insertSnippet() to scripting environment
– added option to choose log encoding
– make icons greyscale for viewer sync buttons if they are not activated
– added a table template
– added some elements to math/latex menus
– unix: allow defining a datadir different from PREFIX/share
– add the option to use system hunspell and quazip
– add images to windows installer
– document advanced code snippet properties in the manual
– don't show dialog for creating a file if it could not be opened but exists
– use Freedesktop Icon Naming Specification for standard icons
– add qt5 autodetection to BUILD.sh
– fix duplicated line endings for larger files (chunked loading)
– fix: windows environment variables may contain brackets: PROGRAMFILES(X86)
– fix env closing with $,$$,etc.
– fix: go to PDF for temporarily compiled documents
– fix finding root document when explicit root doc is set
– fix spell check when word ends with point
– fix argument detection: optional arguments may appear after mandatory ones
– fix: correctly generate environment definition from \newenvironment in case of a default argument
– fix crash in keyVal syntax check when the document was deleted in the meantime
– fix: clear replace highlights when search term is changed
– fix: cancel in marco dialog (bug 1662)
– fixed interpretation of % !BIB program = … (bug 1667)
– fix AltGr+F not typing [ on Croatian keyboard
– fix cursor jumping to end of file when trying to jump from a non-matched bracket (bug 1668)
– fix pasting columns over an existing selection (bug 1726)
– fix broken language triggers (bug 1735)
– fix quote replacements
– fix line breaks for cursor mirrors
– fix auto paren completion for cursor mirrors
– fix line operations to work with cursor mirrors
– fix sychronize text of placeholder mirror when inserting an environment on a selection (Ctrl+E)
– fix font in pdf viewer status bar did not scale
– fix loading of badword lists
– fix LanguageTool startup
– fix overlapping in unicodeinsert on osx
– fix: pinyin input of punctuation (bug 1770)
– fix: retain spaces when sending text to LanguageTool
– fix: don't translate Ctrl+Alt+Left as the translation breaks the shortcut
– several updates to cwl files
– update poppler for windows to 0.39.0
– improved generation of label texts`
Naturalmente va citato Emacs + AUCTeX nelle sue incarnazioni, forse il migliore in assoluto. Lo dico perché lo riconosco, ma non riesco ad abituarmici.Ciao
Tommaso
::golden_boy” post=110139Si, parentesi graffa a parte, errore di un copia incolla, in realtà in codice compilando non produce la numerazione delle voci dell’elenco della bibliografia.
Immagino che questo codice non serva per risolvere il problema, vero?
`
\makeatletter
\def\@biblabel#1{[\two@digits{#1}]}
\makeatother\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{\bibname}
\begin{thebibliography}{99}
`Immagini giusto. Ma il consiglio è sempre quello: leggi una guida o la documentazione della classe. Nelle quali troverai non solo che una bibliografia in una videopresentazione è inopportuna, ma anche il modo per farlo, se proprio vuoi.
Ciao
Tommaso
::Elrond” post=108942
– È vero che TeX è stato rivisto per l’ultima volta nel 2014?
Si direbbe di sì: ftp://ftp.cs.stanford.edu/pub/tex/
lorenzo.pantieri” post=108933– È vero che LaTeX è stato rivisto per l’ultima volta nel 2011?
Si direbbe di no: https://www.latex-project.org/news/latex2e-news/
Questo recita l’inizio del mio log:
`This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016) (preloaded format=pdflatex)
restricted \write18 enabled.
entering extended mode
(./03bis-sto-3B-06122016.tex
LaTeX2e <2016/03/31> patch level 3
Babel <3.9r> and hyphenation patterns for 83 language(s) loaded.
(./intexamdesigntg.cls`Ciao
Tommaso
::martina_etabeta” post=108709Ciao a tutti/e,
sto scrivendo la tesi e mi verrebbe comodo che le footnote risaltassero nel testo, ad esempio se avessero il testo di un altro colore, come i commenti. C’è modo di farlo? Io uso TexStudio e non sono riuscita a capire come fare questa cosa. Vi ringrazio!!
Martina
Non ho ben capito quando scrivi «come i commenti». Che vuoi dire?
Ti sconsiglio nel modo più assoluto non solo di evidenziare le note (che senso avrebbe?) ma anche di evidenziare i commenti. La cosa che chiedi, poi, è indipendente dall’editor che usi.
Anzi: ti consiglio di eliminare del tutto le note.
Ciao
Tommaso
::juri.leoni” post=108700😀 Grazie! proverò a fare come dici! Dove posso trovare reledmac?…scusa ma sono proprio alle prime armi….:oops:
Puoi trovarlo dove trovi ledmac 😉
Il tuo essere alle prime armi non mi torna tanto: stiamo parlando di uno dei pacchetti più complessi che esistano. E il fatto che tu lo usassi (anche se due versioni prima, infatti originariamente era ledmac, poi eledmac e ora reledmac) già tre anni fa, mi suggerisce che tu sia in grado di avventurarti negli alberi del sistema TeX/LaTeX e cercare la documentazione del pacchetto in questione. 😉
Ciao
Tommaso
::juri.leoni” post=108694Grazie della risposta!
Posso inviare il testo? I file sono due, ma il preambolo era lo stesso…provo ad allegarli!
Spero di esserci riuscito 🙂[attachment=1785]PassiomarcellicenturionisrecensioN1.tex[/attachment]
[attachment=1786]PassioMarcellicenturionisrecensioN2.tex[/attachment]
I tuoi errori sono dovuti al fatto che il pacchetto ledmac è obsoleto e al suo posto va usato reledmac, il quale ha ridefinito e sostituito moltissimi dei comandi che ho visto nel tuo codice.
Il consiglio è quello di guardarti la documentazione di reledmac e cercare lì come sostituire i comandi che hai usato.
Ciao
Tommaso
::Angie2117″ post=108594Come posso forzare una nota a piè di pagina a non dividersi in due pagine separate?
Ho questo problema con una nota molto piccola (2 righe), della quale una riga è una pagina e l’altra è sulla pagina successiva. Niente di strano, ma caso vuole che nella seconda pagina non ci sia testo, quindi mi trovo una pagina tutta bianca con una sola riga di footnote, e non mi piace proprio. Come posso fare?Potresti riformulare il testo principale per eliminare una o due righe. Sei proprio sicuro/a che quella nota serve?
Ciao
Tommaso
::ari2211″ post=108582
Ciao ari2211,
Hai controllato di aver salvato l’immagine nella stessa cartella in cui hai il file principale?
Dunque l’immagine che ho inserito inizialmente non è nella stessa cartella. Invece per quanto riguarda la seconda immagine la risposta è affermativa. Inoltre non capisco perchè utilizzando la procedura guidata riesco a inserire l’immagine, viceversa inserendola manualmente ho il problema sopra descritto.
Serve il codice che ti dà l’errore, altrimenti non possiamo rispondere. Inoltre, non credo di aver capito a quali procedure guidata e manuale tu ti riferisca.
Ciao
Tommaso
::sirvietta” post=108512Bunasera,
mi ritrovo a mettere mano a un articolo con definizioni pasticciate, in particolare non capisco per quale motivo dopo la terza nota il programma non le metta più né come apici all’interno del testo né come apici al riferimento della nota…ho fatto le prove anche con note vuote inserite nel testo e sembra che dopo la 3 decida che basta, le lasciamo come numeri normali.a qualcuno è mai successo?
Se tipo scrivo pippo\footnote{}\footnote{}\footnote{}
Mi compare
pippo 1,2,3…senza che io abbia mai definito la , o forse è definita dove??? come???
viene usato il pacchetto reledmac
Ma hai riletto il tuo “messaggio”, prima di inviarlo?
Ciao
Tommaso
::Marluxia” post=108513Ciao Bolle,
Prova con:
`\usepackage[autostyle,italian=guillemets]{csquotes}
\usepackage[bibstyle=numeric,citestyle=verbose-trad1]{biblatex}
\addbibresource{bibliografia.bib}
`Questo è parzialmente scorretto e incompleto: scorretto perché può funzionare solo se il suo file [tt].bib[/tt] si chiama [tt]bibliografia.bib[/tt], incompleto perché manca il comando [tt]\printbibliography[/tt] per produrre effettivamente la bibliografia.
Ecco un esempio completo.
`\begin{filecontents}{miabibliografia.bib}
@book{paperino:fagioli,
author = {Paolino, Paperino},
title = {Piantare i fagioli a Polverara},
publisher = {Edizioni Schioppo},
date = {2016},
location = {Legnaro}
}
\end{filecontents}\documentclass[a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[italian]{babel}\usepackage[autostyle]{csquotes}
\usepackage[style=numeric,backend=biber]{biblatex}
\addbibresource{miabibliografia.bib}\begin{document}
\tableofcontents
\section{Primo paragrafo}
Si rimanda a~\cite{paperino:fagioli}.
\printbibliography[heading=bibintoc]
\end{document}`
Naturalmente, ricorda di impostare il tuo editor per lavorare con Biber.Ciao
Tommaso
-
AutoreRisposte