"Fossies" - the Fresh Open Source Software Archive

Member "cb2bib-2.0.1/src/c2b/cb2bib_parameters.h" (12 Feb 2021, 3854 Bytes) of package /linux/privat/cb2bib-2.0.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "cb2bib_parameters.h" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 2.0.0_vs_2.0.1.

    1 /***************************************************************************
    2  *   Copyright (C) 2004-2021 by Pere Constans
    3  *   constans@molspaces.com
    4  *   cb2Bib version 2.0.1. Licensed under the GNU GPL version 3.
    5  *   See the LICENSE file that comes with this distribution.
    6  ***************************************************************************/
    7 #ifndef CB2BIB_PARAMETERS_H
    8 #define CB2BIB_PARAMETERS_H
    9 
   10 #include <QString>
   11 
   12 const int C2B_MESSAGE_TIME(6000);
   13 const QLatin1String C2B_APPLICATION("cb2Bib");
   14 const QLatin1String C2B_CITE_COMMAND_PATTERN("\\cite{<<|citeids|,>>}");
   15 const QLatin1String C2B_CITE_ID_PATTERN("<<author_first>><<year_abbreviated>><<ppages_first>>");
   16 const QLatin1String C2B_DOCUMENT_ID_PATTERN("<<citeid>>");
   17 const QLatin1String C2B_FIND_REPLACE_LIST("Corresponding Author Contact Information||ScienceDirect alt tag^e"
   18         "E-mail The Corresponding Author||ScienceDirect alt tag^e"
   19         "small pi, Greek|$\\pi$|ScienceDirect alt tag^e"
   20         "{sect}||PNAS - Author String^e"
   21         "{dagger}||PNAS - Author String");
   22 const QLatin1String C2B_ICON_ABOUT_B_BACK("back_cb2bib_32.png");
   23 const QLatin1String C2B_ICON_ABOUT_B("cb2bib.png");
   24 const QLatin1String C2B_ICON_CONNECT_B("connect_established.png");
   25 const QLatin1String C2B_ICON_DIR(":/icons/icons/");
   26 const QLatin1String C2B_ICON_DISCONNECT_B("connect_no.png");
   27 const QLatin1String C2B_ICON_VIEWBIB_B("viewbib.png");
   28 const QLatin1String C2B_ICON_VIEWC2B_B("viewcb.png");
   29 const QLatin1String C2B_ORGANIZATION("MOLspaces");
   30 const QLatin1String C2B_VERSION("2.0.1");
   31 
   32 #if defined(Q_OS_WIN)
   33 const QLatin1String C2B_DATA_DIR("C:/Documents and Settings");
   34 #else
   35 const QLatin1String C2B_DATA_DIR("/usr/share/cb2bib");
   36 #endif
   37 
   38 // File Manager Client
   39 #if defined(Q_OS_WIN)
   40 const QLatin1String C2B_FM_CLIENT_COPY_ARG("");
   41 const QLatin1String C2B_FM_CLIENT_COPY_BIN("");
   42 const QLatin1String C2B_FM_CLIENT_MOVE_ARG("");
   43 const QLatin1String C2B_FM_CLIENT_MOVE_BIN("");
   44 #elif defined(Q_OS_MACOS)
   45 const QLatin1String C2B_FM_CLIENT_COPY_ARG("");
   46 const QLatin1String C2B_FM_CLIENT_COPY_BIN("");
   47 const QLatin1String C2B_FM_CLIENT_MOVE_ARG("");
   48 const QLatin1String C2B_FM_CLIENT_MOVE_BIN("");
   49 #else // Q_OS_UNIX
   50 const QLatin1String C2B_FM_CLIENT_COPY_ARG("copy");
   51 const QLatin1String C2B_FM_CLIENT_COPY_BIN("kfmclient");
   52 const QLatin1String C2B_FM_CLIENT_MOVE_ARG("move");
   53 const QLatin1String C2B_FM_CLIENT_MOVE_BIN("kfmclient");
   54 #endif
   55 
   56 // To text converter
   57 #if defined(Q_OS_WIN)
   58 const QLatin1String C2B_METADATAPARSER_EXIFTOOL_BIN("C:\\Windows\\exiftool.exe");
   59 const QLatin1String C2B_PDFIMPORT_PDF2TXT_BIN("C:\\Program Files\\xpdf-3.04-win32\\pdf2cb.exe");
   60 const QLatin1String C2B_BIBSEARCHER_PDF2TXT_BIN("C:\\Program Files\\xpdf-3.04-win32\\pdf2cb.exe");
   61 #elif defined(Q_OS_MACOS)
   62 const QLatin1String C2B_METADATAPARSER_EXIFTOOL_BIN("exiftool");
   63 const QLatin1String C2B_BIBSEARCHER_PDF2TXT_BIN("pdftotext");
   64 const QLatin1String C2B_PDFIMPORT_PDF2TXT_BIN("pdftotext");
   65 #else // Q_OS_UNIX
   66 const QLatin1String C2B_METADATAPARSER_EXIFTOOL_BIN("exiftool");
   67 const QLatin1String C2B_BIBSEARCHER_PDF2TXT_BIN("pdftotext");
   68 const QLatin1String C2B_PDFIMPORT_PDF2TXT_BIN("pdftotext");
   69 #endif
   70 
   71 // BibTeX postprocessing
   72 #if defined(Q_OS_WIN)
   73 const QLatin1String C2B_POSTPROCESS_BIBTEX_BIN("c2btools\\bib2end.bat");
   74 const QLatin1String C2B_POSTPROCESS_BIBTEX_ARG("%finput %foutput");
   75 const QLatin1String C2B_POSTPROCESS_BIBTEX_EXT("end");
   76 #elif defined(Q_OS_MACOS)
   77 const QLatin1String C2B_POSTPROCESS_BIBTEX_BIN("c2btools/bib2pdf");
   78 const QLatin1String C2B_POSTPROCESS_BIBTEX_ARG("%finput %foutput");
   79 const QLatin1String C2B_POSTPROCESS_BIBTEX_EXT("bib.pdf");
   80 #else // Q_OS_UNIX
   81 const QLatin1String C2B_POSTPROCESS_BIBTEX_BIN("c2btools/bib2pdf");
   82 const QLatin1String C2B_POSTPROCESS_BIBTEX_ARG("%finput %foutput");
   83 const QLatin1String C2B_POSTPROCESS_BIBTEX_EXT("bib.pdf");
   84 #endif
   85 
   86 #endif