Hi, perhaps I haven't understood the syntax correctly, but I have tried editing the LaTeX configuration file and I am getting no love. I wanted to add a quote environment. I tried the following which has no apparent effect:
quote = { triggers = ( 'qu', 'quote'); };
All the best, Mark _________________ Mark Eli Kalderon Department of Philosophy University College London Gower Street London WC1E 6BT
Dept webpage: http://www.ucl.ac.uk/philosophy Personal wepage: http://www.kalderon.demon.co.uk
On Oct 24, 2006, at 8:37 AM, Mark Eli Kalderon wrote:
Hi, perhaps I haven't understood the syntax correctly, but I have tried editing the LaTeX configuration file and I am getting no love. I wanted to add a quote environment. I tried the following which has no apparent effect:
quote = { triggers = ( 'qu', 'quote'); };
That should have worked, provided you saved the config file after the change. I just tried it, with quotes instead of quote but that shouldn't matter, and it worked just fine. Did you place it inside the "environments" section?
All the best, Mark
Haris
On 24 Oct 2006, at 13:52, Charilaos Skiadas wrote:
On Oct 24, 2006, at 8:37 AM, Mark Eli Kalderon wrote:
Hi, perhaps I haven't understood the syntax correctly, but I have tried editing the LaTeX configuration file and I am getting no love. I wanted to add a quote environment. I tried the following which has no apparent effect:
quote = { triggers = ( 'qu', 'quote'); };
That should have worked, provided you saved the config file after the change. I just tried it, with quotes instead of quote but that shouldn't matter, and it worked just fine. Did you place it inside the "environments" section?
Hi Haris. Yes, I saved the config file, and I placed this in the environments section just above the itemize environment. Best, Mark
On Oct 24, 2006, at 9:36 AM, Mark Eli Kalderon wrote:
On 24 Oct 2006, at 13:52, Charilaos Skiadas wrote:
Hi Haris. Yes, I saved the config file, and I placed this in the environments section just above the itemize environment. Best, Mark
Huh, that should have worked, this is how I changed mine to look, and it worked:
environments = { quote = { triggers = ( 'qu', 'quote'); }; itemize = { triggers = ( 'it', 'item', 'itemize'); content = "\t\item $0"; };
Are you using the built in command to edit this file, or are you editing it in the bundle? Have you done any successful changes? Do all the other triggers there work? What happens if you add an 'i' in the triggers for itemize, does that work then?
Just to make sure we are doing the same things when testing the command, I just open a new document, set its language to LaTeX, then type qu and press shift-command-[ (i.e. command-{)
Haris
On 24 Oct 2006, at 15:28, Charilaos Skiadas wrote:
On Oct 24, 2006, at 9:36 AM, Mark Eli Kalderon wrote:
On 24 Oct 2006, at 13:52, Charilaos Skiadas wrote:
Hi Haris. Yes, I saved the config file, and I placed this in the environments section just above the itemize environment. Best, Mark
Huh, that should have worked, this is how I changed mine to look, and it worked:
environments = { quote = { triggers = ( 'qu', 'quote'); }; itemize = { triggers = ( 'it', 'item', 'itemize'); content = "\t\item $0"; };
Are you using the built in command to edit this file, or are you editing it in the bundle? Have you done any successful changes? Do all the other triggers there work? What happens if you add an 'i' in the triggers for itemize, does that work then?
Just to make sure we are doing the same things when testing the command, I just open a new document, set its language to LaTeX, then type qu and press shift-command-[ (i.e. command-{)
Thanks, a lot, Harris. But before receiving this, I trashed and reinstalled TM, and all works fine now. I must have done something I shouldn't have. Thanks again. Best, Mark