Re: Help with inserting APA citations

2012-03-26 Thread stefano franchi
Hmm,

I would need to see a bit more of the log, but my guess is you are
using a bib file that contains unicode characters (since the problem
occurs only when you insert references). Bibtex does not play along
very well with unicode. Some would say it does not play at all. If
this is the problem, you basically have two options:

1. go over your bib file and change all the strange characters (all
the characters with diacritic signs, for instance) to their Latex
fakes. For instance an a with acute character becomes {\'a}

2. Alternatively, leave your bib files untouched and switch to a full
unicode tex suite, including a bibliography program that understand
Unicode. I would recommend the biblatex+biber combination, which is
now pretty much supported by lyx (with some preamble code needed,
though).


To confirm the problem:

1. Check the encoding of your bib file. How to do this depend on the
platform you're on. On linux, an easy way (GUI) is to use a  text
editor like Kate or a ref manager like JabRef.

2. Look into your bib file for the reference that gives you problems,
and particularly for the string  Guarantee Program in India Those
two weird characters after India are a telltale of a Unicode problem,
I think. It is a Unicode two-byte sequence that bibtex/Latex does not
understand and renders as single-byte characters


If you can post a fuller version of the log (more context, i.e. more
lines before and after the error) and perhaps the reference that gives
you troubles, I may be able to help more.

Cheers,

Stefano

On Mon, Mar 26, 2012 at 4:36 PM, Shylock Muyengwa
shylock.muyen...@gmail.com wrote:
 I am using Lyx version 2.03 and bibtex (JabRef). I am writing an article
 using the APA style. I am able to insert one reference only  (in the entire
 document) and whenever I cite an new author, and attempt to view the PDF, I
 get an an error message.

 Package inputech Error: Keyboard character not defined and the description
 reads
 [Guarantee Program in India☆}}

 .{\BBCQ}

 You need to provide a definition with \DeclareInputText

 or \DeclareInputMath before using this key.]


 Any help appreciated

 Thanks

 Shylock Muyengwa | PhD Candidate  Managing Editor
 School of Natural Resources  Environment| Center for African Studies
 University of Florida P O Box 112100 | Gainesville, FL 32611-2100
 Office 352.273.4751| Fax 352.392.2435|Home352.846.5459| Google 352.575.0160
 Skype shylockmuyengwa
 P Before printing this e-mail think if it is necessary.





-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas AM University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Help with inserting APA citations

2012-03-26 Thread Shylock Muyengwa
Dear Stefano

Find attached while I try your suggestions.

I am using Windows 7 sorry for not mentioning this in the first place

SM

Shylock Muyengwa | PhD Candidate  Managing Editor
School of Natural Resources  Environment| Center for African Studies
University of Florida P O Box 112100 | Gainesville, FL 32611-2100
Office 352.273.4751| Fax 352.392.2435|Home352.846.5459| Google 352.575.0160
Skype shylockmuyengwa
P Before printing this e-mail think if it is necessary.




On Mon, Mar 26, 2012 at 5:49 PM, stefano franchi
stefano.fran...@gmail.comwrote:

 Hmm,

 I would need to see a bit more of the log, but my guess is you are
 using a bib file that contains unicode characters (since the problem
 occurs only when you insert references). Bibtex does not play along
 very well with unicode. Some would say it does not play at all. If
 this is the problem, you basically have two options:

 1. go over your bib file and change all the strange characters (all
 the characters with diacritic signs, for instance) to their Latex
 fakes. For instance an a with acute character becomes {\'a}

 2. Alternatively, leave your bib files untouched and switch to a full
 unicode tex suite, including a bibliography program that understand
 Unicode. I would recommend the biblatex+biber combination, which is
 now pretty much supported by lyx (with some preamble code needed,
 though).


 To confirm the problem:

 1. Check the encoding of your bib file. How to do this depend on the
 platform you're on. On linux, an easy way (GUI) is to use a  text
 editor like Kate or a ref manager like JabRef.

 2. Look into your bib file for the reference that gives you problems,
 and particularly for the string  Guarantee Program in India Those
 two weird characters after India are a telltale of a Unicode problem,
 I think. It is a Unicode two-byte sequence that bibtex/Latex does not
 understand and renders as single-byte characters


 If you can post a fuller version of the log (more context, i.e. more
 lines before and after the error) and perhaps the reference that gives
 you troubles, I may be able to help more.

 Cheers,

 Stefano

 On Mon, Mar 26, 2012 at 4:36 PM, Shylock Muyengwa
 shylock.muyen...@gmail.com wrote:
  I am using Lyx version 2.03 and bibtex (JabRef). I am writing an article
  using the APA style. I am able to insert one reference only  (in the
 entire
  document) and whenever I cite an new author, and attempt to view the
 PDF, I
  get an an error message.
 
  Package inputech Error: Keyboard character not defined and the
 description
  reads
  [Guarantee Program in India☆}}
 
  .{\BBCQ}
 
  You need to provide a definition with \DeclareInputText
 
  or \DeclareInputMath before using this key.]
 
 
  Any help appreciated
 
  Thanks
 
  Shylock Muyengwa | PhD Candidate  Managing Editor
  School of Natural Resources  Environment| Center for African Studies
  University of Florida P O Box 112100 | Gainesville, FL 32611-2100
  Office 352.273.4751| Fax 352.392.2435|Home352.846.5459| Google
 352.575.0160
  Skype shylockmuyengwa
  P Before printing this e-mail think if it is necessary.
 
 



 --
 __
 Stefano Franchi
 Associate Research Professor
 Department of Hispanic StudiesPh:   +1 (979) 845-2125
 Texas AM University  Fax:  +1 (979) 845-6421
 College Station, Texas, USA

 stef...@tamu.edu
 http://stefano.cleinias.org

This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9) (preloaded 
format=pdflatex 2012.2.19)  26 MAR 2012 17:51
entering extended mode
**cooptncounter.tex

(C:\Users\abia\AppData\Local\Temp\lyx_tmpdir.Hp4316\lyx_tmpbuf9\cooptncounter.t
ex
LaTeX2e 2011/06/27
Babel v3.8m and hyphenation patterns for english, afrikaans, ancientgreek, ar
abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic, 
croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga
lician, german, german-x-2009-06-19, greek, gujarati, hindi, hungarian, iceland
ic, indonesian, interlingua, irish, italian, kannada, kurmanji, lao, latin, lat
vian, lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerm
an, ngerman-x-2009-06-19, nynorsk, oriya, panjabi, pinyin, polish, portuguese, 
romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swis
sgerman, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, u
senglishmax, welsh, loaded.

(C:\Program Files\MiKTeX 2.9\tex\latex\apa\apa.cls
Document Class: apa 2008/12/09 American Psychological Association format v1.3.4


Class apa Warning: Using BibTeX with apacite for citations and references.

(C:\Program Files\MiKTeX 2.9\tex\latex\base\article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(C:\Program Files\MiKTeX 2.9\tex\latex\base\size12.clo
File: size12.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82

Re: Help with inserting APA citations

2012-03-26 Thread stefano franchi
Well,

I am out of my depth when it comes to Windows, but the problem seems
to be related to line 29 of your bbl file. So it is a reference that
gives you problems, most likely. And my guess is that it is the
reference with key Jha2009 (your second one). What does it look like?
Does it contain any strange char? Perhaps it is malformed (missing
braces, etc)? Can you post it (not the whole bib file, just that ref)?


Cheers,

Stefano




On Mon, Mar 26, 2012 at 4:55 PM, Shylock Muyengwa
shylock.muyen...@gmail.com wrote:
 Dear Stefano

 Find attached while I try your suggestions.

 I am using Windows 7 sorry for not mentioning this in the first place

 SM

 Shylock Muyengwa | PhD Candidate  Managing Editor
 School of Natural Resources  Environment| Center for African Studies
 University of Florida P O Box 112100 | Gainesville, FL 32611-2100
 Office 352.273.4751| Fax 352.392.2435|Home352.846.5459| Google 352.575.0160
 Skype shylockmuyengwa
 P Before printing this e-mail think if it is necessary.




 On Mon, Mar 26, 2012 at 5:49 PM, stefano franchi stefano.fran...@gmail.com
 wrote:

 Hmm,

 I would need to see a bit more of the log, but my guess is you are
 using a bib file that contains unicode characters (since the problem
 occurs only when you insert references). Bibtex does not play along
 very well with unicode. Some would say it does not play at all. If
 this is the problem, you basically have two options:

 1. go over your bib file and change all the strange characters (all
 the characters with diacritic signs, for instance) to their Latex
 fakes. For instance an a with acute character becomes {\'a}

 2. Alternatively, leave your bib files untouched and switch to a full
 unicode tex suite, including a bibliography program that understand
 Unicode. I would recommend the biblatex+biber combination, which is
 now pretty much supported by lyx (with some preamble code needed,
 though).


 To confirm the problem:

 1. Check the encoding of your bib file. How to do this depend on the
 platform you're on. On linux, an easy way (GUI) is to use a  text
 editor like Kate or a ref manager like JabRef.

 2. Look into your bib file for the reference that gives you problems,
 and particularly for the string  Guarantee Program in India Those
 two weird characters after India are a telltale of a Unicode problem,
 I think. It is a Unicode two-byte sequence that bibtex/Latex does not
 understand and renders as single-byte characters


 If you can post a fuller version of the log (more context, i.e. more
 lines before and after the error) and perhaps the reference that gives
 you troubles, I may be able to help more.

 Cheers,

 Stefano

 On Mon, Mar 26, 2012 at 4:36 PM, Shylock Muyengwa
 shylock.muyen...@gmail.com wrote:
  I am using Lyx version 2.03 and bibtex (JabRef). I am writing an article
  using the APA style. I am able to insert one reference only  (in the
  entire
  document) and whenever I cite an new author, and attempt to view the
  PDF, I
  get an an error message.
 
  Package inputech Error: Keyboard character not defined and the
  description
  reads
  [Guarantee Program in India☆}}
 
  .{\BBCQ}
 
  You need to provide a definition with \DeclareInputText
 
  or \DeclareInputMath before using this key.]
 
 
  Any help appreciated
 
  Thanks
 
  Shylock Muyengwa | PhD Candidate  Managing Editor
  School of Natural Resources  Environment| Center for African Studies
  University of Florida P O Box 112100 | Gainesville, FL 32611-2100
  Office 352.273.4751| Fax 352.392.2435|Home352.846.5459| Google
  352.575.0160
  Skype shylockmuyengwa
  P Before printing this e-mail think if it is necessary.
 
 



 --
 __
 Stefano Franchi
 Associate Research Professor
 Department of Hispanic Studies            Ph:   +1 (979) 845-2125
 Texas AM University                          Fax:  +1 (979) 845-6421
 College Station, Texas, USA

 stef...@tamu.edu
 http://stefano.cleinias.org





-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas AM University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Help with inserting APA citations

2012-03-26 Thread Shylock Muyengwa
Find below.
Thanks Stefano.
You are right is has strange characters. I migrated my entire library from
Mendeley. I guess the encoding did not go well. I would rather switch the
reference manager than redo all references because the database is huge. I
hope the biblatex+biber combination will help

@ARTICLE{Jha2009,
  author = {Jha, Raghbendra and Bhattacharyya, Sambit and Gaiha, Raghav and
Shankar,
 Shylashri},
  title = {{“Capture� of anti-poverty programs: An analysis of the
National
 Rural Employment Guarantee Program in India☆}},
  journal = {Journal of Asian Economics},
  year = {2009},
  volume = {20},
  pages = {456--464},
  number = {4},
  month = sep,
  doi = {10.1016/j.asieco.2009.03.003},
  isbn = {1049-0078},
  issn = {10490078},
  keywords = {Capture Poverty India},
  url = {
http://www.sciencedirect.com/science/article/B6W53-4VY2C8H-1/2/7ee81d588faaf47a92855ffd6bfba464
http://linkinghub.elsevier.com/retrieve/pii/S1049007809000311}
}


Shylock Muyengwa | PhD Candidate  Managing Editor
School of Natural Resources  Environment| Center for African Studies
University of Florida P O Box 112100 | Gainesville, FL 32611-2100
Office 352.273.4751| Fax 352.392.2435|Home352.846.5459| Google 352.575.0160
Skype shylockmuyengwa
P Before printing this e-mail think if it is necessary.




On Mon, Mar 26, 2012 at 6:19 PM, stefano franchi
stefano.fran...@gmail.comwrote:

 Well,

 I am out of my depth when it comes to Windows, but the problem seems
 to be related to line 29 of your bbl file. So it is a reference that
 gives you problems, most likely. And my guess is that it is the
 reference with key Jha2009 (your second one). What does it look like?
 Does it contain any strange char? Perhaps it is malformed (missing
 braces, etc)? Can you post it (not the whole bib file, just that ref)?


 Cheers,

 Stefano




 On Mon, Mar 26, 2012 at 4:55 PM, Shylock Muyengwa
 shylock.muyen...@gmail.com wrote:
  Dear Stefano
 
  Find attached while I try your suggestions.
 
  I am using Windows 7 sorry for not mentioning this in the first place
 
  SM
 
  Shylock Muyengwa | PhD Candidate  Managing Editor
  School of Natural Resources  Environment| Center for African Studies
  University of Florida P O Box 112100 | Gainesville, FL 32611-2100
  Office 352.273.4751| Fax 352.392.2435|Home352.846.5459| Google
 352.575.0160
  Skype shylockmuyengwa
  P Before printing this e-mail think if it is necessary.
 
 
 
 
  On Mon, Mar 26, 2012 at 5:49 PM, stefano franchi 
 stefano.fran...@gmail.com
  wrote:
 
  Hmm,
 
  I would need to see a bit more of the log, but my guess is you are
  using a bib file that contains unicode characters (since the problem
  occurs only when you insert references). Bibtex does not play along
  very well with unicode. Some would say it does not play at all. If
  this is the problem, you basically have two options:
 
  1. go over your bib file and change all the strange characters (all
  the characters with diacritic signs, for instance) to their Latex
  fakes. For instance an a with acute character becomes {\'a}
 
  2. Alternatively, leave your bib files untouched and switch to a full
  unicode tex suite, including a bibliography program that understand
  Unicode. I would recommend the biblatex+biber combination, which is
  now pretty much supported by lyx (with some preamble code needed,
  though).
 
 
  To confirm the problem:
 
  1. Check the encoding of your bib file. How to do this depend on the
  platform you're on. On linux, an easy way (GUI) is to use a  text
  editor like Kate or a ref manager like JabRef.
 
  2. Look into your bib file for the reference that gives you problems,
  and particularly for the string  Guarantee Program in India Those
  two weird characters after India are a telltale of a Unicode problem,
  I think. It is a Unicode two-byte sequence that bibtex/Latex does not
  understand and renders as single-byte characters
 
 
  If you can post a fuller version of the log (more context, i.e. more
  lines before and after the error) and perhaps the reference that gives
  you troubles, I may be able to help more.
 
  Cheers,
 
  Stefano
 
  On Mon, Mar 26, 2012 at 4:36 PM, Shylock Muyengwa
  shylock.muyen...@gmail.com wrote:
   I am using Lyx version 2.03 and bibtex (JabRef). I am writing an
 article
   using the APA style. I am able to insert one reference only  (in the
   entire
   document) and whenever I cite an new author, and attempt to view the
   PDF, I
   get an an error message.
  
   Package inputech Error: Keyboard character not defined and the
   description
   reads
   [Guarantee Program in India☆}}
  
   .{\BBCQ}
  
   You need to provide a definition with \DeclareInputText
  
   or \DeclareInputMath before using this key.]
  
  
   Any help appreciated
  
   Thanks
  
   Shylock Muyengwa | PhD Candidate  Managing Editor
   School of Natural Resources  Environment| Center for African Studies
   University of Florida P O Box 112100 | Gainesville, FL 32611-2100
   

Re: Help with inserting APA citations

2012-03-26 Thread stefano franchi
Actually, I think you have a much simpler problem: your bib file is
corrupted (probably because of the translation from Mendeley). There
are no strange character in the original ref. Here is the correct ref,
just downloaded from
http://ideas.repec.org/p/pas/asarcc/2008-07.html#biblio

@TechReport{RePEc:pas:asarcc:2008-07,
  author={Raghbendra Jha and Sambit Bhattacharyya and Raghav Gaiha and
Shylashri Shankar},
  title={Capture of Anti-Poverty Programs: An Analysis of the National
Rural Employment Guarantee Program in India},
  year=2008,
  month= ,
  institution={Australian National University, Australia South Asia
Research Centre},
  type={ASARC Working Papers},
  url={http://ideas.repec.org/p/pas/asarcc/2008-07.html},
  number={2008-07},
  abstract={Using pooled household level data for the Indian states of
Rajasthan and Andhra Pradesh we find that the size of landholdings is
a negative predictor of participation in the National Rural Employment
Guarantee Program (NREGP). In state level analysis this pattern
survives in Rajasthan but reverses in Andhra Pradesh where we notice a
positive relationship. This paper examines whether this sign reversal
in Andhra Pradesh is indicative of program capture in Andhra Pradesh
and better targeting in Rajasthan. We compare land inequality,
political interference, and geographical remoteness across the two
states and conclude that program capture may be an issue in Andhra
Pradesh, largely because of these reasons. We also find evidence of
complementarity between NREGP and the Public Distribution System
(PDS).},
  keywords={Capture; Poverty; India}
}

it is a perfectly standard bibtex ref. So, forget what I said about
unicode, etcetera. Just go back to Mendeley and look into the export
actions you originally took. I think something went wrong there. It
may be an encoding issue. Sorry I cannot help more, but I've never
used mendeley.

Cheers,

Stefano





-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas AM University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Help with inserting APA citations

2012-03-26 Thread Shylock Muyengwa
Thanks Steffano

I edited the reference and everything works well


Shylock Muyengwa | PhD Candidate  Managing Editor
School of Natural Resources  Environment| Center for African Studies
University of Florida P O Box 112100 | Gainesville, FL 32611-2100
Office 352.273.4751| Fax 352.392.2435|Home352.846.5459| Google 352.575.0160
Skype shylockmuyengwa
P Before printing this e-mail think if it is necessary.




On Mon, Mar 26, 2012 at 6:40 PM, stefano franchi
stefano.fran...@gmail.comwrote:

 Actually, I think you have a much simpler problem: your bib file is
 corrupted (probably because of the translation from Mendeley). There
 are no strange character in the original ref. Here is the correct ref,
 just downloaded from
 http://ideas.repec.org/p/pas/asarcc/2008-07.html#biblio

 @TechReport{RePEc:pas:asarcc:2008-07,
  author={Raghbendra Jha and Sambit Bhattacharyya and Raghav Gaiha and
 Shylashri Shankar},
  title={Capture of Anti-Poverty Programs: An Analysis of the National
 Rural Employment Guarantee Program in India},
  year=2008,
  month= ,
  institution={Australian National University, Australia South Asia
 Research Centre},
  type={ASARC Working Papers},
  url={http://ideas.repec.org/p/pas/asarcc/2008-07.html},
  number={2008-07},
  abstract={Using pooled household level data for the Indian states of
 Rajasthan and Andhra Pradesh we find that the size of landholdings is
 a negative predictor of participation in the National Rural Employment
 Guarantee Program (NREGP). In state level analysis this pattern
 survives in Rajasthan but reverses in Andhra Pradesh where we notice a
 positive relationship. This paper examines whether this sign reversal
 in Andhra Pradesh is indicative of program capture in Andhra Pradesh
 and better targeting in Rajasthan. We compare land inequality,
 political interference, and geographical remoteness across the two
 states and conclude that program capture may be an issue in Andhra
 Pradesh, largely because of these reasons. We also find evidence of
 complementarity between NREGP and the Public Distribution System
 (PDS).},
  keywords={Capture; Poverty; India}
 }

 it is a perfectly standard bibtex ref. So, forget what I said about
 unicode, etcetera. Just go back to Mendeley and look into the export
 actions you originally took. I think something went wrong there. It
 may be an encoding issue. Sorry I cannot help more, but I've never
 used mendeley.

 Cheers,

 Stefano





 --
 __
 Stefano Franchi
 Associate Research Professor
 Department of Hispanic StudiesPh:   +1 (979) 845-2125
 Texas AM University  Fax:  +1 (979) 845-6421
 College Station, Texas, USA

 stef...@tamu.edu
 http://stefano.cleinias.org



Re: Help with inserting APA citations

2012-03-26 Thread stefano franchi
Hmm,

I would need to see a bit more of the log, but my guess is you are
using a bib file that contains unicode characters (since the problem
occurs only when you insert references). Bibtex does not play along
very well with unicode. Some would say it does not play at all. If
this is the problem, you basically have two options:

1. go over your bib file and change all the strange characters (all
the characters with diacritic signs, for instance) to their Latex
fakes. For instance an a with acute character becomes {\'a}

2. Alternatively, leave your bib files untouched and switch to a full
unicode tex suite, including a bibliography program that understand
Unicode. I would recommend the biblatex+biber combination, which is
now pretty much supported by lyx (with some preamble code needed,
though).


To confirm the problem:

1. Check the encoding of your bib file. How to do this depend on the
platform you're on. On linux, an easy way (GUI) is to use a  text
editor like Kate or a ref manager like JabRef.

2. Look into your bib file for the reference that gives you problems,
and particularly for the string  Guarantee Program in India Those
two weird characters after India are a telltale of a Unicode problem,
I think. It is a Unicode two-byte sequence that bibtex/Latex does not
understand and renders as single-byte characters


If you can post a fuller version of the log (more context, i.e. more
lines before and after the error) and perhaps the reference that gives
you troubles, I may be able to help more.

Cheers,

Stefano

On Mon, Mar 26, 2012 at 4:36 PM, Shylock Muyengwa
shylock.muyen...@gmail.com wrote:
 I am using Lyx version 2.03 and bibtex (JabRef). I am writing an article
 using the APA style. I am able to insert one reference only  (in the entire
 document) and whenever I cite an new author, and attempt to view the PDF, I
 get an an error message.

 Package inputech Error: Keyboard character not defined and the description
 reads
 [Guarantee Program in India☆}}

 .{\BBCQ}

 You need to provide a definition with \DeclareInputText

 or \DeclareInputMath before using this key.]


 Any help appreciated

 Thanks

 Shylock Muyengwa | PhD Candidate  Managing Editor
 School of Natural Resources  Environment| Center for African Studies
 University of Florida P O Box 112100 | Gainesville, FL 32611-2100
 Office 352.273.4751| Fax 352.392.2435|Home352.846.5459| Google 352.575.0160
 Skype shylockmuyengwa
 P Before printing this e-mail think if it is necessary.





-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas AM University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Help with inserting APA citations

2012-03-26 Thread Shylock Muyengwa
Dear Stefano

Find attached while I try your suggestions.

I am using Windows 7 sorry for not mentioning this in the first place

SM

Shylock Muyengwa | PhD Candidate  Managing Editor
School of Natural Resources  Environment| Center for African Studies
University of Florida P O Box 112100 | Gainesville, FL 32611-2100
Office 352.273.4751| Fax 352.392.2435|Home352.846.5459| Google 352.575.0160
Skype shylockmuyengwa
P Before printing this e-mail think if it is necessary.




On Mon, Mar 26, 2012 at 5:49 PM, stefano franchi
stefano.fran...@gmail.comwrote:

 Hmm,

 I would need to see a bit more of the log, but my guess is you are
 using a bib file that contains unicode characters (since the problem
 occurs only when you insert references). Bibtex does not play along
 very well with unicode. Some would say it does not play at all. If
 this is the problem, you basically have two options:

 1. go over your bib file and change all the strange characters (all
 the characters with diacritic signs, for instance) to their Latex
 fakes. For instance an a with acute character becomes {\'a}

 2. Alternatively, leave your bib files untouched and switch to a full
 unicode tex suite, including a bibliography program that understand
 Unicode. I would recommend the biblatex+biber combination, which is
 now pretty much supported by lyx (with some preamble code needed,
 though).


 To confirm the problem:

 1. Check the encoding of your bib file. How to do this depend on the
 platform you're on. On linux, an easy way (GUI) is to use a  text
 editor like Kate or a ref manager like JabRef.

 2. Look into your bib file for the reference that gives you problems,
 and particularly for the string  Guarantee Program in India Those
 two weird characters after India are a telltale of a Unicode problem,
 I think. It is a Unicode two-byte sequence that bibtex/Latex does not
 understand and renders as single-byte characters


 If you can post a fuller version of the log (more context, i.e. more
 lines before and after the error) and perhaps the reference that gives
 you troubles, I may be able to help more.

 Cheers,

 Stefano

 On Mon, Mar 26, 2012 at 4:36 PM, Shylock Muyengwa
 shylock.muyen...@gmail.com wrote:
  I am using Lyx version 2.03 and bibtex (JabRef). I am writing an article
  using the APA style. I am able to insert one reference only  (in the
 entire
  document) and whenever I cite an new author, and attempt to view the
 PDF, I
  get an an error message.
 
  Package inputech Error: Keyboard character not defined and the
 description
  reads
  [Guarantee Program in India☆}}
 
  .{\BBCQ}
 
  You need to provide a definition with \DeclareInputText
 
  or \DeclareInputMath before using this key.]
 
 
  Any help appreciated
 
  Thanks
 
  Shylock Muyengwa | PhD Candidate  Managing Editor
  School of Natural Resources  Environment| Center for African Studies
  University of Florida P O Box 112100 | Gainesville, FL 32611-2100
  Office 352.273.4751| Fax 352.392.2435|Home352.846.5459| Google
 352.575.0160
  Skype shylockmuyengwa
  P Before printing this e-mail think if it is necessary.
 
 



 --
 __
 Stefano Franchi
 Associate Research Professor
 Department of Hispanic StudiesPh:   +1 (979) 845-2125
 Texas AM University  Fax:  +1 (979) 845-6421
 College Station, Texas, USA

 stef...@tamu.edu
 http://stefano.cleinias.org

This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9) (preloaded 
format=pdflatex 2012.2.19)  26 MAR 2012 17:51
entering extended mode
**cooptncounter.tex

(C:\Users\abia\AppData\Local\Temp\lyx_tmpdir.Hp4316\lyx_tmpbuf9\cooptncounter.t
ex
LaTeX2e 2011/06/27
Babel v3.8m and hyphenation patterns for english, afrikaans, ancientgreek, ar
abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic, 
croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga
lician, german, german-x-2009-06-19, greek, gujarati, hindi, hungarian, iceland
ic, indonesian, interlingua, irish, italian, kannada, kurmanji, lao, latin, lat
vian, lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerm
an, ngerman-x-2009-06-19, nynorsk, oriya, panjabi, pinyin, polish, portuguese, 
romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swis
sgerman, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, u
senglishmax, welsh, loaded.

(C:\Program Files\MiKTeX 2.9\tex\latex\apa\apa.cls
Document Class: apa 2008/12/09 American Psychological Association format v1.3.4


Class apa Warning: Using BibTeX with apacite for citations and references.

(C:\Program Files\MiKTeX 2.9\tex\latex\base\article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(C:\Program Files\MiKTeX 2.9\tex\latex\base\size12.clo
File: size12.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82

Re: Help with inserting APA citations

2012-03-26 Thread stefano franchi
Well,

I am out of my depth when it comes to Windows, but the problem seems
to be related to line 29 of your bbl file. So it is a reference that
gives you problems, most likely. And my guess is that it is the
reference with key Jha2009 (your second one). What does it look like?
Does it contain any strange char? Perhaps it is malformed (missing
braces, etc)? Can you post it (not the whole bib file, just that ref)?


Cheers,

Stefano




On Mon, Mar 26, 2012 at 4:55 PM, Shylock Muyengwa
shylock.muyen...@gmail.com wrote:
 Dear Stefano

 Find attached while I try your suggestions.

 I am using Windows 7 sorry for not mentioning this in the first place

 SM

 Shylock Muyengwa | PhD Candidate  Managing Editor
 School of Natural Resources  Environment| Center for African Studies
 University of Florida P O Box 112100 | Gainesville, FL 32611-2100
 Office 352.273.4751| Fax 352.392.2435|Home352.846.5459| Google 352.575.0160
 Skype shylockmuyengwa
 P Before printing this e-mail think if it is necessary.




 On Mon, Mar 26, 2012 at 5:49 PM, stefano franchi stefano.fran...@gmail.com
 wrote:

 Hmm,

 I would need to see a bit more of the log, but my guess is you are
 using a bib file that contains unicode characters (since the problem
 occurs only when you insert references). Bibtex does not play along
 very well with unicode. Some would say it does not play at all. If
 this is the problem, you basically have two options:

 1. go over your bib file and change all the strange characters (all
 the characters with diacritic signs, for instance) to their Latex
 fakes. For instance an a with acute character becomes {\'a}

 2. Alternatively, leave your bib files untouched and switch to a full
 unicode tex suite, including a bibliography program that understand
 Unicode. I would recommend the biblatex+biber combination, which is
 now pretty much supported by lyx (with some preamble code needed,
 though).


 To confirm the problem:

 1. Check the encoding of your bib file. How to do this depend on the
 platform you're on. On linux, an easy way (GUI) is to use a  text
 editor like Kate or a ref manager like JabRef.

 2. Look into your bib file for the reference that gives you problems,
 and particularly for the string  Guarantee Program in India Those
 two weird characters after India are a telltale of a Unicode problem,
 I think. It is a Unicode two-byte sequence that bibtex/Latex does not
 understand and renders as single-byte characters


 If you can post a fuller version of the log (more context, i.e. more
 lines before and after the error) and perhaps the reference that gives
 you troubles, I may be able to help more.

 Cheers,

 Stefano

 On Mon, Mar 26, 2012 at 4:36 PM, Shylock Muyengwa
 shylock.muyen...@gmail.com wrote:
  I am using Lyx version 2.03 and bibtex (JabRef). I am writing an article
  using the APA style. I am able to insert one reference only  (in the
  entire
  document) and whenever I cite an new author, and attempt to view the
  PDF, I
  get an an error message.
 
  Package inputech Error: Keyboard character not defined and the
  description
  reads
  [Guarantee Program in India☆}}
 
  .{\BBCQ}
 
  You need to provide a definition with \DeclareInputText
 
  or \DeclareInputMath before using this key.]
 
 
  Any help appreciated
 
  Thanks
 
  Shylock Muyengwa | PhD Candidate  Managing Editor
  School of Natural Resources  Environment| Center for African Studies
  University of Florida P O Box 112100 | Gainesville, FL 32611-2100
  Office 352.273.4751| Fax 352.392.2435|Home352.846.5459| Google
  352.575.0160
  Skype shylockmuyengwa
  P Before printing this e-mail think if it is necessary.
 
 



 --
 __
 Stefano Franchi
 Associate Research Professor
 Department of Hispanic Studies            Ph:   +1 (979) 845-2125
 Texas AM University                          Fax:  +1 (979) 845-6421
 College Station, Texas, USA

 stef...@tamu.edu
 http://stefano.cleinias.org





-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas AM University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Help with inserting APA citations

2012-03-26 Thread Shylock Muyengwa
Find below.
Thanks Stefano.
You are right is has strange characters. I migrated my entire library from
Mendeley. I guess the encoding did not go well. I would rather switch the
reference manager than redo all references because the database is huge. I
hope the biblatex+biber combination will help

@ARTICLE{Jha2009,
  author = {Jha, Raghbendra and Bhattacharyya, Sambit and Gaiha, Raghav and
Shankar,
 Shylashri},
  title = {{“Capture� of anti-poverty programs: An analysis of the
National
 Rural Employment Guarantee Program in India☆}},
  journal = {Journal of Asian Economics},
  year = {2009},
  volume = {20},
  pages = {456--464},
  number = {4},
  month = sep,
  doi = {10.1016/j.asieco.2009.03.003},
  isbn = {1049-0078},
  issn = {10490078},
  keywords = {Capture Poverty India},
  url = {
http://www.sciencedirect.com/science/article/B6W53-4VY2C8H-1/2/7ee81d588faaf47a92855ffd6bfba464
http://linkinghub.elsevier.com/retrieve/pii/S1049007809000311}
}


Shylock Muyengwa | PhD Candidate  Managing Editor
School of Natural Resources  Environment| Center for African Studies
University of Florida P O Box 112100 | Gainesville, FL 32611-2100
Office 352.273.4751| Fax 352.392.2435|Home352.846.5459| Google 352.575.0160
Skype shylockmuyengwa
P Before printing this e-mail think if it is necessary.




On Mon, Mar 26, 2012 at 6:19 PM, stefano franchi
stefano.fran...@gmail.comwrote:

 Well,

 I am out of my depth when it comes to Windows, but the problem seems
 to be related to line 29 of your bbl file. So it is a reference that
 gives you problems, most likely. And my guess is that it is the
 reference with key Jha2009 (your second one). What does it look like?
 Does it contain any strange char? Perhaps it is malformed (missing
 braces, etc)? Can you post it (not the whole bib file, just that ref)?


 Cheers,

 Stefano




 On Mon, Mar 26, 2012 at 4:55 PM, Shylock Muyengwa
 shylock.muyen...@gmail.com wrote:
  Dear Stefano
 
  Find attached while I try your suggestions.
 
  I am using Windows 7 sorry for not mentioning this in the first place
 
  SM
 
  Shylock Muyengwa | PhD Candidate  Managing Editor
  School of Natural Resources  Environment| Center for African Studies
  University of Florida P O Box 112100 | Gainesville, FL 32611-2100
  Office 352.273.4751| Fax 352.392.2435|Home352.846.5459| Google
 352.575.0160
  Skype shylockmuyengwa
  P Before printing this e-mail think if it is necessary.
 
 
 
 
  On Mon, Mar 26, 2012 at 5:49 PM, stefano franchi 
 stefano.fran...@gmail.com
  wrote:
 
  Hmm,
 
  I would need to see a bit more of the log, but my guess is you are
  using a bib file that contains unicode characters (since the problem
  occurs only when you insert references). Bibtex does not play along
  very well with unicode. Some would say it does not play at all. If
  this is the problem, you basically have two options:
 
  1. go over your bib file and change all the strange characters (all
  the characters with diacritic signs, for instance) to their Latex
  fakes. For instance an a with acute character becomes {\'a}
 
  2. Alternatively, leave your bib files untouched and switch to a full
  unicode tex suite, including a bibliography program that understand
  Unicode. I would recommend the biblatex+biber combination, which is
  now pretty much supported by lyx (with some preamble code needed,
  though).
 
 
  To confirm the problem:
 
  1. Check the encoding of your bib file. How to do this depend on the
  platform you're on. On linux, an easy way (GUI) is to use a  text
  editor like Kate or a ref manager like JabRef.
 
  2. Look into your bib file for the reference that gives you problems,
  and particularly for the string  Guarantee Program in India Those
  two weird characters after India are a telltale of a Unicode problem,
  I think. It is a Unicode two-byte sequence that bibtex/Latex does not
  understand and renders as single-byte characters
 
 
  If you can post a fuller version of the log (more context, i.e. more
  lines before and after the error) and perhaps the reference that gives
  you troubles, I may be able to help more.
 
  Cheers,
 
  Stefano
 
  On Mon, Mar 26, 2012 at 4:36 PM, Shylock Muyengwa
  shylock.muyen...@gmail.com wrote:
   I am using Lyx version 2.03 and bibtex (JabRef). I am writing an
 article
   using the APA style. I am able to insert one reference only  (in the
   entire
   document) and whenever I cite an new author, and attempt to view the
   PDF, I
   get an an error message.
  
   Package inputech Error: Keyboard character not defined and the
   description
   reads
   [Guarantee Program in India☆}}
  
   .{\BBCQ}
  
   You need to provide a definition with \DeclareInputText
  
   or \DeclareInputMath before using this key.]
  
  
   Any help appreciated
  
   Thanks
  
   Shylock Muyengwa | PhD Candidate  Managing Editor
   School of Natural Resources  Environment| Center for African Studies
   University of Florida P O Box 112100 | Gainesville, FL 32611-2100
   

Re: Help with inserting APA citations

2012-03-26 Thread stefano franchi
Actually, I think you have a much simpler problem: your bib file is
corrupted (probably because of the translation from Mendeley). There
are no strange character in the original ref. Here is the correct ref,
just downloaded from
http://ideas.repec.org/p/pas/asarcc/2008-07.html#biblio

@TechReport{RePEc:pas:asarcc:2008-07,
  author={Raghbendra Jha and Sambit Bhattacharyya and Raghav Gaiha and
Shylashri Shankar},
  title={Capture of Anti-Poverty Programs: An Analysis of the National
Rural Employment Guarantee Program in India},
  year=2008,
  month= ,
  institution={Australian National University, Australia South Asia
Research Centre},
  type={ASARC Working Papers},
  url={http://ideas.repec.org/p/pas/asarcc/2008-07.html},
  number={2008-07},
  abstract={Using pooled household level data for the Indian states of
Rajasthan and Andhra Pradesh we find that the size of landholdings is
a negative predictor of participation in the National Rural Employment
Guarantee Program (NREGP). In state level analysis this pattern
survives in Rajasthan but reverses in Andhra Pradesh where we notice a
positive relationship. This paper examines whether this sign reversal
in Andhra Pradesh is indicative of program capture in Andhra Pradesh
and better targeting in Rajasthan. We compare land inequality,
political interference, and geographical remoteness across the two
states and conclude that program capture may be an issue in Andhra
Pradesh, largely because of these reasons. We also find evidence of
complementarity between NREGP and the Public Distribution System
(PDS).},
  keywords={Capture; Poverty; India}
}

it is a perfectly standard bibtex ref. So, forget what I said about
unicode, etcetera. Just go back to Mendeley and look into the export
actions you originally took. I think something went wrong there. It
may be an encoding issue. Sorry I cannot help more, but I've never
used mendeley.

Cheers,

Stefano





-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas AM University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Help with inserting APA citations

2012-03-26 Thread Shylock Muyengwa
Thanks Steffano

I edited the reference and everything works well


Shylock Muyengwa | PhD Candidate  Managing Editor
School of Natural Resources  Environment| Center for African Studies
University of Florida P O Box 112100 | Gainesville, FL 32611-2100
Office 352.273.4751| Fax 352.392.2435|Home352.846.5459| Google 352.575.0160
Skype shylockmuyengwa
P Before printing this e-mail think if it is necessary.




On Mon, Mar 26, 2012 at 6:40 PM, stefano franchi
stefano.fran...@gmail.comwrote:

 Actually, I think you have a much simpler problem: your bib file is
 corrupted (probably because of the translation from Mendeley). There
 are no strange character in the original ref. Here is the correct ref,
 just downloaded from
 http://ideas.repec.org/p/pas/asarcc/2008-07.html#biblio

 @TechReport{RePEc:pas:asarcc:2008-07,
  author={Raghbendra Jha and Sambit Bhattacharyya and Raghav Gaiha and
 Shylashri Shankar},
  title={Capture of Anti-Poverty Programs: An Analysis of the National
 Rural Employment Guarantee Program in India},
  year=2008,
  month= ,
  institution={Australian National University, Australia South Asia
 Research Centre},
  type={ASARC Working Papers},
  url={http://ideas.repec.org/p/pas/asarcc/2008-07.html},
  number={2008-07},
  abstract={Using pooled household level data for the Indian states of
 Rajasthan and Andhra Pradesh we find that the size of landholdings is
 a negative predictor of participation in the National Rural Employment
 Guarantee Program (NREGP). In state level analysis this pattern
 survives in Rajasthan but reverses in Andhra Pradesh where we notice a
 positive relationship. This paper examines whether this sign reversal
 in Andhra Pradesh is indicative of program capture in Andhra Pradesh
 and better targeting in Rajasthan. We compare land inequality,
 political interference, and geographical remoteness across the two
 states and conclude that program capture may be an issue in Andhra
 Pradesh, largely because of these reasons. We also find evidence of
 complementarity between NREGP and the Public Distribution System
 (PDS).},
  keywords={Capture; Poverty; India}
 }

 it is a perfectly standard bibtex ref. So, forget what I said about
 unicode, etcetera. Just go back to Mendeley and look into the export
 actions you originally took. I think something went wrong there. It
 may be an encoding issue. Sorry I cannot help more, but I've never
 used mendeley.

 Cheers,

 Stefano





 --
 __
 Stefano Franchi
 Associate Research Professor
 Department of Hispanic StudiesPh:   +1 (979) 845-2125
 Texas AM University  Fax:  +1 (979) 845-6421
 College Station, Texas, USA

 stef...@tamu.edu
 http://stefano.cleinias.org



Re: Help with inserting APA citations

2012-03-26 Thread stefano franchi
Hmm,

I would need to see a bit more of the log, but my guess is you are
using a bib file that contains unicode characters (since the problem
occurs only when you insert references). Bibtex does not play along
very well with unicode. Some would say it does not play at all. If
this is the problem, you basically have two options:

1. go over your bib file and change all the "strange" characters (all
the characters with diacritic signs, for instance) to their Latex
"fakes". For instance an a with acute character becomes {\'a}

2. Alternatively, leave your bib files untouched and switch to a full
unicode tex suite, including a bibliography program that understand
Unicode. I would recommend the biblatex+biber combination, which is
now pretty much supported by lyx (with some preamble code needed,
though).


To confirm the problem:

1. Check the encoding of your bib file. How to do this depend on the
platform you're on. On linux, an easy way (GUI) is to use a  text
editor like Kate or a ref manager like JabRef.

2. Look into your bib file for the reference that gives you problems,
and particularly for the string  "Guarantee Program in India" Those
two weird characters after India are a telltale of a Unicode problem,
I think. It is a Unicode two-byte sequence that bibtex/Latex does not
understand and renders as single-byte characters


If you can post a fuller version of the log (more context, i.e. more
lines before and after the error) and perhaps the reference that gives
you troubles, I may be able to help more.

Cheers,

Stefano

On Mon, Mar 26, 2012 at 4:36 PM, Shylock Muyengwa
 wrote:
> I am using Lyx version 2.03 and bibtex (JabRef). I am writing an article
> using the APA style. I am able to insert one reference only  (in the entire
> document) and whenever I cite an new author, and attempt to view the PDF, I
> get an an error message.
>
> "Package inputech Error: Keyboard character not defined" and the description
> reads
> [Guarantee Program in India☆}}
>
> .{\BBCQ}
>
> You need to provide a definition with \DeclareInputText
>
> or \DeclareInputMath before using this key.]
>
>
> Any help appreciated
>
> Thanks
>
> Shylock Muyengwa | PhD Candidate & Managing Editor
> School of Natural Resources & Environment| Center for African Studies
> University of Florida P O Box 112100 | Gainesville, FL 32611-2100
> Office 352.273.4751| Fax 352.392.2435|Home352.846.5459| Google 352.575.0160
> Skype shylockmuyengwa
> P Before printing this e-mail think if it is necessary.
>
>



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas A University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Help with inserting APA citations

2012-03-26 Thread Shylock Muyengwa
Dear Stefano

Find attached while I try your suggestions.

I am using Windows 7 sorry for not mentioning this in the first place

SM

Shylock Muyengwa | PhD Candidate & Managing Editor
School of Natural Resources & Environment| Center for African Studies
University of Florida P O Box 112100 | Gainesville, FL 32611-2100
Office 352.273.4751| Fax 352.392.2435|Home352.846.5459| Google 352.575.0160
Skype shylockmuyengwa
P Before printing this e-mail think if it is necessary.




On Mon, Mar 26, 2012 at 5:49 PM, stefano franchi
wrote:

> Hmm,
>
> I would need to see a bit more of the log, but my guess is you are
> using a bib file that contains unicode characters (since the problem
> occurs only when you insert references). Bibtex does not play along
> very well with unicode. Some would say it does not play at all. If
> this is the problem, you basically have two options:
>
> 1. go over your bib file and change all the "strange" characters (all
> the characters with diacritic signs, for instance) to their Latex
> "fakes". For instance an a with acute character becomes {\'a}
>
> 2. Alternatively, leave your bib files untouched and switch to a full
> unicode tex suite, including a bibliography program that understand
> Unicode. I would recommend the biblatex+biber combination, which is
> now pretty much supported by lyx (with some preamble code needed,
> though).
>
>
> To confirm the problem:
>
> 1. Check the encoding of your bib file. How to do this depend on the
> platform you're on. On linux, an easy way (GUI) is to use a  text
> editor like Kate or a ref manager like JabRef.
>
> 2. Look into your bib file for the reference that gives you problems,
> and particularly for the string  "Guarantee Program in India" Those
> two weird characters after India are a telltale of a Unicode problem,
> I think. It is a Unicode two-byte sequence that bibtex/Latex does not
> understand and renders as single-byte characters
>
>
> If you can post a fuller version of the log (more context, i.e. more
> lines before and after the error) and perhaps the reference that gives
> you troubles, I may be able to help more.
>
> Cheers,
>
> Stefano
>
> On Mon, Mar 26, 2012 at 4:36 PM, Shylock Muyengwa
>  wrote:
> > I am using Lyx version 2.03 and bibtex (JabRef). I am writing an article
> > using the APA style. I am able to insert one reference only  (in the
> entire
> > document) and whenever I cite an new author, and attempt to view the
> PDF, I
> > get an an error message.
> >
> > "Package inputech Error: Keyboard character not defined" and the
> description
> > reads
> > [Guarantee Program in India☆}}
> >
> > .{\BBCQ}
> >
> > You need to provide a definition with \DeclareInputText
> >
> > or \DeclareInputMath before using this key.]
> >
> >
> > Any help appreciated
> >
> > Thanks
> >
> > Shylock Muyengwa | PhD Candidate & Managing Editor
> > School of Natural Resources & Environment| Center for African Studies
> > University of Florida P O Box 112100 | Gainesville, FL 32611-2100
> > Office 352.273.4751| Fax 352.392.2435|Home352.846.5459| Google
> 352.575.0160
> > Skype shylockmuyengwa
> > P Before printing this e-mail think if it is necessary.
> >
> >
>
>
>
> --
> __
> Stefano Franchi
> Associate Research Professor
> Department of Hispanic StudiesPh:   +1 (979) 845-2125
> Texas A University  Fax:  +1 (979) 845-6421
> College Station, Texas, USA
>
> stef...@tamu.edu
> http://stefano.cleinias.org
>
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9) (preloaded 
format=pdflatex 2012.2.19)  26 MAR 2012 17:51
entering extended mode
**cooptncounter.tex

(C:\Users\abia\AppData\Local\Temp\lyx_tmpdir.Hp4316\lyx_tmpbuf9\cooptncounter.t
ex
LaTeX2e <2011/06/27>
Babel  and hyphenation patterns for english, afrikaans, ancientgreek, ar
abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic, 
croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga
lician, german, german-x-2009-06-19, greek, gujarati, hindi, hungarian, iceland
ic, indonesian, interlingua, irish, italian, kannada, kurmanji, lao, latin, lat
vian, lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerm
an, ngerman-x-2009-06-19, nynorsk, oriya, panjabi, pinyin, polish, portuguese, 
romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swis
sgerman, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, u
senglishmax, welsh, loaded.

("C:\Program Files\MiKTeX 2.9\tex\latex\apa\apa.cls"
Document Class: apa 2008/12/09 American Psychological Association format v1.3.4


Class apa Warning: Using BibTeX with apacite for citations and references.

("C:\Program Files\MiKTeX 2.9\tex\latex\base\article.cls"
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
("C:\Program Files\MiKTeX 2.9\tex\latex\base\size12.clo"
File: size12.clo 

Re: Help with inserting APA citations

2012-03-26 Thread stefano franchi
Well,

I am out of my depth when it comes to Windows, but the problem seems
to be related to line 29 of your bbl file. So it is a reference that
gives you problems, most likely. And my guess is that it is the
reference with key Jha2009 (your second one). What does it look like?
Does it contain any strange char? Perhaps it is malformed (missing
braces, etc)? Can you post it (not the whole bib file, just that ref)?


Cheers,

Stefano




On Mon, Mar 26, 2012 at 4:55 PM, Shylock Muyengwa
 wrote:
> Dear Stefano
>
> Find attached while I try your suggestions.
>
> I am using Windows 7 sorry for not mentioning this in the first place
>
> SM
>
> Shylock Muyengwa | PhD Candidate & Managing Editor
> School of Natural Resources & Environment| Center for African Studies
> University of Florida P O Box 112100 | Gainesville, FL 32611-2100
> Office 352.273.4751| Fax 352.392.2435|Home352.846.5459| Google 352.575.0160
> Skype shylockmuyengwa
> P Before printing this e-mail think if it is necessary.
>
>
>
>
> On Mon, Mar 26, 2012 at 5:49 PM, stefano franchi 
> wrote:
>>
>> Hmm,
>>
>> I would need to see a bit more of the log, but my guess is you are
>> using a bib file that contains unicode characters (since the problem
>> occurs only when you insert references). Bibtex does not play along
>> very well with unicode. Some would say it does not play at all. If
>> this is the problem, you basically have two options:
>>
>> 1. go over your bib file and change all the "strange" characters (all
>> the characters with diacritic signs, for instance) to their Latex
>> "fakes". For instance an a with acute character becomes {\'a}
>>
>> 2. Alternatively, leave your bib files untouched and switch to a full
>> unicode tex suite, including a bibliography program that understand
>> Unicode. I would recommend the biblatex+biber combination, which is
>> now pretty much supported by lyx (with some preamble code needed,
>> though).
>>
>>
>> To confirm the problem:
>>
>> 1. Check the encoding of your bib file. How to do this depend on the
>> platform you're on. On linux, an easy way (GUI) is to use a  text
>> editor like Kate or a ref manager like JabRef.
>>
>> 2. Look into your bib file for the reference that gives you problems,
>> and particularly for the string  "Guarantee Program in India" Those
>> two weird characters after India are a telltale of a Unicode problem,
>> I think. It is a Unicode two-byte sequence that bibtex/Latex does not
>> understand and renders as single-byte characters
>>
>>
>> If you can post a fuller version of the log (more context, i.e. more
>> lines before and after the error) and perhaps the reference that gives
>> you troubles, I may be able to help more.
>>
>> Cheers,
>>
>> Stefano
>>
>> On Mon, Mar 26, 2012 at 4:36 PM, Shylock Muyengwa
>>  wrote:
>> > I am using Lyx version 2.03 and bibtex (JabRef). I am writing an article
>> > using the APA style. I am able to insert one reference only  (in the
>> > entire
>> > document) and whenever I cite an new author, and attempt to view the
>> > PDF, I
>> > get an an error message.
>> >
>> > "Package inputech Error: Keyboard character not defined" and the
>> > description
>> > reads
>> > [Guarantee Program in India☆}}
>> >
>> > .{\BBCQ}
>> >
>> > You need to provide a definition with \DeclareInputText
>> >
>> > or \DeclareInputMath before using this key.]
>> >
>> >
>> > Any help appreciated
>> >
>> > Thanks
>> >
>> > Shylock Muyengwa | PhD Candidate & Managing Editor
>> > School of Natural Resources & Environment| Center for African Studies
>> > University of Florida P O Box 112100 | Gainesville, FL 32611-2100
>> > Office 352.273.4751| Fax 352.392.2435|Home352.846.5459| Google
>> > 352.575.0160
>> > Skype shylockmuyengwa
>> > P Before printing this e-mail think if it is necessary.
>> >
>> >
>>
>>
>>
>> --
>> __
>> Stefano Franchi
>> Associate Research Professor
>> Department of Hispanic Studies            Ph:   +1 (979) 845-2125
>> Texas A University                          Fax:  +1 (979) 845-6421
>> College Station, Texas, USA
>>
>> stef...@tamu.edu
>> http://stefano.cleinias.org
>
>



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas A University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Help with inserting APA citations

2012-03-26 Thread Shylock Muyengwa
Find below.
Thanks Stefano.
You are right is has strange characters. I migrated my entire library from
Mendeley. I guess the encoding did not go well. I would rather switch the
reference manager than redo all references because the database is huge. I
hope the biblatex+biber combination will help

@ARTICLE{Jha2009,
  author = {Jha, Raghbendra and Bhattacharyya, Sambit and Gaiha, Raghav and
Shankar,
 Shylashri},
  title = {{“Capture� of anti-poverty programs: An analysis of the
National
 Rural Employment Guarantee Program in India☆}},
  journal = {Journal of Asian Economics},
  year = {2009},
  volume = {20},
  pages = {456--464},
  number = {4},
  month = sep,
  doi = {10.1016/j.asieco.2009.03.003},
  isbn = {1049-0078},
  issn = {10490078},
  keywords = {Capture Poverty India},
  url = {
http://www.sciencedirect.com/science/article/B6W53-4VY2C8H-1/2/7ee81d588faaf47a92855ffd6bfba464
http://linkinghub.elsevier.com/retrieve/pii/S1049007809000311}
}


Shylock Muyengwa | PhD Candidate & Managing Editor
School of Natural Resources & Environment| Center for African Studies
University of Florida P O Box 112100 | Gainesville, FL 32611-2100
Office 352.273.4751| Fax 352.392.2435|Home352.846.5459| Google 352.575.0160
Skype shylockmuyengwa
P Before printing this e-mail think if it is necessary.




On Mon, Mar 26, 2012 at 6:19 PM, stefano franchi
wrote:

> Well,
>
> I am out of my depth when it comes to Windows, but the problem seems
> to be related to line 29 of your bbl file. So it is a reference that
> gives you problems, most likely. And my guess is that it is the
> reference with key Jha2009 (your second one). What does it look like?
> Does it contain any strange char? Perhaps it is malformed (missing
> braces, etc)? Can you post it (not the whole bib file, just that ref)?
>
>
> Cheers,
>
> Stefano
>
>
>
>
> On Mon, Mar 26, 2012 at 4:55 PM, Shylock Muyengwa
>  wrote:
> > Dear Stefano
> >
> > Find attached while I try your suggestions.
> >
> > I am using Windows 7 sorry for not mentioning this in the first place
> >
> > SM
> >
> > Shylock Muyengwa | PhD Candidate & Managing Editor
> > School of Natural Resources & Environment| Center for African Studies
> > University of Florida P O Box 112100 | Gainesville, FL 32611-2100
> > Office 352.273.4751| Fax 352.392.2435|Home352.846.5459| Google
> 352.575.0160
> > Skype shylockmuyengwa
> > P Before printing this e-mail think if it is necessary.
> >
> >
> >
> >
> > On Mon, Mar 26, 2012 at 5:49 PM, stefano franchi <
> stefano.fran...@gmail.com>
> > wrote:
> >>
> >> Hmm,
> >>
> >> I would need to see a bit more of the log, but my guess is you are
> >> using a bib file that contains unicode characters (since the problem
> >> occurs only when you insert references). Bibtex does not play along
> >> very well with unicode. Some would say it does not play at all. If
> >> this is the problem, you basically have two options:
> >>
> >> 1. go over your bib file and change all the "strange" characters (all
> >> the characters with diacritic signs, for instance) to their Latex
> >> "fakes". For instance an a with acute character becomes {\'a}
> >>
> >> 2. Alternatively, leave your bib files untouched and switch to a full
> >> unicode tex suite, including a bibliography program that understand
> >> Unicode. I would recommend the biblatex+biber combination, which is
> >> now pretty much supported by lyx (with some preamble code needed,
> >> though).
> >>
> >>
> >> To confirm the problem:
> >>
> >> 1. Check the encoding of your bib file. How to do this depend on the
> >> platform you're on. On linux, an easy way (GUI) is to use a  text
> >> editor like Kate or a ref manager like JabRef.
> >>
> >> 2. Look into your bib file for the reference that gives you problems,
> >> and particularly for the string  "Guarantee Program in India" Those
> >> two weird characters after India are a telltale of a Unicode problem,
> >> I think. It is a Unicode two-byte sequence that bibtex/Latex does not
> >> understand and renders as single-byte characters
> >>
> >>
> >> If you can post a fuller version of the log (more context, i.e. more
> >> lines before and after the error) and perhaps the reference that gives
> >> you troubles, I may be able to help more.
> >>
> >> Cheers,
> >>
> >> Stefano
> >>
> >> On Mon, Mar 26, 2012 at 4:36 PM, Shylock Muyengwa
> >>  wrote:
> >> > I am using Lyx version 2.03 and bibtex (JabRef). I am writing an
> article
> >> > using the APA style. I am able to insert one reference only  (in the
> >> > entire
> >> > document) and whenever I cite an new author, and attempt to view the
> >> > PDF, I
> >> > get an an error message.
> >> >
> >> > "Package inputech Error: Keyboard character not defined" and the
> >> > description
> >> > reads
> >> > [Guarantee Program in India☆}}
> >> >
> >> > .{\BBCQ}
> >> >
> >> > You need to provide a definition with \DeclareInputText
> >> >
> >> > or 

Re: Help with inserting APA citations

2012-03-26 Thread stefano franchi
Actually, I think you have a much simpler problem: your bib file is
corrupted (probably because of the translation from Mendeley). There
are no strange character in the original ref. Here is the correct ref,
just downloaded from
http://ideas.repec.org/p/pas/asarcc/2008-07.html#biblio

@TechReport{RePEc:pas:asarcc:2008-07,
  author={Raghbendra Jha and Sambit Bhattacharyya and Raghav Gaiha and
Shylashri Shankar},
  title={Capture of Anti-Poverty Programs: An Analysis of the National
Rural Employment Guarantee Program in India},
  year=2008,
  month= ,
  institution={Australian National University, Australia South Asia
Research Centre},
  type={ASARC Working Papers},
  url={http://ideas.repec.org/p/pas/asarcc/2008-07.html},
  number={2008-07},
  abstract={Using pooled household level data for the Indian states of
Rajasthan and Andhra Pradesh we find that the size of landholdings is
a negative predictor of participation in the National Rural Employment
Guarantee Program (NREGP). In state level analysis this pattern
survives in Rajasthan but reverses in Andhra Pradesh where we notice a
positive relationship. This paper examines whether this sign reversal
in Andhra Pradesh is indicative of program capture in Andhra Pradesh
and better targeting in Rajasthan. We compare land inequality,
political interference, and geographical remoteness across the two
states and conclude that program capture may be an issue in Andhra
Pradesh, largely because of these reasons. We also find evidence of
complementarity between NREGP and the Public Distribution System
(PDS).},
  keywords={Capture; Poverty; India}
}

it is a perfectly standard bibtex ref. So, forget what I said about
unicode, etcetera. Just go back to Mendeley and look into the export
actions you originally took. I think something went wrong there. It
may be an encoding issue. Sorry I cannot help more, but I've never
used mendeley.

Cheers,

Stefano





-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas A University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Help with inserting APA citations

2012-03-26 Thread Shylock Muyengwa
Thanks Steffano

I edited the reference and everything works well


Shylock Muyengwa | PhD Candidate & Managing Editor
School of Natural Resources & Environment| Center for African Studies
University of Florida P O Box 112100 | Gainesville, FL 32611-2100
Office 352.273.4751| Fax 352.392.2435|Home352.846.5459| Google 352.575.0160
Skype shylockmuyengwa
P Before printing this e-mail think if it is necessary.




On Mon, Mar 26, 2012 at 6:40 PM, stefano franchi
wrote:

> Actually, I think you have a much simpler problem: your bib file is
> corrupted (probably because of the translation from Mendeley). There
> are no strange character in the original ref. Here is the correct ref,
> just downloaded from
> http://ideas.repec.org/p/pas/asarcc/2008-07.html#biblio
>
> @TechReport{RePEc:pas:asarcc:2008-07,
>  author={Raghbendra Jha and Sambit Bhattacharyya and Raghav Gaiha and
> Shylashri Shankar},
>  title={Capture of Anti-Poverty Programs: An Analysis of the National
> Rural Employment Guarantee Program in India},
>  year=2008,
>  month= ,
>  institution={Australian National University, Australia South Asia
> Research Centre},
>  type={ASARC Working Papers},
>  url={http://ideas.repec.org/p/pas/asarcc/2008-07.html},
>  number={2008-07},
>  abstract={Using pooled household level data for the Indian states of
> Rajasthan and Andhra Pradesh we find that the size of landholdings is
> a negative predictor of participation in the National Rural Employment
> Guarantee Program (NREGP). In state level analysis this pattern
> survives in Rajasthan but reverses in Andhra Pradesh where we notice a
> positive relationship. This paper examines whether this sign reversal
> in Andhra Pradesh is indicative of program capture in Andhra Pradesh
> and better targeting in Rajasthan. We compare land inequality,
> political interference, and geographical remoteness across the two
> states and conclude that program capture may be an issue in Andhra
> Pradesh, largely because of these reasons. We also find evidence of
> complementarity between NREGP and the Public Distribution System
> (PDS).},
>  keywords={Capture; Poverty; India}
> }
>
> it is a perfectly standard bibtex ref. So, forget what I said about
> unicode, etcetera. Just go back to Mendeley and look into the export
> actions you originally took. I think something went wrong there. It
> may be an encoding issue. Sorry I cannot help more, but I've never
> used mendeley.
>
> Cheers,
>
> Stefano
>
>
>
>
>
> --
> __
> Stefano Franchi
> Associate Research Professor
> Department of Hispanic StudiesPh:   +1 (979) 845-2125
> Texas A University  Fax:  +1 (979) 845-6421
> College Station, Texas, USA
>
> stef...@tamu.edu
> http://stefano.cleinias.org
>