- Questo topic ha 5 risposte, 3 partecipanti ed è stato aggiornato l'ultima volta 21 anni, 11 mesi fa da
rulina.
-
CreatoreTopic
-
10 Aprile 2004 alle 14:00 #2835::
Ciao !
Ho creato un file BIB contenete una serie di riferimenti bibliografici. Premetto che uso WinEdt: Tempo fa avevo una funzionalità molto comoda, digitando \cite{} si apriva in automatico la finestra a cascata contenente la lista delle key degli elementi riportati in bibliografia. Ora non lo fa più e devo ripescare le key direttamente dal file BIB. Come faccio ad attivare o ripristinare tale funzionalità ?
Grazie
Paolo
-
CreatoreTopic
-
AutoreRisposte
-
-
13 Aprile 2004 alle 21:39 #2836::
Ho trovato da solo la soluzione ! 😆
La riporto per chi fosse interessato:When I typed “\cite{}” or “\ref{}” I used to get a popup list of all bibliography items resp. all labels. This doesn’t work anymore.
There are different possibilities:
WinEdt doesn’t find any items. To check whether WinEdt finds your items, open the Gather page (Project | Gather…) and have a look at the Bib resp. the Label tab. If it’s empty, continue with the next question;
The Active String that triggers the popup list, is disabled. Go to Options | Settings | Active Strings and see whether it includes the item “\cite{}” , with the Action:
Exe(“%B\Macros\Active Strings\Cite.edt”);
the box before On Type checked and in the field thereafter “TeX” . Also, if you use the feature of automatic parentheses completion, make sure that before this “\cite{}” you find the item “\cite{” , defined as Relax; and checked. Verify that there is no other “\cite…” which could override the other definition.
To check whether the macro that triggers the popup list is actually called, open it (%B\Macros\Active Strings\Cite.edt resp. Ref.edt) and put something like
Prompt(“Heureka!”);
in the first line, then try again.3.2.4. The Gather Interface does not show any (or not all) items.
WinEdt usually searches for gather items either in the current file, or, if a Main File is set, in all files of the Project Tree. Therefore the Tree has to be built, if your Project consists of more than one file. To do this, open your main document and select Project | Set Main File. Then you can build the Tree in the Project | Tree page. Now click Reset GDI in the Project | Gather page and then Collect Items.
If WinEdt still doesn’t find any items, you are probably trying to get a list of bibliography entries. By default, WinEdt searches for bibliography items in all opened files, if no Main File is set. So if you don’t want to use the Tree feature, you can also get items, if you open the bibliography database (but beware, WinEdt does not check whether any opened databases are actually used to create your bibliography!). So the probably better possibility is to include the bibliography database in the Tree, too. Add something like
%GATHER{yourbibfile.bib}
to your LaTeX document and rebuild the Project Tree.
-
14 Aprile 2004 alle 18:15 #2837
-
14 Aprile 2004 alle 21:18 #2838::
Ho riportato la soluzione in inglese perchè è un copia/incolla da una faq che ho recuperato su http://www.winedt.org. Onestamente non sapevo non si potesse scrivere in inglese nel forum e non avrei avuto comunque tempo di tradurlo …
Se è vietato scrivere in inglese eviterò, qualora mi dovesse capitare, di riportare risposte del tipo di quella che ho inserito.
-
15 Aprile 2004 alle 2:30 #2839
-
7 Ottobre 2004 alle 8:37 #2840::
Ho lo stesso problema che hai avuto tu, ma non riesco a risolverlo con quanto viene da te riportato. Va bene finch’è vado in Option | Setting | Active string e controllo tutti i campi di “\cite{}”. Poi però la mia ignoranza si fa largo. 😳 \\
Questo “To check whether the macro that triggers the popup list is actually called, open it (%B\Macros\Active Strings\Cite.edt resp. Ref.edt) “ come lo faccio?Grazie già sin d’ora
PaolaHo trovato da solo la soluzione ! 😆
La riporto per chi fosse interessato:When I typed “\cite{}” or “\ref{}” I used to get a popup list of all bibliography items resp. all labels. This doesn’t work anymore.
There are different possibilities:
WinEdt doesn’t find any items. To check whether WinEdt finds your items, open the Gather page (Project | Gather…) and have a look at the Bib resp. the Label tab. If it’s empty, continue with the next question;
The Active String that triggers the popup list, is disabled. Go to Options | Settings | Active Strings and see whether it includes the item “\cite{}” , with the Action:
Exe(“%B\Macros\Active Strings\Cite.edt”);
the box before On Type checked and in the field thereafter “TeX” . Also, if you use the feature of automatic parentheses completion, make sure that before this “\cite{}” you find the item “\cite{” , defined as Relax; and checked. Verify that there is no other “\cite…” which could override the other definition.
To check whether the macro that triggers the popup list is actually called, open it (%B\Macros\Active Strings\Cite.edt resp. Ref.edt) and put something like
Prompt(“Heureka!”);
in the first line, then try again.3.2.4. The Gather Interface does not show any (or not all) items.
WinEdt usually searches for gather items either in the current file, or, if a Main File is set, in all files of the Project Tree. Therefore the Tree has to be built, if your Project consists of more than one file. To do this, open your main document and select Project | Set Main File. Then you can build the Tree in the Project | Tree page. Now click Reset GDI in the Project | Gather page and then Collect Items.
If WinEdt still doesn’t find any items, you are probably trying to get a list of bibliography entries. By default, WinEdt searches for bibliography items in all opened files, if no Main File is set. So if you don’t want to use the Tree feature, you can also get items, if you open the bibliography database (but beware, WinEdt does not check whether any opened databases are actually used to create your bibliography!). So the probably better possibility is to include the bibliography database in the Tree, too. Add something like
%GATHER{yourbibfile.bib}
to your LaTeX document and rebuild the Project Tree.
-
-
AutoreRisposte
- Devi essere connesso per rispondere a questo topic.