Skip to content

Instantly share code, notes, and snippets.

@duangsuse
Last active August 12, 2018 08:12
Show Gist options
  • Save duangsuse/335d87276bfb8ca3a4d00c0d0eb71f3f to your computer and use it in GitHub Desktop.
Save duangsuse/335d87276bfb8ca3a4d00c0d0eb71f3f to your computer and use it in GitHub Desktop.
GeekApk spec (short version)
This is XeTeX, Version 3.14159265-2.6-0.99998 (TeX Live 2017) (preloaded format=xelatex 2018.8.11) 12 AUG 2018 09:09
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**GeekApkSpecShort.tex
(./GeekApkSpecShort.tex
LaTeX2e <2017-04-15>
Babel <3.9r> and hyphenation patterns for 3 language(s) loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size11.clo
File: size11.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2017/04/05 v2.0i Standard LaTeX package
(/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.def
File: t1enc.def 2017/04/05 v2.0i Standard LaTeX file
LaTeX Font Info: Redeclaring font encoding T1 on input line 48.
)
LaTeX Font Info: Try loading font information for T1+lmr on input line 105.
(/usr/share/texlive/texmf-dist/tex/latex/lm/t1lmr.fd
File: t1lmr.fd 2009/10/30 v1.6 Font defs for Latin Modern
))
(/usr/share/texlive/texmf-dist/tex/latex/lm/lmodern.sty
Package: lmodern 2009/10/30 v1.6 Latin Modern Fonts
LaTeX Font Info: Overwriting symbol font `operators' in version `normal'
(Font) OT1/cmr/m/n --> OT1/lmr/m/n on input line 22.
LaTeX Font Info: Overwriting symbol font `letters' in version `normal'
(Font) OML/cmm/m/it --> OML/lmm/m/it on input line 23.
LaTeX Font Info: Overwriting symbol font `symbols' in version `normal'
(Font) OMS/cmsy/m/n --> OMS/lmsy/m/n on input line 24.
LaTeX Font Info: Overwriting symbol font `largesymbols' in version `normal'
(Font) OMX/cmex/m/n --> OMX/lmex/m/n on input line 25.
LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
(Font) OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 26.
LaTeX Font Info: Overwriting symbol font `letters' in version `bold'
(Font) OML/cmm/b/it --> OML/lmm/b/it on input line 27.
LaTeX Font Info: Overwriting symbol font `symbols' in version `bold'
(Font) OMS/cmsy/b/n --> OMS/lmsy/b/n on input line 28.
LaTeX Font Info: Overwriting symbol font `largesymbols' in version `bold'
(Font) OMX/cmex/m/n --> OMX/lmex/m/n on input line 29.
LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `normal'
(Font) OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 31.
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `normal'
(Font) OT1/cmss/m/n --> OT1/lmss/m/n on input line 32.
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `normal'
(Font) OT1/cmr/m/it --> OT1/lmr/m/it on input line 33.
LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `normal'
(Font) OT1/cmtt/m/n --> OT1/lmtt/m/n on input line 34.
LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `bold'
(Font) OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 35.
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `bold'
(Font) OT1/cmss/bx/n --> OT1/lmss/bx/n on input line 36.
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold'
(Font) OT1/cmr/bx/it --> OT1/lmr/bx/it on input line 37.
LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `bold'
(Font) OT1/cmtt/m/n --> OT1/lmtt/m/n on input line 38.
)
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty
Package: hyperref 2016/05/21 v6.83p Hypertext links for LaTeX
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty
Package: hobsub-hyperref 2016/05/16 v1.14 Bundle oberdiek, subset hyperref (HO)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty
Package: hobsub-generic 2016/05/16 v1.14 Bundle oberdiek, subset generic (HO)
Package: hobsub 2016/05/16 v1.14 Construct package bundles (HO)
Package: infwarerr 2016/05/16 v1.4 Providing info/warning/error messages (HO)
Package: ltxcmds 2016/05/16 v1.23 LaTeX kernel commands for general use (HO)
Package: ifluatex 2016/05/16 v1.4 Provides the ifluatex switch (HO)
Package ifluatex Info: LuaTeX not detected.
Package: ifvtex 2016/05/16 v1.6 Detect VTeX and its facilities (HO)
Package ifvtex Info: VTeX not detected.
Package: intcalc 2016/05/16 v1.2 Expandable calculations with integers (HO)
Package: ifpdf 2017/03/15 v3.2 Provides the ifpdf switch
Package: etexcmds 2016/05/16 v1.6 Avoid name clashes with e-TeX commands (HO)
Package etexcmds Info: Could not find \expanded.
(etexcmds) That can mean that you are not using pdfTeX 1.50 or
(etexcmds) that some package has redefined \expanded.
(etexcmds) In the latter case, load this package earlier.
Package: kvsetkeys 2016/05/16 v1.17 Key value parser (HO)
Package: kvdefinekeys 2016/05/16 v1.4 Define keys (HO)
Package: pdftexcmds 2017/03/19 v0.25 Utility functions of pdfTeX for LuaTeX (HO
)
Package pdftexcmds Info: LuaTeX not detected.
Package pdftexcmds Info: pdfTeX >= 1.30 not detected.
Package pdftexcmds Info: \pdf@primitive is available.
Package pdftexcmds Info: \pdf@ifprimitive is available.
Package pdftexcmds Info: \pdfdraftmode not found.
Package: pdfescape 2016/05/16 v1.14 Implements pdfTeX's escape features (HO)
Package: bigintcalc 2016/05/16 v1.4 Expandable calculations on big integers (HO
)
Package: bitset 2016/05/16 v1.2 Handle bit-vector datatype (HO)
Package: uniquecounter 2016/05/16 v1.3 Provide unlimited unique counter (HO)
)
Package hobsub Info: Skipping package `hobsub' (already loaded).
Package: letltxmacro 2016/05/16 v1.5 Let assignment for LaTeX macros (HO)
Package: hopatch 2016/05/16 v1.3 Wrapper for package hooks (HO)
Package: xcolor-patch 2016/05/16 xcolor patch
Package: atveryend 2016/05/16 v1.9 Hooks at the very end of document (HO)
Package atveryend Info: \enddocument detected (standard20110627).
Package: atbegshi 2016/06/09 v1.18 At begin shipout hook (HO)
Package: refcount 2016/05/16 v3.5 Data extraction from label references (HO)
Package: hycolor 2016/05/16 v1.8 Color options for hyperref/bookmark (HO)
)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
\KV@toks@=\toks14
)
(/usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty
Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional
)
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/auxhook.sty
Package: auxhook 2016/05/16 v1.4 Hooks for auxiliary files (HO)
)
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty
Package: kvoptions 2016/05/16 v3.12 Key value format for package options (HO)
)
\@linkdim=\dimen103
\Hy@linkcounter=\count87
\Hy@pagecounter=\count88
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def
File: pd1enc.def 2016/05/21 v6.83p Hyperref: PDFDocEncoding definition (HO)
)
\Hy@SavedSpaceFactor=\count89
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/hyperref.cfg
File: hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive
)
Package hyperref Info: Option `colorlinks' set `true' on input line 4362.
Package hyperref Info: Hyper figures OFF on input line 4486.
Package hyperref Info: Link nesting OFF on input line 4491.
Package hyperref Info: Hyper index ON on input line 4494.
Package hyperref Info: Plain pages OFF on input line 4501.
Package hyperref Info: Backreferencing OFF on input line 4506.
Package hyperref Info: Implicit mode ON; LaTeX internals redefined.
Package hyperref Info: Bookmarks ON on input line 4735.
\c@Hy@tempcnt=\count90
(/usr/share/texlive/texmf-dist/tex/latex/url/url.sty
\Urlmuskip=\muskip10
Package: url 2013/09/16 ver 3.4 Verb mode for urls, etc.
)
LaTeX Info: Redefining \url on input line 5088.
\XeTeXLinkMargin=\dimen104
\Fld@menulength=\count91
\Field@Width=\dimen105
\Fld@charsize=\dimen106
Package hyperref Info: Hyper figures OFF on input line 6342.
Package hyperref Info: Link nesting OFF on input line 6347.
Package hyperref Info: Hyper index ON on input line 6350.
Package hyperref Info: backreferencing OFF on input line 6357.
Package hyperref Info: Link coloring ON on input line 6360.
Package hyperref Info: Link coloring with OCG OFF on input line 6367.
Package hyperref Info: PDF/A mode OFF on input line 6372.
LaTeX Info: Redefining \ref on input line 6412.
LaTeX Info: Redefining \pageref on input line 6416.
\Hy@abspage=\count92
\c@Item=\count93
\c@Hfootnote=\count94
)
Package hyperref Message: Driver (autodetected): hxetex.
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/hxetex.def
File: hxetex.def 2016/05/21 v6.83p Hyperref driver for XeTeX
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/puenc.def
File: puenc.def 2016/05/21 v6.83p Hyperref: PDF Unicode definition (HO)
LaTeX Info: Composite with undeclared \newtie in encoding PU on input line 88.
)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/stringenc.sty
Package: stringenc 2016/05/16 v1.11 Convert strings between diff. encodings (HO
)
)
\pdfm@box=\box26
\c@Hy@AnnotLevel=\count95
\HyField@AnnotCount=\count96
\Fld@listcount=\count97
\c@bookmark@seq@number=\count98
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty
Package: rerunfilecheck 2016/05/16 v1.8 Rerun checks for auxiliary files (HO)
Package rerunfilecheck Info: Feature \pdfmdfivesum is not available
(rerunfilecheck) (e.g. pdfTeX or LuaTeX with package `pdftexcmds').
(rerunfilecheck) Therefore file contents cannot be checked efficien
tly
(rerunfilecheck) and the loading of the package is aborted.
)
\Hy@SectionHShift=\skip43
)
(/usr/share/texlive/texmf-dist/tex/latex/xcolor/xcolor.sty
Package: xcolor 2016/05/11 v2.12 LaTeX color extensions (UK)
(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg
File: color.cfg 2016/01/02 v1.6 sample color configuration
)
Package xcolor Info: Driver file: xetex.def on input line 225.
(/usr/share/texlive/texmf-dist/tex/xelatex/xetex-def/xetex.def
File: xetex.def 2016/04/06 v4.08 LaTeX color/graphics driver for XeTeX (TeX Liv
e/RRM/JK)
)
Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1348.
Package xcolor Info: Model `RGB' extended on input line 1364.
Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1366.
Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1367.
Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1368.
Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1369.
Package xcolor Info: Model `Gray' substituted by `gray' on input line 1370.
Package xcolor Info: Model `wave' substituted by `hsb' on input line 1371.
)
(/usr/share/texlive/texmf-dist/tex/latex/listings/listings.sty
\lst@mode=\count99
\lst@gtempboxa=\box27
\lst@token=\toks15
\lst@length=\count100
\lst@currlwidth=\dimen107
\lst@column=\count101
\lst@pos=\count102
\lst@lostspace=\dimen108
\lst@width=\dimen109
\lst@newlines=\count103
\lst@lineno=\count104
\lst@maxwidth=\dimen110
(/usr/share/texlive/texmf-dist/tex/latex/listings/lstmisc.sty
File: lstmisc.sty 2015/06/04 1.6 (Carsten Heinz)
\c@lstnumber=\count105
\lst@skipnumbers=\count106
\lst@framebox=\box28
)
(/usr/share/texlive/texmf-dist/tex/latex/listings/listings.cfg
File: listings.cfg 2015/06/04 1.6 listings configuration
))
Package: listings 2015/06/04 1.6 (Carsten Heinz)
(/usr/share/texlive/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty
Package: fancyvrb 2008/02/07
Style option: `fancyvrb' v2.7a, with DG/SPQR fixes, and firstline=lastline fix
<2008/02/07> (tvz)
\FV@CodeLineNo=\count107
\FV@InFile=\read1
\FV@TabBox=\box29
\c@FancyVerbLine=\count108
\FV@StepNumber=\count109
\FV@OutFile=\write3
)
(/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.sty
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/expl3.sty
Package: expl3 2016/05/18 v6512 L3 programming layer (loader)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/expl3-code.tex
Package: expl3 2016/05/18 v6512 L3 programming layer (code)
L3 Module: l3bootstrap 2016/02/12 v6412 L3 Bootstrap code
L3 Module: l3names 2016/03/11 v6433 L3 Namespace for primitives
L3 Module: l3basics 2015/11/22 v6315 L3 Basic definitions
L3 Module: l3expan 2015/09/10 v5983 L3 Argument expansion
L3 Module: l3tl 2016/03/26 v6465 L3 Token lists
L3 Module: l3str 2016/03/24 v6441 L3 Strings
L3 Module: l3seq 2015/08/05 v5777 L3 Sequences and stacks
L3 Module: l3int 2016/03/24 v6441 L3 Integers
\c_max_int=\count110
\l_tmpa_int=\count111
\l_tmpb_int=\count112
\g_tmpa_int=\count113
\g_tmpb_int=\count114
L3 Module: l3quark 2015/08/17 v5855 L3 Quarks
L3 Module: l3prg 2015/11/01 v6216 L3 Control structures
\g__prg_map_int=\count115
L3 Module: l3clist 2015/09/02 v5901 L3 Comma separated lists
L3 Module: l3token 2016/04/03 v6470 L3 Experimental token manipulation
L3 Module: l3prop 2016/01/05 v6366 L3 Property lists
L3 Module: l3msg 2016/03/26 v6464 L3 Messages
L3 Module: l3file 2016/03/25 v6458 L3 File and I/O operations
\l_iow_line_count_int=\count116
\l__iow_target_count_int=\count117
\l__iow_current_line_int=\count118
\l__iow_current_word_int=\count119
\l__iow_current_indentation_int=\count120
L3 Module: l3skip 2016/01/05 v6366 L3 Dimensions and skips
\c_zero_dim=\dimen111
\c_max_dim=\dimen112
\l_tmpa_dim=\dimen113
\l_tmpb_dim=\dimen114
\g_tmpa_dim=\dimen115
\g_tmpb_dim=\dimen116
\c_zero_skip=\skip44
\c_max_skip=\skip45
\l_tmpa_skip=\skip46
\l_tmpb_skip=\skip47
\g_tmpa_skip=\skip48
\g_tmpb_skip=\skip49
\c_zero_muskip=\muskip11
\c_max_muskip=\muskip12
\l_tmpa_muskip=\muskip13
\l_tmpb_muskip=\muskip14
\g_tmpa_muskip=\muskip15
\g_tmpb_muskip=\muskip16
L3 Module: l3keys 2015/11/17 v6284 L3 Key-value interfaces
\g__keyval_level_int=\count121
\l_keys_choice_int=\count122
L3 Module: l3fp 2016/03/26 v6465 L3 Floating points
\c__fp_leading_shift_int=\count123
\c__fp_middle_shift_int=\count124
\c__fp_trailing_shift_int=\count125
\c__fp_big_leading_shift_int=\count126
\c__fp_big_middle_shift_int=\count127
\c__fp_big_trailing_shift_int=\count128
\c__fp_Bigg_leading_shift_int=\count129
\c__fp_Bigg_middle_shift_int=\count130
\c__fp_Bigg_trailing_shift_int=\count131
L3 Module: l3box 2015/08/09 v5822 L3 Experimental boxes
\c_empty_box=\box30
\l_tmpa_box=\box31
\l_tmpb_box=\box32
\g_tmpa_box=\box33
\g_tmpb_box=\box34
L3 Module: l3coffins 2016/05/17 v6508 L3 Coffin code layer
\l__coffin_internal_box=\box35
\l__coffin_internal_dim=\dimen117
\l__coffin_offset_x_dim=\dimen118
\l__coffin_offset_y_dim=\dimen119
\l__coffin_x_dim=\dimen120
\l__coffin_y_dim=\dimen121
\l__coffin_x_prime_dim=\dimen122
\l__coffin_y_prime_dim=\dimen123
\c_empty_coffin=\box36
\l__coffin_aligned_coffin=\box37
\l__coffin_aligned_internal_coffin=\box38
\l_tmpa_coffin=\box39
\l_tmpb_coffin=\box40
\l__coffin_display_coffin=\box41
\l__coffin_display_coord_coffin=\box42
\l__coffin_display_pole_coffin=\box43
\l__coffin_display_offset_dim=\dimen124
\l__coffin_display_x_dim=\dimen125
\l__coffin_display_y_dim=\dimen126
L3 Module: l3color 2014/08/23 v5354 L3 Experimental color support
L3 Module: l3sys 2015/09/25 v6087 L3 Experimental system/runtime functions
L3 Module: l3candidates 2016/05/13 v6484 L3 Experimental additions to l3kernel
\l__box_top_dim=\dimen127
\l__box_bottom_dim=\dimen128
\l__box_left_dim=\dimen129
\l__box_right_dim=\dimen130
\l__box_top_new_dim=\dimen131
\l__box_bottom_new_dim=\dimen132
\l__box_left_new_dim=\dimen133
\l__box_right_new_dim=\dimen134
\l__box_internal_box=\box44
\l__coffin_bounding_shift_dim=\dimen135
\l__coffin_left_corner_dim=\dimen136
\l__coffin_right_corner_dim=\dimen137
\l__coffin_bottom_corner_dim=\dimen138
\l__coffin_top_corner_dim=\dimen139
\l__coffin_scaled_total_height_dim=\dimen140
\l__coffin_scaled_width_dim=\dimen141
L3 Module: l3luatex 2016/03/26 v6465 L3 Experimental LuaTeX-specific functions
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3xdvipdfmx.def
File: l3xdvidpfmx.def 2016/03/26 v6465 L3 Experimental driver: xdvipdfmx
\l__driver_tmp_box=\box45
))
(/usr/share/texlive/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
Package: xparse 2016/05/18 v6512 L3 Experimental document command parser
\l__xparse_current_arg_int=\count132
\l__xparse_m_args_int=\count133
\l__xparse_mandatory_args_int=\count134
\l__xparse_processor_int=\count135
\l__xparse_v_nesting_int=\count136
)
Package: fontspec 2016/02/01 v2.5a Font selection for XeLaTeX and LuaLaTeX
(/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty
Package: fontspec-xetex 2016/02/01 v2.5a Font selection for XeLaTeX and LuaLaTe
X
\l_fontspec_script_int=\count137
\l_fontspec_language_int=\count138
\l_fontspec_strnum_int=\count139
\l__fontspec_tmpa_dim=\dimen142
\l__fontspec_tmpb_dim=\dimen143
\l__fontspec_tmpc_dim=\dimen144
\g__file_internal_ior=\read2
(/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2017/04/05 v2.0i Standard LaTeX package
(/usr/share/texlive/texmf-dist/tex/latex/euenc/eu1enc.def
File: eu1enc.def 2010/05/27 v0.1h Experimental Unicode font encodings
)
LaTeX Font Info: Try loading font information for EU1+lmr on input line 105.
(/usr/share/texlive/texmf-dist/tex/latex/euenc/eu1lmr.fd
File: eu1lmr.fd 2009/10/30 v1.6 Font defs for Latin Modern
))
(/usr/share/texlive/texmf-dist/tex/xelatex/xunicode/xunicode.sty
File: xunicode.sty 2011/09/09 v0.981 provides access to latin accents and many
other characters in Unicode lower plane
(/usr/share/texlive/texmf-dist/tex/latex/tipa/t3enc.def
File: t3enc.def 2001/12/31 T3 encoding
LaTeX Font Info: Try loading font information for EU1+lmss on input line 357
.
(/usr/share/texlive/texmf-dist/tex/latex/euenc/eu1lmss.fd
File: eu1lmss.fd 2009/10/30 v1.6 Font defs for Latin Modern
))
\tipaTiiicode=\count140
\tipasavetokens=\toks16
\tipachecktokens=\toks17
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
Package: graphicx 2014/10/28 v1.0g Enhanced LaTeX Graphics (DPC,SPQR)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
Package: graphics 2016/05/09 v1.0r Standard LaTeX Graphics (DPC,SPQR)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty
Package: trig 2016/01/03 v1.10 sin cos tan (DPC)
)
(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg
File: graphics.cfg 2016/01/02 v1.10 sample graphics configuration
)
Package graphics Info: Driver file: xetex.def on input line 96.
)
\Gin@req@height=\dimen145
\Gin@req@width=\dimen146
))
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \__fontspec_post_arg:w with sig. 'mmO{}' on line 353.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \fontspec with sig. 'om' on line 355.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \setmainfont with sig. 'om' on line 365.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \setsansfont with sig. 'om' on line 375.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \setmonofont with sig. 'om' on line 385.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \setmathrm with sig. 'om' on line 399.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \setboldmathrm with sig. 'om' on line 407.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \setmathsf with sig. 'om' on line 415.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \setmathtt with sig. 'om' on line 423.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \newfontfamily with sig. 'mom' on line 437.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \newfontface with sig. 'mom' on line 453.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \defaultfontfeatures with sig. 't+om' on line 467.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \addfontfeatures with sig. 'm' on line 529.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \newfontfeature with sig. 'mm' on line 540.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \newAATfeature with sig. 'mmmm' on line 548.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \newopentypefeature with sig. 'mmm' on line 556.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \aliasfontfeature with sig. 'mm' on line 577.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \aliasfontfeatureoption with sig. 'mmm' on line 586.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \newfontscript with sig. 'mm' on line 590.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \newfontlanguage with sig. 'mm' on line 594.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \DeclareFontsExtensions with sig. 'm' on line 599.
.................................................
\l__fontspec_tmp_int=\count141
(/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.cfg)
LaTeX Info: Redefining \itshape on input line 2705.
LaTeX Info: Redefining \slshape on input line 2710.
LaTeX Info: Redefining \scshape on input line 2715.
LaTeX Info: Redefining \upshape on input line 2720.
\l__fontspec_em_int=\count142
\l__fontspec_emdef_int=\count143
LaTeX Info: Redefining \em on input line 2736.
LaTeX Info: Redefining \emph on input line 2742.
LaTeX Info: Redefining \- on input line 2746.
.................................................
. LaTeX info: "xparse/redefine-command"
.
. Redefining command \oldstylenums with sig. 'm' on line 2841.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \liningnums with sig. 'm' on line 2845.
.................................................
))
(/usr/share/texlive/texmf-dist/tex/latex/xltxtra/xltxtra.sty
Package: xltxtra 2016/01/21 v0.6 Improvements for the "XeLaTeX" format
(/usr/share/texlive/texmf-dist/tex/latex/realscripts/realscripts.sty
Package: realscripts 2016/02/13 v0.3d Access OpenType subscripts and superscrip
ts
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \fakesubscript with sig. 'm' on line 19.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \fakesuperscript with sig. 'm' on line 22.
.................................................
.................................................
. LaTeX info: "xparse/redefine-command"
.
. Redefining command \textsubscript with sig. 's' on line 25.
.................................................
.................................................
. LaTeX info: "xparse/redefine-command"
.
. Redefining command \textsuperscript with sig. 's' on line 28.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \realsubscript with sig. 'm' on line 45.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \realsuperscript with sig. 'm' on line 60.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \textsubsuperscript with sig. 'sO{l}mm' on line 138.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \textsupersubscript with sig. 'sO{l}mm' on line 143.
.................................................
\subsupersep=\dimen147
)
(/usr/share/texlive/texmf-dist/tex/latex/metalogo/metalogo.sty
Package: metalogo 2010/05/29 v0.12 Extended TeX logo macros
\xl@everylogo=\toks18
\xl@@everylogo=\toks19
LaTeX Info: Redefining \TeX on input line 193.
LaTeX Info: Redefining \LaTeX on input line 202.
LaTeX Info: Redefining \LaTeXe on input line 219.
)
\l__xetex_show_hyphens_wrapping_box=\box46
\l__xetex_show_hyphens_temp_box=\box47
\l__xetex_show_hyphens_final_box=\box48
\g__xetex_show_hyphens_word_box=\box49
)
(/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty
Package: geometry 2010/09/12 v5.6 Page Geometry
\Gm@cnth=\count144
\Gm@cntv=\count145
\c@Gm@tempcnt=\count146
\Gm@bindingoffset=\dimen148
\Gm@wd@mp=\dimen149
\Gm@odd@mp=\dimen150
\Gm@even@mp=\dimen151
\Gm@layoutwidth=\dimen152
\Gm@layoutheight=\dimen153
\Gm@layouthoffset=\dimen154
\Gm@layoutvoffset=\dimen155
\Gm@dimlist=\toks20
)
\g__fontspec_family_SourceHanSerifCN_int=\count147
.................................................
. fontspec info: "no-font-shape"
.
. Could not resolve font Source Han Serif CN/I (it probably doesn't exist).
.................................................
.................................................
. fontspec info: "defining-font"
.
. Font family 'SourceHanSerifCN(0)' created for font 'Source Han Serif CN'
. with options [Ligatures=TeX].
.
. This font family consists of the following NFSS series/shapes:
. - 'normal' (m/n) with NFSS spec.: <->"Source Han Serif
. CN/OT:script=latn;language=DFLT;mapping=tex-text;"
. - 'small caps' (m/sc) with NFSS spec.: - 'bold' (bx/n) with NFSS spec.:
. <->"Source Han Serif CN/B/OT:script=latn;language=DFLT;mapping=tex-text;"
. - 'bold small caps' (bx/sc) with NFSS spec.: - 'bold italic' (bx/it) with
. NFSS spec.: <->"Source Han Serif
. CN/BI/OT:script=latn;language=DFLT;mapping=tex-text;"
. - 'bold italic small caps' (bx/itsc) with NFSS spec.:
.................................................
(./GeekApkSpecShort.aux)
\openout1 = `GeekApkSpecShort.aux'.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 72.
LaTeX Font Info: ... okay on input line 72.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 72.
LaTeX Font Info: ... okay on input line 72.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 72.
LaTeX Font Info: ... okay on input line 72.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 72.
LaTeX Font Info: ... okay on input line 72.
LaTeX Font Info: Checking defaults for TU/lmr/m/n on input line 72.
LaTeX Font Info: ... okay on input line 72.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 72.
LaTeX Font Info: ... okay on input line 72.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 72.
LaTeX Font Info: ... okay on input line 72.
LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 72.
LaTeX Font Info: ... okay on input line 72.
LaTeX Font Info: Checking defaults for PU/pdf/m/n on input line 72.
LaTeX Font Info: ... okay on input line 72.
LaTeX Font Info: Checking defaults for EU1/lmr/m/n on input line 72.
LaTeX Font Info: ... okay on input line 72.
LaTeX Font Info: Checking defaults for T3/cmr/m/n on input line 72.
LaTeX Font Info: Try loading font information for T3+cmr on input line 72.
(/usr/share/texlive/texmf-dist/tex/latex/tipa/t3cmr.fd
File: t3cmr.fd 2001/12/31 TIPA font definitions
)
LaTeX Font Info: ... okay on input line 72.
\AtBeginShipoutBox=\box50
Package hyperref Info: Link coloring ON on input line 72.
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty
Package: nameref 2016/05/21 v2.44 Cross-referencing by name of section
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/gettitlestring.sty
Package: gettitlestring 2016/05/16 v1.5 Cleanup title references (HO)
)
\c@section@level=\count148
)
LaTeX Info: Redefining \ref on input line 72.
LaTeX Info: Redefining \pageref on input line 72.
LaTeX Info: Redefining \nameref on input line 72.
(./GeekApkSpecShort.out) (./GeekApkSpecShort.out)
\@outlinefile=\write4
\openout4 = `GeekApkSpecShort.out'.
\c@lstlisting=\count149
*geometry* driver: auto-detecting
*geometry* detected driver: xetex
*geometry* verbose mode - [ preamble ] result:
* driver: xetex
* paper: a4paper
* layout: <same size as paper>
* layoutoffset:(h,v)=(0.0pt,0.0pt)
* modes:
* h-part:(L,W,R)=(90.3375pt, 416.83289pt, 90.3375pt)
* v-part:(T,H,B)=(72.26999pt, 700.50687pt, 72.26999pt)
* \paperwidth=597.50787pt
* \paperheight=845.04684pt
* \textwidth=416.83289pt
* \textheight=700.50687pt
* \oddsidemargin=18.0675pt
* \evensidemargin=18.0675pt
* \topmargin=-37.0pt
* \headheight=12.0pt
* \headsep=25.0pt
* \topskip=11.0pt
* \footskip=30.0pt
* \marginparwidth=50.0pt
* \marginparsep=10.0pt
* \columnsep=10.0pt
* \skip\footins=10.0pt plus 4.0pt minus 2.0pt
* \hoffset=0.0pt
* \voffset=0.0pt
* \mag=1000
* \@twocolumnfalse
* \@twosidefalse
* \@mparswitchfalse
* \@reversemarginfalse
* (1in=72.27pt=25.4mm, 1cm=28.453pt)
LaTeX Font Info: Try loading font information for OT1+lmr on input line 75.
(/usr/share/texlive/texmf-dist/tex/latex/lm/ot1lmr.fd
File: ot1lmr.fd 2009/10/30 v1.6 Font defs for Latin Modern
)
LaTeX Font Info: Try loading font information for OML+lmm on input line 75.
(/usr/share/texlive/texmf-dist/tex/latex/lm/omllmm.fd
File: omllmm.fd 2009/10/30 v1.6 Font defs for Latin Modern
)
LaTeX Font Info: Try loading font information for OMS+lmsy on input line 75.
(/usr/share/texlive/texmf-dist/tex/latex/lm/omslmsy.fd
File: omslmsy.fd 2009/10/30 v1.6 Font defs for Latin Modern
)
LaTeX Font Info: Try loading font information for OMX+lmex on input line 75.
(/usr/share/texlive/texmf-dist/tex/latex/lm/omxlmex.fd
File: omxlmex.fd 2009/10/30 v1.6 Font defs for Latin Modern
)
LaTeX Font Info: External font `lmex10' loaded for size
(Font) <12> on input line 75.
LaTeX Font Info: External font `lmex10' loaded for size
(Font) <8> on input line 75.
LaTeX Font Info: External font `lmex10' loaded for size
(Font) <6> on input line 75.
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/se-ascii-print.def
File: se-ascii-print.def 2016/05/16 v1.11 stringenc: Printable ASCII characters
)
[1
] (./GeekApkSpecShort.toc
LaTeX Font Info: External font `lmex10' loaded for size
(Font) <10.95> on input line 2.
)
\tf@toc=\write5
\openout5 = `GeekApkSpecShort.toc'.
[2] [3] [4] [5]
LaTeX Font Info: Try loading font information for EU1+lmtt on input line 321
.
(/usr/share/texlive/texmf-dist/tex/latex/euenc/eu1lmtt.fd
File: eu1lmtt.fd 2009/10/30 v1.6 Font defs for Latin Modern
) [6] [7] [8]
Package atveryend Info: Empty hook `BeforeClearDocument' on input line 531.
Package atveryend Info: Empty hook `AfterLastShipout' on input line 531.
(./GeekApkSpecShort.aux)
Package atveryend Info: Empty hook `AtVeryEndDocument' on input line 531.
Package atveryend Info: Empty hook `AtEndAfterFileList' on input line 531.
Package atveryend Info: Empty hook `AtVeryVeryEnd' on input line 531.
)
Here is how much of TeX's memory you used:
22805 strings out of 494993
406937 string characters out of 6178688
438401 words of memory out of 5000000
26483 multiletter control sequences out of 15000+600000
21764 words of font info for 47 fonts, out of 8000000 for 9000
14 hyphenation exceptions out of 8191
46i,6n,61p,10356b,385s stack positions out of 5000i,500n,10000p,200000b,80000s
Output written on GeekApkSpecShort.pdf (8 pages).
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
% -*- coding: utf8 -*-
% vim: set fileencoding=utf8 :
% GeekApk basic design document
% License: CC-BY
% Author: duangsuse
% Toolchain: XeLaTeX
\documentclass[a4paper, 11pt]{article}
% XeTex is utf8 based
%\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
% Hyperlinks
\usepackage[colorlinks]{hyperref}
% Highlight
\usepackage{xcolor}
\usepackage{listings}
% Tightlists
\newcommand{\tightlist}{
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
% Pandoc highlight
\usepackage{fancyvrb}
\DefineVerbatimEnvironment{Highlighting}{Verbatim}{commandchars=\\\{\}}
% Shaded
\newenvironment{Shaded}{}{}
\newcommand{\KeywordTok}[1]{\textcolor[rgb]{0.00,0.44,0.13}{\textbf{{#1}}}}
\newcommand{\DataTypeTok}[1]{\textcolor[rgb]{0.56,0.13,0.00}{{#1}}}
\newcommand{\DecValTok}[1]{\textcolor[rgb]{0.25,0.63,0.44}{{#1}}}
\newcommand{\BaseNTok}[1]{\textcolor[rgb]{0.25,0.63,0.44}{{#1}}}
\newcommand{\FloatTok}[1]{\textcolor[rgb]{0.25,0.63,0.44}{{#1}}}
\newcommand{\CharTok}[1]{\textcolor[rgb]{0.25,0.44,0.63}{{#1}}}
\newcommand{\StringTok}[1]{\textcolor[rgb]{0.25,0.44,0.63}{{#1}}}
\newcommand{\CommentTok}[1]{\textcolor[rgb]{0.38,0.63,0.69}{\textit{{#1}}}}
\newcommand{\OtherTok}[1]{\textcolor[rgb]{0.00,0.44,0.13}{{#1}}}
\newcommand{\AlertTok}[1]{\textcolor[rgb]{1.00,0.00,0.00}{\textbf{{#1}}}}
\newcommand{\FunctionTok}[1]{\textcolor[rgb]{0.02,0.16,0.49}{{#1}}}
\newcommand{\RegionMarkerTok}[1]{{#1}}
\newcommand{\ErrorTok}[1]{\textcolor[rgb]{1.00,0.00,0.00}{\textbf{{#1}}}}
\newcommand{\NormalTok}[1]{{#1}}
% CJK Support
\usepackage{fontspec, xunicode, xltxtra}
% CJK style
\usepackage[top = 1in, bottom = 1in, left = 1.25in, right = 1.25in]{geometry}
\XeTeXlinebreaklocale "zh"
\XeTeXlinebreakskip = 0pt plus 1pt minus 0.1pt
\renewcommand{\baselinestretch}{1.25}
\parindent 2em
% Set main font
\setmainfont{Source Han Serif CN}
% Article format
\title{GeekApk 标准参考文档}
\author{duangsuse}
% Main document
\begin{document}
\maketitle
\section{GeekApk 文档引子}
\subsection{文档简介}
GeekApk 是一个曾经酷友(酷安用户) 们自发组织创立的\textbf{开源 Android 应用社区},它崇尚自由、设计时融合了\textbf{酷安、GooglePlay、GitHub、ApkPure、ApkMirror、F-Droid} 的优秀设计于一体,目标是成为一个能\textbf{替代酷安的应用市场兼社区}
\subsection{GeekApk 特性}
\begin{itemize}
\item \textbf{熟悉的模型:} 用户、分类、应用、更新、评论,通知、星标、跟随、时间线
\item \textbf{开放:} 完全以 AGPL-3.0 开放源代码,API 不需要验证客户端口令、开放数据库
\item \textbf{可扩展:} 开放的 API,简易 JavaScript 插件系统,为插件支持优化的前后端设计
\item \textbf{自由:} 不需要电话验证、发布软件不需要「开发者验证」证明你是开发者!一切和 GitHub 一样简单
\item \textbf{Geek:} 简单的 Web 后端实现和 API,多样的客户端、自动脚本,时间线模式、软件包不限于 Apks
\end{itemize}
\subsection{许可证}
本文档使用 \textbf{CC-BY} 作为许可证,访问 \textbf{https://creativecommons.org/licenses/by/4.0/deed.zh}\\
GeekApk 应使用 \textbf{GNU Affero 通用公共许可证}(GNU AGPL) 3.0 或以上版本许可
\subsection{文档内容列表}
\begin{itemize}
\item 项目风格模板
\item 模型列表
\item API 操作枚举
\end{itemize}
\pagebreak % Table of contents page
\tableofcontents
\pagebreak % 项目风格模板
\section{GeekApk 项目风格模板}
\begin{quote}
适用于 GitApk,也可以在微小改动后适配于 GeekApk 项目\\
GitApk 不同于很多其他的 Web 应用程序,它不是单独的后端服务,也不是由服务器渲染的网站,也没法变成纯静态网站 \\
GitApk 渲染器可以使用 HuGo、Hexo、Jekyll 等静态网站框架完成,也可以使用手写模板生成器完成
\end{quote}
\bigskip
\subsection{相对于项目根目录的文件}
\begin{itemize}
\item \textbf{.editorconfig} 每个项目都有对应的编辑器风格配置文件
\item \textbf{.gitignore} 使用 Git 进行源代码管理的项目都要添加 gitignore
\item \textbf{.travis.yml} GeekApk 项目一般使用也只使用一个 CI 服务
\item \textbf{CODE\_OF\_CONDUCT.md} 参与者公约,要包含中文版的链接
\item \textbf{参与者公约.md} 参与者公约,中文版本
\item \textbf{.github/CONTRIBUTING.md} GitHub 贡献指南
\item \textbf{.github/ISSUE\_TEMPLATE.md} GitHub Issue 模板
\item \textbf{.github/PULL\_REQUEST\_TEMPLATE.md} GitHub PR 模板
\item \textbf{LICENSE} 项目许可证
\item \textbf{README.md} 项目 README
\item \textbf{\_config.yml} GitHub Pages 配置
\end{itemize}
\bigskip
\subsection{文件夹}
\begin{itemize}
\item \textbf{bitmaps} GeekApk 徽标目录
\item \textbf{documents} GeekApk 文档目录
\item \textbf{easter} 欢乐打卡墙目录
\item \textbf{gitapk} GitApk 渲染器工程
\item \textbf{gitapk/templates} GitApk cHTML 模板
\item \textbf{gitapk/js} GitApk ES6 脚本
\item \textbf{gitapk/src} GitApk 源代码
\end{itemize}
\pagebreak % 数据库模型
\section{GeekApk 数据库模型}
\subsection{用户(可以星标应用、可以跟随用户,以被跟随数或创建时间排序)}
\begin{tabular}{|c|c|c|c|}
\hline
全局名称 & 类型 & 格式 & 解释 \\
\hline
uid & Integer & Int32 & 用户 ID \\
\hline
username & VarChar & String & 用户简单名 \\
\hline
nickname & VarChar & String & 用户名 \\
\hline
avatar & VarChar & String & 头像地址 \\
\hline
bio & Text & String & 自我介绍 \\
\hline
blocked & Boolean & Bool & 是否被屏蔽 \\
\hline
shash & VarChar & String & 分发密码 \\
\hline
hash & VarChar & String & 密码 \\
\hline
created & TimeStamp & Date & 创建时间 \\
\hline
\end{tabular}
\subsection{分类}
\begin{tabular}{|c|c|c|c|}
\hline
全局名称 & 类型 & 格式 & 解释 \\
\hline
tid & SmallInt & Int16 & 分类 ID \\
\hline
name & Text & String & 分类名 \\
\hline
\end{tabular}
\subsection{应用(可以按照星标数、评论数、更新时间、创建时间排序)}
\begin{tabular}{|c|c|c|c|}
\hline
全局名称 & 类型 & 格式 & 解释 \\
\hline
aid & Integer & Int32 & 应用 ID \\
\hline
package & VarChar & String & 应用包名,唯一性 \\
\hline
author & Reference(uid) & Int32 & 应用创建者 \\
\hline
category & Reference(tid) & Int16 & 应用分类 \\
\hline
name & Text & String & 应用名 \\
\hline
icon & VarChar & String & 应用图标链接 \\
\hline
readme & Text & String & Markdown 自述文本 \\
\hline
screenshots & VarChar & String & 截图 \\
\hline
created & TimeStamp & Date & 创建时间 \\
\hline
updated & TimeStamp & Date & 更新时间 \\
\hline
latest & SmallInt & Int16 & 最新版本号 \\
\hline
\end{tabular}
\subsection{更新(附加于应用)}
\begin{tabular}{|c|c|c|c|}
\hline
全局名称 & 类型 & 格式 & 解释 \\
\hline
for & Reference(aid) & Int32 & 所属应用 \\
\hline
reversion & SmallInt & Int16 & 修订号 \\
\hline
version & VarChar & String & 版本号 \\
\hline
updates & Text & String & 更新内容 \\
\hline
minsdk & SmallInt & Int16 & 最低 SDK 版本 \\
\hline
install & VarChar & String & 安装 Uri \\
\hline
created & TimeStamp & Date & 创建时间 \\
\hline
\end{tabular}
\subsection{评论(按照创建时间排序,属于用户,附加于应用)}
\begin{tabular}{|c|c|c|c|}
\hline
全局名称 & 类型 & 格式 & 解释 \\
\hline
cid & Integer & Int32 & 评论 ID \\
\hline
author & Reference(uid) & Int32 & 评论作者 \\
\hline
app & Reference(aid) & Int32 & 评论目标应用 \\
\hline
reply & Reference(cid)? & Int32 & 回复评论 \\
\hline
content & Text & String & 内容 \\
\hline
created & TimeStamp & Date & 创建时间 \\
\hline
updated & TimeStamp & Date & 更新时间 \\
\hline
replies & Integer & Int32 & 回复数 \\
\hline
\end{tabular}
\subsection{时间线}
\begin{tabular}{|c|c|c|c|}
\hline
全局名称 & 类型 & 格式 & 解释 \\
\hline
owner & Integer & Int32 & 时间线所属人 \\
\hline
type & SmallInt & Int16 & 时间线类型 \\
\hline
data & Integer & Int32 & 时间线数据 \\
\hline
created & TimeStamp & Date & 时间线发布(创建)时间 \\
\hline
\end{tabular}
\subsection{通知}
\begin{tabular}{|c|c|c|c|}
\hline
全局名称 & 类型 & 格式 & 解释 \\
\hline
owner & Integer & Int32 & 通知所属人 \\
\hline
type & SmallInt & Int16 & 通知类型 \\
\hline
data & Integer & Int32 & 通知数据 \\
\hline
created & TimeStamp & Date & 通知创建时间 \\
\hline
read & Boolean & Bool & 已读标记 \\
\hline
\end{tabular}
\pagebreak % API 操作枚举
%% Generated by pandoc 2.0.6
\section{HTTPS API 枚举}
\begin{quote}
由 \textbf{duangsuse} 创建于 \textbf{2018.7.28},版本 \textbf{0.1.0}
\end{quote}
\hypertarget{misc-apis}{%
\subsection{Misc APIs}\label{misc-apis}}
\begin{itemize}
\tightlist
\item
获得服务程序版本() -\textgreater{} 文本
\item
获得服务程序描述() -\textgreater{} 文本
\item
获得主页() -\textgreater{} 静态 HTML
\end{itemize}
\hypertarget{admin-apisux53eaux6709-doge-ux53efux4ee5ux4f7fux7528}{%
\subsection{Admin APIs(只有 doge
可以使用)}\label{admin-apisux53eaux6709-doge-ux53efux4ee5ux4f7fux7528}}
\begin{itemize}
\tightlist
\item
创建用户(body = inital\_username) -\textgreater{}
\texttt{uid:rhash}
\item
重置分发密码(uid, body = new\_rhash) -\textgreater{}
\texttt{old\ rhash}
\item
删除用户(uid) -\textgreater{} \texttt{uid}
\item
改变用户屏蔽状态(uid, new\_state) -\textgreater{} \texttt{old\ state}
\item
创建分类(body = name) -\textgreater{} \texttt{tid}
\item
修改分类名(tid, body = new\_name) -\textgreater{}
\texttt{tid:old\ name}
\item
删除分类(tid) -\textgreater{} \texttt{tid}
\item
删除应用(aid) -\textgreater{} \texttt{aid}
\item
修改应用分类(aid, new\_category) -\textgreater{}
\texttt{aid:old\ category}
\item
转移应用所有权(aid, new\_owner) -\textgreater{}
\texttt{aid:old\ owner}
\item
删除应用更新(aid, reversion) -\textgreater{} \texttt{aid:reversion}
\item
删除评论(cid) -\textgreater{} \texttt{cid:num\ deleted\ subcomments}
\end{itemize}
\hypertarget{category-apis}{%
\subsection{Category APIs}\label{category-apis}}
\begin{itemize}
\tightlist
\item
获取所有分类() -\textgreater{} \texttt{categories\ json\ array}
\item
获得分类名(tid) -\textgreater{} \texttt{name}
\end{itemize}
\hypertarget{user-apis}{%
\subsection{User APIs}\label{user-apis}}
\begin{itemize}
\tightlist
\item
获取用户(uid) -\textgreater{} \texttt{user\ json} \\
可更新属性:\textbf{username、name、avatar、bio}
\item
更新用户属性(uid, attr, body = new\_value) -\textgreater{}
\texttt{attr:old\_value}
\item
更新用户密码(uid, shash, new\_hash) -\textgreater{} \texttt{new\_hash}
\item
检查密码() \\
搜索类型:\textbf{name/username/bio}、排行:\textbf{created/followers}
\item
查找用户(type, sort, body = content) -\textgreater{}
\texttt{paged\ user\ array}
\item
获取用户列表(sort) -\textgreater{} \texttt{paged\ user\ array}
\end{itemize}
\hypertarget{timeline-apis}{%
\subsection{Timeline APIs}\label{timeline-apis}}
\begin{itemize}
\tightlist
\item
获得用户的时间线(uid, only\_type, only\_data) -\textgreater{}
\texttt{paged\ timeline\ array}
\item
获得所有人的时间线(only\_type, only\_data) -\textgreater{}
\texttt{paged\ timeline\ array}
\item
获得一打用户的时间线(uids, only\_type, only\_data) -\textgreater{}
\texttt{paged\ timeline\ array}
\end{itemize}
\hypertarget{notification-apis}{%
\subsection{Notification APIs}\label{notification-apis}}
\begin{itemize}
\tightlist
\item
获得我的活动通知() -\textgreater{} \texttt{notification\ array}
\item
获得我的所有通知() -\textgreater{} \texttt{paged\ notification\ array}
\item
将时间段内通知标为已读(start, end, stat) -\textgreater{}
\texttt{number\ marked\ notifications}
\end{itemize}
\hypertarget{app-apis}{%
\subsection{App APIs}\label{app-apis}}
\begin{itemize}
\item
获取应用(aid) -\textgreater{} \texttt{app} \\
可更新属性:\textbf{package、name、icon、screenshots、readme}
\item
更新应用属性(aid, attr, body = new\_value) -\textgreater{}
\texttt{attr:old\_value}
\item
创建应用(package, category) -\textgreater{} \texttt{aid} \\
类型:\textbf{name/package/icon/readme} \\
排序:\textbf{updated/created/comments/stars}
\item
查找应用(in\_category, body = content, type, sort) -\textgreater{}
\texttt{paged\ app\ array}
\item
根据包名查找应用(package) -\textgreater{} \texttt{aid}
\item
获取应用列表(in\_category, sort) -\textgreater{}
\texttt{paged\ app\ array}
\item
删除应用(aid) -\textgreater{} \texttt{aid}
\item
添加协作者(aid, uid) -\textgreater{} \texttt{aid:collaborators\ num}
\item
移除协作者(aid, uid) -\textgreater{} \texttt{aid:collaborators\ num}
\item
获取应用协作者(aid) -\textgreater{} \texttt{collab\ uid\ list}
\item
获取用户协作的应用(uid) -\textgreater{} \texttt{collab\ aid\ list}
\end{itemize}
\pagebreak
\hypertarget{update-apis}{%
\subsection{Update APIs}\label{update-apis}}
\begin{itemize}
\tightlist
\item
获得应用的所有更新(aid) -\textgreater{} \texttt{update\ list}
\item
获得一打应用的最新修订号(aids) -\textgreater{}
\texttt{reversion\ list}
\item
获取更新(aid, reversion) -\textgreater{} \texttt{update}
\item
创建更新(aid, reversion) -\textgreater{} \texttt{aid:reversion} \\
属性:\textbf{version/install/updates/minsdk}
\item
修改更新属性(aid, reversion, attr, body = new\_value) -\textgreater{}
\texttt{attr:old\_value}
\item
删除更新(aid, reversion) -\textgreater{} \texttt{aid:reversion}
\end{itemize}
\hypertarget{comment-apis}{%
\subsection{Comment APIs}\label{comment-apis}}
\begin{itemize}
\tightlist
\item
搜索评论(in\_app, user, replies\_to, content) -\textgreater{}
\texttt{paged\ comment\ array}
\item
列出评论(aid) -\textgreater{} \texttt{paged\ comment\ array}
\item
列出子评论(cid) -\textgreater{} \texttt{paged\ comment\ array}
\item
列出全站评论(in\_app, user, replies\_to) -\textgreater{}
\texttt{paged\ comment\ array}
\item
创建评论(aid) -\textgreater{} \texttt{aid:uid}
\item
修改评论内容(cid, body = new\_content) -\textgreater{}
\texttt{cid:aid:old\_content}
\item
删除评论(cid) -\textgreater{} \texttt{cid}
\end{itemize}
\hypertarget{follow-apisux90fdux8fd4ux56deux65b0ux72b6ux6001ux6216-id-ux5217ux8868}{%
\subsection{Follow APIs(都返回新状态或 ID
列表)}\label{follow-apisux90fdux8fd4ux56deux65b0ux72b6ux6001ux6216-id-ux5217ux8868}}
\begin{itemize}
\tightlist
\item
跟随用户(uid)
\item
取消跟随用户(uid)
\item
查询用户跟随者(uid)
\item
查询用户跟随的用户列表(uid)
\end{itemize}
\hypertarget{star-apisux90fdux8fd4ux56deux65b0ux72b6ux6001ux6216-id-ux5217ux8868}{%
\subsection{Star APIs(都返回新状态或 ID
列表)}\label{star-apisux90fdux8fd4ux56deux65b0ux72b6ux6001ux6216-id-ux5217ux8868}}
\begin{itemize}
\tightlist
\item
标记应用(aid)
\item
取消标记应用(aid)
\item
查询用户标记的应用(uid)
\item
查询标记应用的用户(aid)
\end{itemize}
%% End - Generated by pandoc 2.0.6
\pagebreak % 完结撒花
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment