Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 


SSL LaTeXLog.C   Sprache: C

 
#include <config.h>

#include <stdlib.h>
#include FORMS_H_LOCATION
#include "buffer.h"
#include "latexoptions.h"
#include "lyx_main.h"
#include "LString.h"
#include "filetools.h"
#include "pathstack.h"
#include "lyxrc.h"
#include "BufferView.h"
#include "gettext.h"

//  $Id: LaTeXLog.C,v 1.1.1.1 1998/04/20 21:14:45 larsbj Exp $

#if !defined(lint) && !defined(WITH_WARNINGS)
static char vcid[] = "$Id: LaTeXLog.C,v 1.1.1.1 1998/04/20 21:14:45 larsbj Exp $";
#endif /* lint */

/* Prototypes */
extern FD_LaTeXLog *fd_latex_log;
extern BufferView *current_view;

void ShowLatexLog()
{
    LString
        filename, fname, path;

    filename = current_view->currentBuffer()->getFileName();
    if (!filename.empty()) {
 fname = SpaceLess(ChangeExtension(filename, ".log"true));
 path = OnlyPath(filename);
 if (lyxrc->use_tempdir || (IsDirWriteable(path) < 1)) {
  path = current_view->currentBuffer()->tmppath;
 }
 PathPush(path); // path to LaTeX file
    }
    if (!fl_load_browser(fd_latex_log->browser_latexlog,fname.c_str()))
        fl_add_browser_line(fd_latex_log->browser_latexlog,
                            _("NO LATEX LOG FILE!"));
    if (fd_latex_log->LaTeXLog->visible) {
 fl_raise_form(fd_latex_log->LaTeXLog);
    }
    else {
 fl_show_form(fd_latex_log->LaTeXLog,
       FL_PLACE_MOUSE | FL_FREE_SIZE,FL_FULLBORDER,
       _("LaTeX Log"));
    }
    if (!filename.empty())
        PathPop();
}

void LatexLogClose(FL_OBJECT *, long)
{
    fl_hide_form(fd_latex_log->LaTeXLog);
}

void LatexLogUpdate(FL_OBJECT *, long)
{
    ShowLatexLog();
}

100%


¤ Dauer der Verarbeitung: 0.1 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

sprechenden Kalenders






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Produkte
     Quellcodebibliothek

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Monitoring

Montastic status badge